|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuka.karmi.rmi.server.RemoteServerRef
uka.karmi.rmi.server.UnicastRemoteServerRef
UnicastRemoteServerRef is a remote server reference for unicast remote objects.
| Field Summary | |
Remote |
object
The exported object. |
private RemoteSkeleton |
skeleton
A skeleton object for the local side. |
private RemoteStub |
stub
A stub object for this remote object. |
| Fields inherited from class uka.karmi.rmi.server.RemoteServerRef |
callCounter, ep, objectId, objectId2 |
| Constructor Summary | |
UnicastRemoteServerRef(Remote object,
int exportId,
int objectId)
|
|
| Method Summary | |
static RemoteSkeleton |
createProxySkeletonFor(RemoteStub stub)
|
void |
doApplicationCall(ServerConnection c)
Method dispatch for unicast remote servers. |
RemoteStub |
getStub()
Returns a stub object for the remote object connected to this object. |
int |
hashCode()
|
boolean |
remoteEquals(RemoteStub obj)
Determines if a stub object references this server object. |
void |
synchronize(RMACallback cb)
|
java.lang.String |
toStringMembers()
|
void |
unreferenced()
Called whenever the last remote reference to this server implementation is garbage collected. |
| Methods inherited from class uka.karmi.rmi.server.RemoteServerRef |
createSkeletonFor, createStubFor, decCallCounter, getClientHost, incCallCounter, newInstanceRelative, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
private transient RemoteStub stub
private RemoteSkeleton skeleton
public Remote object
| Constructor Detail |
public UnicastRemoteServerRef(Remote object,
int exportId,
int objectId)
throws RemoteException
| Method Detail |
public int hashCode()
public boolean remoteEquals(RemoteStub obj)
RemoteServerRef
remoteEquals in class RemoteServerRef
public static RemoteSkeleton createProxySkeletonFor(RemoteStub stub)
throws RemoteException
RemoteException
public void doApplicationCall(ServerConnection c)
throws java.io.IOException,
java.lang.ClassNotFoundException
Method dispatch for unicast remote servers. This methods
simply forwards all arguments to the
doApplicationCall() method of the single skeleton
object associated with this remote server reference.
doApplicationCall in class RemoteServerRefc - the connection, the call came in
java.io.IOException
java.lang.ClassNotFoundExceptionRemoteServerRef.doApplicationCall(ServerConnection),
RemoteSkeleton.doApplicationCall(ServerConnection)public void unreferenced()
RemoteServerRef
unreferenced in class RemoteServerRefRemoteServerRef.unreferenced()public RemoteStub getStub()
getStub in class RemoteServerRef
public void synchronize(RMACallback cb)
throws java.lang.Throwable
synchronize in class RemoteServerRefjava.lang.Throwablepublic java.lang.String toStringMembers()
toStringMembers in class RemoteServerRef
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||