public class SimpleRpcController extends Object implements com.google.protobuf.RpcController
| Constructor and Description |
|---|
SimpleRpcController() |
| Modifier and Type | Method and Description |
|---|---|
String |
errorText() |
boolean |
failed() |
boolean |
isCanceled() |
void |
notifyOnCancel(com.google.protobuf.RpcCallback<Object> notifyCallback) |
void |
reset() |
void |
setFailed(String reason) |
void |
startCancel() |
public String errorText()
errorText in interface com.google.protobuf.RpcControllerpublic boolean failed()
failed in interface com.google.protobuf.RpcControllerpublic boolean isCanceled()
isCanceled in interface com.google.protobuf.RpcControllerpublic void notifyOnCancel(com.google.protobuf.RpcCallback<Object> notifyCallback)
notifyOnCancel in interface com.google.protobuf.RpcControllerpublic void reset()
reset in interface com.google.protobuf.RpcControllerpublic void setFailed(String reason)
setFailed in interface com.google.protobuf.RpcControllerpublic void startCancel()
startCancel in interface com.google.protobuf.RpcControllerCopyright © 2016. All rights reserved.