com.twistedmatrix.spread.pb
Class RemotePathReference

java.lang.Object
  |
  +--com.twistedmatrix.spread.pb.RemoteObject
        |
        +--com.twistedmatrix.spread.pb.RemotePathReference

public class RemotePathReference
extends RemoteObject

A remote object which we refer to via path.


Constructor Summary
RemotePathReference(RemoteReference ref, java.lang.Object path)
          Create a new RemotePathReference.
 
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.
 
Methods inherited from class com.twistedmatrix.spread.pb.RemoteObject
callRemote, callRemote, callRemote, callRemoteAsync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemotePathReference

public RemotePathReference(RemoteReference ref,
                           java.lang.Object path)
Create a new RemotePathReference.
Method Detail

callRemoteAsync

public void callRemoteAsync(java.lang.String methodName,
                            java.lang.Object[] args,
                            PrimitiveMap kwargs,
                            Callback callback)
                     throws java.io.IOException
Send a command to the remote object, getting a response asynchronously.
Overrides:
callRemoteAsync in class RemoteObject
Parameters:
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.)