|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.twistedmatrix.spread.pb.RemoteObject | +--com.twistedmatrix.spread.pb.RemoteReference
A reference to a remote object.
Constructor Summary | |
protected |
RemoteReference(ByteString perspective,
Broker broker,
java.lang.Object luid,
boolean doRefCount)
Create a new RemoteReference. |
Method Summary | |
void |
callRemoteAsync(java.lang.String methodName,
java.lang.Object[] args,
PrimitiveMap kwargs,
Callback callback)
Send a command to the remote object, getting a response asynchronously. |
boolean |
equals(java.lang.Object other)
Compare to another object. |
protected void |
finalize()
Tell remote server we are releasing the reference. |
Broker |
getBroker()
Get the broker via which the reference is connected. |
java.lang.Object[] |
getInterfaces()
Get the optional list of interfaces the remote object implements. |
java.lang.Object |
getLuid()
Get the luid. |
void |
setInterfaces(java.lang.Object[] l)
Set the optional list of interfaces the remote object implements. |
Methods inherited from class com.twistedmatrix.spread.pb.RemoteObject |
callRemote, callRemote, callRemote, callRemoteAsync |
Methods inherited from class java.lang.Object |
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected RemoteReference(ByteString perspective, Broker broker, java.lang.Object luid, boolean doRefCount)
Method Detail |
public java.lang.Object[] getInterfaces()
public void setInterfaces(java.lang.Object[] l)
public Broker getBroker()
public java.lang.Object getLuid()
public void callRemoteAsync(java.lang.String methodName, java.lang.Object[] args, PrimitiveMap kwargs, Callback callback) throws java.io.IOException
callRemoteAsync
in class RemoteObject
methodName
- the method to call.args
- a list of arguments to the method.kwargs
- a dictionary of keyword arguments.callback
- callback for result (if callback is null then no answer will be sent.)public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
protected void finalize()
finalize
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |