Package tigase.net
Interface ConnectionOpenListener
-
public interface ConnectionOpenListenerDescribe interface ConnectionOpenListener here.
Created: Thu Jan 26 00:00:39 2006- Version:
- $Rev$
- Author:
- Artur Hefczyc
-
-
Field Summary
Fields Modifier and Type Field Description static intDEF_RECEIVE_BUFFER_SIZERECEIVE_BUFFER_SIZEdefines a size for TCP/IP packets.static intDEF_TRAFFIC_CLASSstatic intIPTOS_LOWCOSTstatic intIPTOS_LOWDELAYstatic intIPTOS_RELIABILITYstatic intIPTOS_THROUGHPUT
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(SocketChannel sc)ConnectionTypegetConnectionType()String[]getIfcs()default longgetNewConnectionsThrottling()intgetPort()intgetReceiveBufferSize()InetSocketAddressgetRemoteAddress()StringgetRemoteHostname()SocketTypegetSocketType()StringgetSRVType()intgetTrafficClass()default voidrelease()
-
-
-
Field Detail
-
DEF_RECEIVE_BUFFER_SIZE
static final int DEF_RECEIVE_BUFFER_SIZE
RECEIVE_BUFFER_SIZEdefines 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.- See Also:
- Constant Field Values
-
IPTOS_LOWCOST
static final int IPTOS_LOWCOST
- See Also:
- Constant Field Values
-
IPTOS_LOWDELAY
static final int IPTOS_LOWDELAY
- See Also:
- Constant Field Values
-
IPTOS_RELIABILITY
static final int IPTOS_RELIABILITY
- See Also:
- Constant Field Values
-
IPTOS_THROUGHPUT
static final int IPTOS_THROUGHPUT
- See Also:
- Constant Field Values
-
DEF_TRAFFIC_CLASS
static final int DEF_TRAFFIC_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
accept
void accept(SocketChannel sc)
-
getPort
int getPort()
-
getIfcs
String[] getIfcs()
-
getSRVType
String getSRVType()
-
getRemoteHostname
String getRemoteHostname()
-
getRemoteAddress
InetSocketAddress getRemoteAddress()
-
getConnectionType
ConnectionType getConnectionType()
-
getSocketType
SocketType getSocketType()
-
getReceiveBufferSize
int getReceiveBufferSize()
-
getTrafficClass
int getTrafficClass()
-
getNewConnectionsThrottling
default long getNewConnectionsThrottling()
-
release
default void release()
-
-