com.aelitis.azureus.core.networkmanager.impl.tcp
Class ProtocolEndpointTCP
java.lang.Object
com.aelitis.azureus.core.networkmanager.impl.tcp.ProtocolEndpointTCP
- All Implemented Interfaces:
- ProtocolEndpoint
public class ProtocolEndpointTCP
- extends java.lang.Object
- implements ProtocolEndpoint
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
register
public static void register()
setConnectionEndpoint
public void setConnectionEndpoint(ConnectionEndpoint _ce)
- Specified by:
setConnectionEndpoint
in interface ProtocolEndpoint
getType
public int getType()
- Specified by:
getType
in interface ProtocolEndpoint
getConnectionEndpoint
public ConnectionEndpoint getConnectionEndpoint()
- Specified by:
getConnectionEndpoint
in interface ProtocolEndpoint
getAddress
public java.net.InetSocketAddress getAddress()
- Specified by:
getAddress
in interface ProtocolEndpoint
getAdjustedAddress
public java.net.InetSocketAddress getAdjustedAddress(boolean to_lan)
- Specified by:
getAdjustedAddress
in interface ProtocolEndpoint
connectOutbound
public Transport connectOutbound(boolean connect_with_crypto,
boolean allow_fallback,
byte[][] shared_secrets,
java.nio.ByteBuffer initial_data,
int priority,
Transport.ConnectListener listener)
- Specified by:
connectOutbound
in interface ProtocolEndpoint
connectLightWeight
public Transport connectLightWeight(java.nio.channels.SocketChannel sc)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface ProtocolEndpoint