public class NettyRpcController extends Object implements com.google.protobuf.RpcController
Constructor and Description |
---|
NettyRpcController() |
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.RpcController
public boolean failed()
failed
in interface com.google.protobuf.RpcController
public String errorText()
errorText
in interface com.google.protobuf.RpcController
public void startCancel()
startCancel
in interface com.google.protobuf.RpcController
public void setFailed(String s)
setFailed
in interface com.google.protobuf.RpcController
public boolean isCanceled()
isCanceled
in interface com.google.protobuf.RpcController
public void notifyOnCancel(com.google.protobuf.RpcCallback<Object> objectRpcCallback)
notifyOnCancel
in interface com.google.protobuf.RpcController
Copyright © 2014 Apache Software Foundation. All Rights Reserved.