@Beta public final class TcpServer extends RestartableServiceImpl
Modifier and Type | Class and Description |
---|---|
static class |
TcpServer.TcpServerGuavaService |
Constructor and Description |
---|
TcpServer(ExecutorService executor,
ClientHandler handlerFactory,
int serverPort,
int acceptBacklog) |
TcpServer(ExecutorService executor,
ClientHandler handlerFactory,
int serverPort,
int acceptBacklog,
int bindTimeoutMillis) |
Modifier and Type | Method and Description |
---|---|
String |
getServiceName() |
addListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, close, failureCause, isRunning, jmxStart, jmxStop, registerToJmx, startAsync, state, stopAsync, toString
public TcpServer(ExecutorService executor, ClientHandler handlerFactory, int serverPort, int acceptBacklog)
public TcpServer(ExecutorService executor, ClientHandler handlerFactory, int serverPort, int acceptBacklog, int bindTimeoutMillis)
public String getServiceName()
Copyright © 2018 SPF4J. All rights reserved.