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
Field description
|
static int |
IPTOS_LOWCOST
Field description
|
static int |
IPTOS_LOWDELAY
Field description
|
static int |
IPTOS_RELIABILITY
Field description
|
static int |
IPTOS_THROUGHPUT
Field description
|
Modifier and Type | Method and Description |
---|---|
void |
accept(SocketChannel sc)
Method description
|
ConnectionType |
getConnectionType()
Method description
|
String[] |
getIfcs()
Method description
|
int |
getPort()
Method description
|
int |
getReceiveBufferSize()
Method description
|
InetSocketAddress |
getRemoteAddress()
Method description
|
String |
getRemoteHostname()
Method description
|
SocketType |
getSocketType()
Method description
|
String |
getSRVType()
Method description
|
int |
getTrafficClass()
Method description
|
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)
sc
- int getPort()
String[] getIfcs()
String getSRVType()
String getRemoteHostname()
InetSocketAddress getRemoteAddress()
ConnectionType getConnectionType()
SocketType getSocketType()
int getReceiveBufferSize()
int getTrafficClass()
Copyright © 2017 "Tigase, Inc.". All rights reserved.