public abstract class AbstractTcpClientListener extends AbstractClientListener
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_TCP_BACK_LOG |
protected String |
listenAddr |
protected int |
listenerCapacity |
protected int |
listenPort |
acceptedClients, jmxAgent, localEngine, settings, started| Constructor and Description |
|---|
AbstractTcpClientListener(FFMQEngine localEngine,
Settings settings,
JMXAgent jmxAgent,
String listenAddr,
int listenPort)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected InetAddress |
getBindAddress() |
int |
getCapacity()
Get the listener max capacity
|
closeRemainingClients, getAcceptedTotal, getActiveClients, getDroppedTotal, getEngineName, getMaxActiveClients, isStarted, registerClient, resetStats, unregisterClientclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, start, stopprotected static final int DEFAULT_TCP_BACK_LOG
protected String listenAddr
protected int listenPort
protected int listenerCapacity
public AbstractTcpClientListener(FFMQEngine localEngine, Settings settings, JMXAgent jmxAgent, String listenAddr, int listenPort)
public int getCapacity()
ClientListenerprotected InetAddress getBindAddress() throws UnknownHostException
UnknownHostExceptionCopyright © 2019. All rights reserved.