|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.execution.remote.RemoteObjectSkeleton
This is the parent of the hierarchy of skeletons -- objects to which remote method invocations are delegated and which then delegate the method implementations to their delegate objects.
| Field Summary | |
|---|---|
protected java.lang.Object |
delegate
the object for which this skeleton is providing remote execution semantics |
protected ISession |
sessionContext
the session context of a remote object is (should be) the same as that of the factory that created the remote object |
protected java.lang.Integer |
uniqueId
a unique identifier used to reference this skeleton (and hence the target object) |
| Constructor Summary | |
|---|---|
protected |
RemoteObjectSkeleton()
|
|
RemoteObjectSkeleton(java.lang.Integer id)
Create a skeleton, associating the specified id with the instance (and hence the target object). |
| Method Summary | |
|---|---|
ReturnData |
delegateRemoteCall(java.lang.Class[] argTypes,
java.lang.Object[] callArgs,
java.lang.String call)
|
java.lang.Object |
getDelegate()
|
ISession |
getSessionContext()
|
java.lang.Integer |
getUniqueId()
|
void |
init()
|
void |
setDelegate(java.lang.Object delegate)
|
void |
setId(java.lang.Integer id)
Set the unique id that identifies this instance (and hence the target object). |
void |
setSessionContext(ISession session)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.Integer uniqueId
protected ISession sessionContext
protected java.lang.Object delegate
| Constructor Detail |
protected RemoteObjectSkeleton()
public RemoteObjectSkeleton(java.lang.Integer id)
id - | Method Detail |
public void setId(java.lang.Integer id)
id - public java.lang.Integer getUniqueId()
getUniqueId in interface IRemoteObjectIRemoteObject.getUniqueId()
public ReturnData delegateRemoteCall(java.lang.Class[] argTypes,
java.lang.Object[] callArgs,
java.lang.String call)
throws RemoteInvocationException
delegateRemoteCall in interface IRemoteObjectRemoteInvocationExceptionIRemoteObject.delegateRemoteCall(java.lang.Class[], java.lang.Object[], java.lang.String)public java.lang.Object getDelegate()
getDelegate in interface IRemoteObjectIRemoteObject.getDelegate()public void setDelegate(java.lang.Object delegate)
setDelegate in interface IRemoteObjectIRemoteObject.setDelegate(java.lang.Object)public void init()
init in interface IRemoteObjectIRemoteObject.init()public ISession getSessionContext()
getSessionContext in interface IRemoteObjectIRemoteObject.getSessionContext()public void setSessionContext(ISession session)
setSessionContext in interface IRemoteObjectIRemoteObject.setSessionContext(org.eclipse.hyades.execution.core.ISession)
|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||