|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AEProxyConnection
Method Summary | |
---|---|
void |
addListener(AEProxyConnectionListener l)
|
void |
cancelConnectSelect(java.nio.channels.SocketChannel channel)
|
void |
cancelReadSelect(java.nio.channels.SocketChannel channel)
|
void |
cancelWriteSelect(java.nio.channels.SocketChannel channel)
|
void |
close()
close the connection |
void |
failed(java.lang.Throwable cause)
indicate that the connection has failed |
java.lang.String |
getName()
|
java.nio.channels.SocketChannel |
getSourceChannel()
returns the non-blocking channel associated with the initiator of this proxy connection |
boolean |
isClosed()
|
void |
removeListener(AEProxyConnectionListener l)
|
void |
requestConnectSelect(java.nio.channels.SocketChannel channel)
|
void |
requestReadSelect(java.nio.channels.SocketChannel channel)
|
void |
requestWriteSelect(java.nio.channels.SocketChannel channel)
|
void |
setConnected()
marks the transition between connecting and connected |
void |
setConnectState(AEProxyState state)
|
void |
setReadState(AEProxyState state)
|
void |
setTimeStamp()
marks the last time that something happened on the connection for read timeout purposes |
void |
setWriteState(AEProxyState state)
|
Method Detail |
---|
java.lang.String getName()
java.nio.channels.SocketChannel getSourceChannel()
void setReadState(AEProxyState state)
void setWriteState(AEProxyState state)
void setConnectState(AEProxyState state)
void requestReadSelect(java.nio.channels.SocketChannel channel)
void cancelReadSelect(java.nio.channels.SocketChannel channel)
void requestWriteSelect(java.nio.channels.SocketChannel channel)
void cancelWriteSelect(java.nio.channels.SocketChannel channel)
void requestConnectSelect(java.nio.channels.SocketChannel channel)
void cancelConnectSelect(java.nio.channels.SocketChannel channel)
void setConnected()
void setTimeStamp()
void failed(java.lang.Throwable cause)
cause
- void close()
boolean isClosed()
void addListener(AEProxyConnectionListener l)
void removeListener(AEProxyConnectionListener l)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |