|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.root1.simon.SimonRemoteInstance
public class SimonRemoteInstance
This class is used by an endpoint if a remote object has to be "transferred" to the opposite endpoint. In such case, only the interface name is relevant. So an instance of this class is transferred instead of the "real" implementation of the remote object.
Constructor Summary | |
---|---|
protected |
SimonRemoteInstance(org.apache.mina.core.session.IoSession session,
java.lang.Object remoteObject)
Creates a new SimonRemoteInstance transport object |
Method Summary | |
---|---|
protected java.lang.String |
getId()
Returns an unique identifier for this remote object. |
protected java.util.List<java.lang.String> |
getInterfaceNames()
Returns the name of the interface of the remote object's implementation |
protected java.lang.String |
getRemoteObjectName()
Returns the proxy's remote object name in the related lookup table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SimonRemoteInstance(org.apache.mina.core.session.IoSession session, java.lang.Object remoteObject)
session
- the IoSession
to which the remote object is related toremoteObject
- the remote object for which we generate this transport object forMethod Detail |
---|
protected java.util.List<java.lang.String> getInterfaceNames()
protected java.lang.String getId()
protected java.lang.String getRemoteObjectName()
ProcessMessageRunnable.processEquals()
to get an instance of this object from lookup table for comparison.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |