|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.server.invocation.InvocationDispatcher
public class InvocationDispatcher
This class handles remote method invocations on the client-side.
| Constructor Summary | |
|---|---|
InvocationDispatcher()
Constructor for InvocationDispatcher. |
|
| Method Summary | |
|---|---|
java.lang.Object |
dispatchInvocation(VmId vmId,
Connections pool,
CallBackInvokeCommand cmd)
Dispatches the given asynchronous invocation command using the passed in connection pool (which holds connections to a remote server). |
java.lang.Object |
dispatchInvocation(VmId vmId,
Connections pool,
InvokeCommand cmd)
Dispatches the given invocation command using the passed in connection pool (which holds connections to a remote server). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvocationDispatcher()
| Method Detail |
|---|
public java.lang.Object dispatchInvocation(VmId vmId,
Connections pool,
InvokeCommand cmd)
throws java.io.IOException,
java.lang.ClassNotFoundException,
java.lang.Throwable
vmId - the VmId of the stub that is performing the call.pool - Connections to the server to call.cmd - an InvokeCommand representing the remote
method invocation to be performed.
java.io.IOException - if an IO problem occurs while performing this
operation.
java.lang.ClassNotFoundException - if the class of the invocation's return value
could not be found in the deserialization process.
java.lang.Throwable - if the invocation is colocated and an exception is throws by the
colocated call.
public java.lang.Object dispatchInvocation(VmId vmId,
Connections pool,
CallBackInvokeCommand cmd)
throws java.io.IOException,
java.lang.ClassNotFoundException,
ResponseTimeOutException,
java.lang.Throwable
vmId - the VmId of the stub that is performing the call.pool - Connections to the server to call.cmd - an InvokeCommand representing the remote
method invocation to be performed.
java.io.IOException - if an IO problem occurs while performing this
operation.
java.lang.ClassNotFoundException - if the class of the invocation's return value
could not be found in the deserialization process.
ResponseTimeOutException - if no response is received before the time-out
specified by the ubik.rmi.client.callback.timeout property.
java.lang.Throwable - if the invocation is colocated and an exception is throws by the
colocated call.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||