public abstract class BaseRpcService<SessionClazz> extends Object implements RpcServiceSpec<SessionClazz>, BaseRpc.BaseRpcService.BlockingInterface
| Constructor and Description |
|---|
BaseRpcService() |
| Modifier and Type | Method and Description |
|---|---|
protected RpcServerServices<SessionClazz> |
getServerServices()
Get the serverServices value.
|
BaseRpc.HeartbeatResponse |
heartbeat(com.google.protobuf.RpcController inController,
BaseRpc.HeartbeatRequest inRequest) |
BaseRpc.LoginResponse |
login(com.google.protobuf.RpcController inController,
BaseRpc.LoginRequest inRequest) |
BaseRpc.LogoutResponse |
logout(com.google.protobuf.RpcController inController,
BaseRpc.LogoutRequest inRequest) |
void |
setRpcServerServices(RpcServerServices<SessionClazz> inServerServices)
Set the RPC server services value.
|
protected void |
setServerServices(RpcServerServices<SessionClazz> inServerServices)
Sets the serverServices value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateService, getDescriptionpublic BaseRpc.LoginResponse login(com.google.protobuf.RpcController inController, BaseRpc.LoginRequest inRequest) throws com.google.protobuf.ServiceException
login in interface BaseRpc.BaseRpcService.BlockingInterfacecom.google.protobuf.ServiceExceptionpublic BaseRpc.LogoutResponse logout(com.google.protobuf.RpcController inController, BaseRpc.LogoutRequest inRequest) throws com.google.protobuf.ServiceException
logout in interface BaseRpc.BaseRpcService.BlockingInterfacecom.google.protobuf.ServiceExceptionpublic BaseRpc.HeartbeatResponse heartbeat(com.google.protobuf.RpcController inController, BaseRpc.HeartbeatRequest inRequest) throws com.google.protobuf.ServiceException
heartbeat in interface BaseRpc.BaseRpcService.BlockingInterfacecom.google.protobuf.ServiceExceptionpublic void setRpcServerServices(RpcServerServices<SessionClazz> inServerServices)
RpcServiceSpecsetRpcServerServices in interface RpcServiceSpec<SessionClazz>inServerServices - a RpcServiceServices<SessionClazz> valueprotected RpcServerServices<SessionClazz> getServerServices()
RpcServerServices valueprotected void setServerServices(RpcServerServices<SessionClazz> inServerServices)
inServerServices - a RpcServerServices valueCopyright © 2017. All Rights Reserved.