On Jan 8, 2007, at 12:45 PM, Scott Kurz wrote:

For awhile I had assumed the methods involved in invoking a service w/ a callback would always have void return types, such as the example in the
Java C&I spec:

public interface MyService {
   public void someMethod(String arg);
}

public interface MyServiceCallback {
   public void receiveResult(String result);
}

I'd assumed they'd always be defined like this so each direction could be
implemented with a non-blocking call.

However, when pressed I couldn't find anywhere in the specs which said this had to be the case. The specs don't seem to disallow passing return data in
either
direction of the bi-directional service.

In the spec we decided to only have void return types for non- blocking operations for the first version.

Jim



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to