TransportImplpublic class TransportImpl extends Object implements org.gudy.azureus2.plugins.network.Transport
Fields Summary |
---|
private com.aelitis.azureus.core.networkmanager.Transport | core_transport | private com.aelitis.azureus.core.networkmanager.NetworkConnection | core_network |
Methods Summary |
---|
public long | read(java.nio.ByteBuffer[] buffers, int array_offset, int length)
if ( core_transport == null ){
core_transport = core_network.getTransport();
if ( core_transport == null ){
throw( new IOException( "Not connected" ));
}
}
return core_transport.read( buffers, array_offset, length );
| public long | write(java.nio.ByteBuffer[] buffers, int array_offset, int length)
if ( core_transport == null ){
core_transport = core_network.getTransport();
if ( core_transport == null ){
throw( new IOException( "Not connected" ));
}
}
return core_transport.write( buffers, array_offset, length );
|
|