public class DefaultRpcController extends Object implements com.google.protobuf.RpcController
| Constructor and Description |
|---|
DefaultRpcController() |
| Modifier and Type | Method and Description |
|---|---|
String |
errorText() |
boolean |
failed() |
boolean |
isCanceled() |
void |
notifyOnCancel(com.google.protobuf.RpcCallback<Object> objectRpcCallback) |
void |
reset() |
void |
setFailed(String s) |
void |
startCancel() |
public void reset()
reset in interface com.google.protobuf.RpcControllerpublic boolean failed()
failed in interface com.google.protobuf.RpcControllerpublic String errorText()
errorText in interface com.google.protobuf.RpcControllerpublic void startCancel()
startCancel in interface com.google.protobuf.RpcControllerpublic void setFailed(String s)
setFailed in interface com.google.protobuf.RpcControllerpublic boolean isCanceled()
isCanceled in interface com.google.protobuf.RpcControllerpublic void notifyOnCancel(com.google.protobuf.RpcCallback<Object> objectRpcCallback)
notifyOnCancel in interface com.google.protobuf.RpcControllerCopyright © 2014 Apache Software Foundation. All Rights Reserved.