unitee.client
Class RemoteMethod
java.lang.Object
|
+--unitee.client.RemoteMethod
- public class RemoteMethod
- extends java.lang.Object
Responsible to place a remote call.
Arguments are added by calling one of the add() methods.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RemoteMethod
public RemoteMethod(int objectID,
int methodHash)
throws java.io.IOException
RemoteMethod
public RemoteMethod(int objectID,
java.lang.String methodName)
throws java.io.IOException
add
public RemoteMethod add(double d)
throws java.io.IOException
- Adds the integer parameter to the method call.
- Returns:
- this
add
public RemoteMethod add(int i)
throws java.io.IOException
add
public RemoteMethod add(long l)
throws java.io.IOException
add
public RemoteMethod add(boolean b)
throws java.io.IOException
add
public RemoteMethod add(java.lang.String s)
throws java.io.IOException
add
public RemoteMethod add(Streamable s)
throws java.io.IOException
add
public RemoteMethod add(java.lang.Object o)
throws java.io.IOException
add
public RemoteMethod add(java.io.PrintStream stream)
throws java.io.IOException
- Adds a print stream parameter to the method arguments. The method
registers a print stream to which output is written by the server while
the method is executing.
call
public void call()
throws java.io.IOException
call
public Streamable call(Streamable s)
throws java.io.IOException
call
public StreamableArray call(StreamableArray array)
throws java.io.IOException
returnInt
public int returnInt()
throws java.io.IOException
returnLong
public long returnLong()
throws java.io.IOException
returnDouble
public double returnDouble()
throws java.io.IOException
returnString
public java.lang.String returnString()
throws java.io.IOException
returnPrimitiveArray
public java.lang.Object returnPrimitiveArray()
throws java.io.IOException
returnObject
public java.lang.Object returnObject()
throws java.io.IOException