dispatch
public void dispatch(Remote obj,
RemoteCall call)
throws IOException
override dispatch to use a specific thread factory
obj
- the remote objectcall
- the remote call on this object
done
public void done(RemoteCall call)
exportObject
public Remote exportObject(Remote obj,
Object object,
int localId)
throws RemoteException
obj
- object
- localId
-
getClientRef
protected RemoteRef getClientRef()
use a different kind of RemoteRef instance. This method is used by the
remote client to get the Client reference
- remote Ref the remote reference
getRefClass
public String getRefClass(ObjectOutput out)
get the ref class name
- String the class name
invoke
public Object invoke(Remote obj,
Method method,
Object[] params,
long opnum)
invoke
public void invoke(RemoteCall call)
newCall
public RemoteCall newCall(RemoteObject obj,
Operation[] op,
int opnum,
long hash)
readExternal
public void readExternal(ObjectInput in)
Methods which should have come from sun.rmi.server.UnicastServerRef
remoteEquals
public boolean remoteEquals(RemoteRef ref)
remoteHashCode
public int remoteHashCode()
remoteToString
public String remoteToString()
unmarshalCustomCallData
protected void unmarshalCustomCallData(ObjectInput in)
throws IOException,
ClassNotFoundException
override unmarshalCustomCallData to receive and establish contexts sent
by the client
in
- the object input
writeExternal
public void writeExternal(ObjectOutput out)