public class StreamRpcChannel extends Object implements com.google.protobuf.RpcChannel
Constructor and Description |
---|
StreamRpcChannel()
Create new Rpc Channel Connection to olad.
|
Modifier and Type | Method and Description |
---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message requestMessage,
com.google.protobuf.Message responseMessage,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
void |
close()
Close Rpc Channel.
|
void |
connect()
Open connection to olad daemon.
|
public static final int PORT
public static final String HOST
public void close()
public void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message requestMessage, com.google.protobuf.Message responseMessage, com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod
in interface com.google.protobuf.RpcChannel
Copyright © 2017. All rights reserved.