APIdia Launch Partner
Top Description Methods
sun.rmi.server

public Interface Dispatcher

Known Direct Implementers
sun.rmi.server.UnicastServerRef
Annotations
@SuppressWarnings:deprecation
Imports
java.rmi.Remote, java.rmi.server.RemoteCall

The Dispatcher interface allows the transport to make the upcall to the server side remote reference.

Method Summary

Modifier and TypeMethod and Description
public void
dispatch(Remote
the target remote object for the call
obj
,
RemoteCall
the "remote call" from which operation and method arguments can be obtained.
call
)
References Deprecated RemoteCall is deprecated or references (maybe indirectly) at least one deprecated element.

Call to dispatch to the remote object (on the server side).

Method Detail

dispatchback to summary
public void dispatch(Remote obj, RemoteCall call) throws IOException

References Deprecated

RemoteCall is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Call to dispatch to the remote object (on the server side). The up-call to the server and the marshaling of return result (or exception) should be handled before returning from this method.

Parameters
obj:Remote

the target remote object for the call

call:RemoteCall

the "remote call" from which operation and method arguments can be obtained.

Exceptions
RemoteException:
unable to marshal return result