|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClientInvoker
Interface to be used for calling on all the different invoker types (LocalClientInvoker and RemoteClientInvoker).
| Method Summary | |
|---|---|
void |
addClientLocator(java.lang.String listenerId,
InvokerLocator locator)
This should be set when want to override the default behavior of automatically getting s suitable locator. |
void |
connect()
connect to the remote invoker |
void |
disconnect()
disconnect from the remote invokere |
InvokerLocator |
getClientLocator(java.lang.String listenerId)
Gets the client locator. |
Marshaller |
getMarshaller()
|
UnMarshaller |
getUnMarshaller()
|
java.lang.Object |
invoke(InvocationRequest in)
transport a request against a remote ServerInvoker |
boolean |
isConnected()
subclasses must provide this method to return true if their remote connection is connected and false if disconnected. |
void |
setMarshaller(Marshaller marshaller)
|
void |
setUnMarshaller(UnMarshaller unmarshaller)
|
| Methods inherited from interface org.jboss.remoting.Invoker |
|---|
getLocator |
| Method Detail |
|---|
void addClientLocator(java.lang.String listenerId,
InvokerLocator locator)
locator - InvokerLocator getClientLocator(java.lang.String listenerId)
java.lang.Object invoke(InvocationRequest in)
throws java.lang.Throwable
in -
java.lang.Throwableboolean isConnected()
void connect()
throws ConnectionFailedException
ConnectionFailedExceptionvoid disconnect()
void setMarshaller(Marshaller marshaller)
Marshaller getMarshaller()
void setUnMarshaller(UnMarshaller unmarshaller)
UnMarshaller getUnMarshaller()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||