public class RpcServer<S> extends Server
| Constructor and Description |
|---|
RpcServer(ServerConfig config) |
RpcServer(ServerConfig config,
S service) |
| Modifier and Type | Method and Description |
|---|---|
RpcSession<S,?> |
createSession(Socket socket) |
S |
service() |
asyncExecute, getAcceptedSessions, getConnections, getKeepAlive, getQueueAvgBytes, getQueueAvgLength, getQueueMaxBytes, getQueueMaxLength, getRejectedSessions, getRequestsProcessed, getRequestsRejected, getSelectorAvgReady, getSelectorCount, getSelectorMaxReady, getSelectorOperations, getSelectorSessions, getWorkers, getWorkersActive, getWorkersUsed, incRequestsProcessed, incRequestsRejected, reconfigure, register, registerShutdownHook, reset, start, stopprotected final S service
public RpcServer(ServerConfig config) throws IOException
IOExceptionpublic RpcServer(ServerConfig config, S service) throws IOException
IOExceptionpublic final S service()
public RpcSession<S,?> createSession(Socket socket) throws RejectedSessionException
createSession in class ServerRejectedSessionExceptionCopyright © 2019. All rights reserved.