ClientListenerNIOTcpListener, TcpListenerpublic abstract class AbstractTcpClientListener extends AbstractClientListener
| Modifier and Type | Field | Description |
|---|---|---|
protected static int |
DEFAULT_TCP_BACK_LOG |
|
protected java.lang.String |
listenAddr |
|
protected int |
listenerCapacity |
|
protected int |
listenPort |
acceptedClients, jmxAgent, localEngine, settings, started| Constructor | Description |
|---|---|
AbstractTcpClientListener(FFMQEngine localEngine,
Settings settings,
JMXAgent jmxAgent,
java.lang.String listenAddr,
int listenPort) |
Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
protected java.net.InetAddress |
getBindAddress() |
|
int |
getCapacity() |
Get the listener max capacity
|
closeRemainingClients, getAcceptedTotal, getActiveClients, getDroppedTotal, getEngineName, getMaxActiveClients, isStarted, registerClient, resetStats, unregisterClientgetName, start, stopprotected static final int DEFAULT_TCP_BACK_LOG
protected java.lang.String listenAddr
protected int listenPort
protected int listenerCapacity
public AbstractTcpClientListener(FFMQEngine localEngine, Settings settings, JMXAgent jmxAgent, java.lang.String listenAddr, int listenPort)
public int getCapacity()
ClientListenerprotected java.net.InetAddress getBindAddress()
throws java.net.UnknownHostException
java.net.UnknownHostExceptionCopyright © 2021. All rights reserved.