Modifier | Constructor and Description |
---|---|
protected |
RpcClient.Call(Descriptors.MethodDescriptor md,
Message param,
CellScanner cells,
Message responseDefaultType) |
Modifier and Type | Method and Description |
---|---|
protected void |
callComplete()
Indicate when the call is complete and the
value or error are available.
|
long |
getStartTime() |
void |
setException(IOException error)
Set the exception when there is an error.
|
void |
setResponse(Message response,
CellScanner cells)
Set the return value when there is no error.
|
String |
toString() |
protected RpcClient.Call(Descriptors.MethodDescriptor md, Message param, CellScanner cells, Message responseDefaultType)
protected void callComplete()
public void setException(IOException error)
error
- exception thrown by the call; either local or remotepublic void setResponse(Message response, CellScanner cells)
response
- return value of the call.cells
- Can be nullpublic long getStartTime()
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.