public abstract static class BaseRpc.BaseRpcService extends Object implements com.google.protobuf.Service
BaseRpcService| Modifier and Type | Class and Description |
|---|---|
static interface |
BaseRpc.BaseRpcService.BlockingInterface |
static interface |
BaseRpc.BaseRpcService.Interface |
static class |
BaseRpc.BaseRpcService.Stub |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseRpc.BaseRpcService() |
| Modifier and Type | Method and Description |
|---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
abstract void |
heartbeat(com.google.protobuf.RpcController controller,
BaseRpc.HeartbeatRequest request,
com.google.protobuf.RpcCallback<BaseRpc.HeartbeatResponse> done)
rpc heartbeat(.HeartbeatRequest) returns (.HeartbeatResponse); |
abstract void |
login(com.google.protobuf.RpcController controller,
BaseRpc.LoginRequest request,
com.google.protobuf.RpcCallback<BaseRpc.LoginResponse> done)
rpc login(.LoginRequest) returns (.LoginResponse); |
abstract void |
logout(com.google.protobuf.RpcController controller,
BaseRpc.LogoutRequest request,
com.google.protobuf.RpcCallback<BaseRpc.LogoutResponse> done)
rpc logout(.LogoutRequest) returns (.LogoutResponse); |
static BaseRpc.BaseRpcService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(BaseRpc.BaseRpcService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(BaseRpc.BaseRpcService.Interface impl) |
static BaseRpc.BaseRpcService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
public static com.google.protobuf.Service newReflectiveService(BaseRpc.BaseRpcService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(BaseRpc.BaseRpcService.BlockingInterface impl)
public abstract void login(com.google.protobuf.RpcController controller,
BaseRpc.LoginRequest request,
com.google.protobuf.RpcCallback<BaseRpc.LoginResponse> done)
rpc login(.LoginRequest) returns (.LoginResponse);public abstract void logout(com.google.protobuf.RpcController controller,
BaseRpc.LogoutRequest request,
com.google.protobuf.RpcCallback<BaseRpc.LogoutResponse> done)
rpc logout(.LogoutRequest) returns (.LogoutResponse);public abstract void heartbeat(com.google.protobuf.RpcController controller,
BaseRpc.HeartbeatRequest request,
com.google.protobuf.RpcCallback<BaseRpc.HeartbeatResponse> done)
rpc heartbeat(.HeartbeatRequest) returns (.HeartbeatResponse);public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Servicepublic final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface com.google.protobuf.Servicepublic static BaseRpc.BaseRpcService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static BaseRpc.BaseRpcService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2017. All Rights Reserved.