FileDocCategorySizeDatePackage
TransportHelper.javaAPI DocAzureus 3.0.3.42930Thu Mar 01 23:39:42 GMT 2007com.aelitis.azureus.core.networkmanager.impl

TransportHelper

public interface TransportHelper

Fields Summary
Constructors Summary
Methods Summary
public voidcancelReadSelects()

public voidcancelWriteSelects()

public voidclose(java.lang.String reason)

public booleandelayWrite(java.nio.ByteBuffer buffer)

public voidfailed(java.lang.Throwable reason)

public java.net.InetSocketAddressgetAddress()

public intgetConnectTimeout()

public java.lang.StringgetName()

public intgetReadTimeout()

public java.lang.ObjectgetUserData(java.lang.Object key)

public booleanhasDelayedWrite()

public booleanminimiseOverheads()

public voidpauseReadSelects()

public voidpauseWriteSelects()

public intread(java.nio.ByteBuffer buffer)

public longread(java.nio.ByteBuffer[] buffers, int array_offset, int length)

public voidregisterForReadSelects(com.aelitis.azureus.core.networkmanager.impl.TransportHelper$selectListener listener, java.lang.Object attachment)

public voidregisterForWriteSelects(com.aelitis.azureus.core.networkmanager.impl.TransportHelper$selectListener listener, java.lang.Object attachment)

public voidresumeReadSelects()

public voidresumeWriteSelects()

public voidsetTrace(boolean on)

public voidsetUserData(java.lang.Object key, java.lang.Object data)

public intwrite(java.nio.ByteBuffer buffer, boolean partial_write)

public longwrite(java.nio.ByteBuffer[] buffers, int array_offset, int length)