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.RpcController
public boolean failed()
failed
in interface com.google.protobuf.RpcController
public boolean isCanceled()
isCanceled
in interface com.google.protobuf.RpcController
public void notifyOnCancel(com.google.protobuf.RpcCallback<Object> notifyCallback)
notifyOnCancel
in interface com.google.protobuf.RpcController
public void reset()
reset
in interface com.google.protobuf.RpcController
public void setFailed(String reason)
setFailed
in interface com.google.protobuf.RpcController
public void startCancel()
startCancel
in interface com.google.protobuf.RpcController
Copyright © 2017. All rights reserved.