|
|||||||||
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(SocketChannel channel)
|
void |
cancelReadSelect(SocketChannel channel)
|
void |
cancelWriteSelect(SocketChannel channel)
|
void |
close()
close the connection |
void |
failed(Throwable cause)
indicate that the connection has failed |
String |
getName()
|
SocketChannel |
getSourceChannel()
returns the non-blocking channel associated with the initiator of this proxy connection |
boolean |
isClosed()
|
void |
removeListener(AEProxyConnectionListener l)
|
void |
requestConnectSelect(SocketChannel channel)
|
void |
requestReadSelect(SocketChannel channel)
|
void |
requestWriteSelect(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 |
---|
String getName()
SocketChannel getSourceChannel()
void setReadState(AEProxyState state)
void setWriteState(AEProxyState state)
void setConnectState(AEProxyState state)
void requestReadSelect(SocketChannel channel)
void cancelReadSelect(SocketChannel channel)
void requestWriteSelect(SocketChannel channel)
void cancelWriteSelect(SocketChannel channel)
void requestConnectSelect(SocketChannel channel)
void cancelConnectSelect(SocketChannel channel)
void setConnected()
void setTimeStamp()
void failed(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 |