FileDocCategorySizeDatePackage
AEProxyConnection.javaAPI DocAzureus 3.0.3.42518Thu Feb 09 19:42:44 GMT 2006com.aelitis.azureus.core.proxy

AEProxyConnection

public interface AEProxyConnection
author
parg

Fields Summary
Constructors Summary
Methods Summary
public voidaddListener(AEProxyConnectionListener l)

public voidcancelConnectSelect(java.nio.channels.SocketChannel channel)

public voidcancelReadSelect(java.nio.channels.SocketChannel channel)

public voidcancelWriteSelect(java.nio.channels.SocketChannel channel)

public voidclose()
close the connection

public voidfailed(java.lang.Throwable cause)
indicate that the connection has failed

param
cause

public java.lang.StringgetName()

public java.nio.channels.SocketChannelgetSourceChannel()
returns the non-blocking channel associated with the initiator of this proxy connection

return

public booleanisClosed()

public voidremoveListener(AEProxyConnectionListener l)

public voidrequestConnectSelect(java.nio.channels.SocketChannel channel)

public voidrequestReadSelect(java.nio.channels.SocketChannel channel)

public voidrequestWriteSelect(java.nio.channels.SocketChannel channel)

public voidsetConnectState(AEProxyState state)

public voidsetConnected()
marks the transition between connecting and connected

public voidsetReadState(AEProxyState state)

public voidsetTimeStamp()
marks the last time that something happened on the connection for read timeout purposes

public voidsetWriteState(AEProxyState state)