|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aelitis.azureus.core.networkmanager.impl.tcp.TCPNetworkManager
public class TCPNetworkManager
Field Summary | |
---|---|
static boolean |
TCP_INCOMING_ENABLED
|
protected static int |
tcp_mss_size
|
static boolean |
TCP_OUTGOING_ENABLED
|
Constructor Summary | |
---|---|
protected |
TCPNetworkManager()
|
Method Summary | |
---|---|
void |
clearExplicitBindAddress()
|
TCPConnectionManager |
getConnectDisconnectManager()
Get the socket channel connect / disconnect manager. |
long |
getLastIncomingNonLocalConnectionTime()
|
VirtualChannelSelector |
getReadSelector()
Get the virtual selector used for socket channel read readiness. |
static TCPNetworkManager |
getSingleton()
|
int |
getTCPListeningPortNumber()
Get port that the TCP server socket is listening for incoming connections on. |
static int |
getTcpMssSize()
Get the configured TCP MSS (Maximum Segment Size) unit, i.e. |
VirtualChannelSelector |
getWriteSelector()
Get the virtual selector used for socket channel write readiness. |
boolean |
isEffectiveBindAddress(java.net.InetAddress address)
|
boolean |
isTCPListenerEnabled()
|
static void |
refreshRates(int min_rate)
|
void |
setExplicitBindAddress(java.net.InetAddress address)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static int tcp_mss_size
public static boolean TCP_INCOMING_ENABLED
public static boolean TCP_OUTGOING_ENABLED
Constructor Detail |
---|
protected TCPNetworkManager()
Method Detail |
---|
public static TCPNetworkManager getSingleton()
public static int getTcpMssSize()
public static void refreshRates(int min_rate)
public void setExplicitBindAddress(java.net.InetAddress address)
public void clearExplicitBindAddress()
public boolean isEffectiveBindAddress(java.net.InetAddress address)
public TCPConnectionManager getConnectDisconnectManager()
public VirtualChannelSelector getReadSelector()
public VirtualChannelSelector getWriteSelector()
public boolean isTCPListenerEnabled()
public int getTCPListeningPortNumber()
public long getLastIncomingNonLocalConnectionTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |