public interface ConnectionOpenListener
Modifier and Type | Field and Description |
---|---|
static int |
DEF_RECEIVE_BUFFER_SIZE
RECEIVE_BUFFER_SIZE defines a size for TCP/IP packets. |
static int |
DEF_TRAFFIC_CLASS |
static int |
IPTOS_LOWCOST |
static int |
IPTOS_LOWDELAY |
static int |
IPTOS_RELIABILITY |
static int |
IPTOS_THROUGHPUT |
Modifier and Type | Method and Description |
---|---|
void |
accept(SocketChannel sc) |
ConnectionType |
getConnectionType() |
String[] |
getIfcs() |
default long |
getNewConnectionsThrottling() |
int |
getPort() |
int |
getReceiveBufferSize() |
InetSocketAddress |
getRemoteAddress() |
String |
getRemoteHostname() |
SocketType |
getSocketType() |
String |
getSRVType() |
int |
getTrafficClass() |
default void |
release() |
static final int DEF_RECEIVE_BUFFER_SIZE
RECEIVE_BUFFER_SIZE
defines a size for TCP/IP packets. XMPP data packets are quite small usually,
below 1kB so we don't need big TCP/IP data buffers.static final int IPTOS_LOWCOST
static final int IPTOS_LOWDELAY
static final int IPTOS_RELIABILITY
static final int IPTOS_THROUGHPUT
static final int DEF_TRAFFIC_CLASS
void accept(SocketChannel sc)
int getPort()
String[] getIfcs()
String getSRVType()
String getRemoteHostname()
InetSocketAddress getRemoteAddress()
ConnectionType getConnectionType()
SocketType getSocketType()
int getReceiveBufferSize()
int getTrafficClass()
default long getNewConnectionsThrottling()
default void release()
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.