|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuka.karmi.rmi.RemoteSkeleton
Base class for skeleton objects. Skeleton objects unmarshal method
arguments from a ServerConnection and pass them to the
server implementation method. The concrete sub-classes of
RemoteSkeleton are generated by the stub and skeleton
generator. Skeletons are the server-side counterpart to client-side
stubs.
RemoteStub,
doApplicationCall(ServerConnection),
ServerConnection| Constructor Summary | |
RemoteSkeleton()
|
|
| Method Summary | |
abstract void |
doApplicationCall(ServerConnection c)
Dispatches the remotely called method to the server implementation object. |
protected abstract Remote |
getRemoteObject()
|
abstract void |
setRemoteObject(Remote object)
Sets a remote object. |
java.lang.String |
toString()
|
java.lang.String |
toStringMembers()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RemoteSkeleton()
| Method Detail |
public abstract void setRemoteObject(Remote object)
protected abstract Remote getRemoteObject()
public abstract void doApplicationCall(ServerConnection c)
throws java.io.IOException,
java.lang.ClassNotFoundException
Dispatches the remotely called method to the server implementation object. This method is overridden in concrete skeleton classes for remote objects.
This method is called from the remote server reference during the method dispatch process.
Since the concrete skeleton sub-classes are generated by the
stub and skeleton generator, the principal actions that are
performed in a concrete doApplicationCall() method
are given below.
closeReceiveCall() is called on the connection
to indicate that the call is unmarshaled completely and
processing will start immediately. openSendResult() is called on the connection
object to indicate either the successful or exceptional
completion of the server implementation method. doApplicationCall() method returns to its caller
for cleaning up the connection.
java.io.IOException
java.lang.ClassNotFoundExceptionRemoteServerRef.doApplicationCall(ServerConnection),
ServerConnection,
ServerConnection.closeReceiveCall(),
ServerConnection.openSendResult(boolean)public java.lang.String toStringMembers()
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||