public final class RpcCall extends java.lang.Object
Constructor and Description |
---|
RpcCall(NetworkTableEntry entry,
int call)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
cancelResult()
Ignore the result.
|
void |
free()
Cancels the result if no other action taken.
|
int |
getCall()
Get the call native handle.
|
NetworkTableEntry |
getEntry()
Get the RPC entry.
|
byte[] |
getResult()
Get the result (return value).
|
byte[] |
getResult(double timeout)
Get the result (return value).
|
boolean |
isValid()
Determines if the native handle is valid.
|
public RpcCall(NetworkTableEntry entry, int call)
entry
- Entrycall
- Call handlepublic void free()
public boolean isValid()
public NetworkTableEntry getEntry()
public int getCall()
public byte[] getResult()
public byte[] getResult(double timeout)
timeout
- timeout, in secondspublic void cancelResult()