|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Client is a convience method for invoking remote methods for a given subsystem
Method Summary | |
void |
addListener(InvokerLocator locator,
String sessionId,
InvokerCallbackHandler callbackHandler)
If the client invoker has a client locator, call it to add the client's callback handler. |
void |
connect(InvokerLocator locator)
|
void |
disconnect(InvokerLocator locator)
|
List |
getCallbacks(InvokerLocator locator,
String sessionId)
|
Object |
invoke(InvocationRequest invocation)
invoke the method remotely |
boolean |
isConnected(InvokerLocator locator)
|
void |
removeListener(InvokerLocator locator,
String sessionId,
InvokerCallbackHandler callbackHandler)
Removes callback handler as a callback listener from the server (and client in the case that it was setup to receive async callbacks). |
Method Detail |
public boolean isConnected(InvokerLocator locator) throws Exception
Exception
public void connect(InvokerLocator locator) throws Exception
Exception
public void disconnect(InvokerLocator locator) throws Exception
Exception
public Object invoke(InvocationRequest invocation) throws Throwable
Throwable
public void addListener(InvokerLocator locator, String sessionId, InvokerCallbackHandler callbackHandler) throws Throwable
callbackHandler
-
Throwable
public void removeListener(InvokerLocator locator, String sessionId, InvokerCallbackHandler callbackHandler) throws Throwable
callbackHandler
-
Throwable
public List getCallbacks(InvokerLocator locator, String sessionId) throws Throwable
Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |