|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface to be used for calling on all the different invoker types (LocalClientInvoker and RemoteClientInvoker).
| Method Summary | |
void |
connect()
connect to the remote invoker |
void |
disconnect()
disconnect from the remote invokere |
InvokerLocator |
getClientLocator()
Gets the client locator. |
Marshaller |
getMarshaller()
|
UnMarshaller |
getUnMarshaller()
|
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 |
setClientLocator(InvokerLocator locator)
This should be set when want to override the default behavior of automatically getting s suitable locator. |
void |
setMarshaller(Marshaller marshaller)
|
void |
setUnMarshaller(UnMarshaller unmarshaller)
|
| Methods inherited from interface org.jboss.remoting.Invoker |
getLocator |
| Method Detail |
public void setClientLocator(InvokerLocator locator)
locator - public InvokerLocator getClientLocator()
public Object invoke(InvocationRequest in)
throws Throwable
in -
Throwablepublic boolean isConnected()
public void connect()
throws ConnectionFailedException
ConnectionFailedExceptionpublic void disconnect()
public void setMarshaller(Marshaller marshaller)
public Marshaller getMarshaller()
public void setUnMarshaller(UnMarshaller unmarshaller)
public UnMarshaller getUnMarshaller()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||