Methods Summary |
---|
public void | close(java.lang.String reason)
try {
getSocketChannel().close(); //close() can block
}
catch( Throwable t) { t.printStackTrace(); }
|
public void | connectOutbound(java.nio.ByteBuffer initial_data, ConnectListener listener) throw new RuntimeException( "not implemented" );
|
public void | connectedInbound() throw new RuntimeException( "not implemented" );
|
public java.lang.String | getDescription() return getSocketChannel().socket().getInetAddress().getHostAddress() + ": " + getSocketChannel().socket().getPort();
|
public java.lang.String | getEncryption() return( filter.getName());
|
public int | getMssSize()
return( TCPNetworkManager.getTcpMssSize());
|
public java.net.InetSocketAddress | getRemoteAddress()
return( new InetSocketAddress( getSocketChannel().socket().getInetAddress(), getSocketChannel().socket().getPort()));
|
public java.nio.channels.SocketChannel | getSocketChannel() return ((TCPTransportHelper)filter.getHelper()).getSocketChannel();
|
public com.aelitis.azureus.core.networkmanager.TransportEndpoint | getTransportEndpoint()
return( transport_endpoint );
|
public int | getTransportMode() throw new RuntimeException( "not implemented" );
|
public boolean | isEncrypted() return( filter.isEncrypted());
|
public boolean | isReadyForRead(com.aelitis.azureus.core.networkmanager.EventWaiter waiter) throw new RuntimeException( "not implemented" );
|
public boolean | isReadyForWrite(com.aelitis.azureus.core.networkmanager.EventWaiter waiter) throw new RuntimeException( "not implemented" );
|
public boolean | isTCP() return true;
|
public long | read(java.nio.ByteBuffer[] buffers, int array_offset, int length)
return filter.read( buffers, array_offset, length );
|
public void | setAlreadyRead(java.nio.ByteBuffer bytes_already_read) throw new RuntimeException( "not implemented" );
|
public void | setReadyForRead() throw new RuntimeException( "not implemented" );
|
public void | setTrace(boolean on)
// TODO Auto-generated method stub
|
public void | setTransportMode(int mode) throw new RuntimeException( "not implemented" );
|
public long | write(java.nio.ByteBuffer[] buffers, int array_offset, int length)
return filter.write( buffers, array_offset, length );
|