com.ibm.ulc.comm
Interface ICallable

All Known Implementing Classes:
com.ibm.ulc.application.ULCProxy, com.ibm.ulc.application.ULCContext, com.ibm.ulc.ui.UIProxy

public interface ICallable

Interface for dispatching or handling a request. There is an object space per connection and a request is therefore executed in the context of a connection.

See Also:
ORBConnection

Method Summary
 void free()
          Frees this object.
 int getId()
          Returns the registered id for this proxy or -1 if unregistered
 void handleRequest(ORBConnection conn, java.lang.String request, Anything args)
          The Proxy has sent a request to this object.
 

Method Detail

free

public void free()
Frees this object. This is called when an object's object space is disposed.

getId

public int getId()
Returns the registered id for this proxy or -1 if unregistered

handleRequest

public void handleRequest(ORBConnection conn,
                          java.lang.String request,
                          Anything args)
The Proxy has sent a request to this object. Do all processing necessary. If this object does not handle this request call super.handleRequest.
Parameters:
conn - ORBConnection The connection on which the reply should be sent.
request - String The string that identifies this request.
args - Anything The arguments associated with this request.