org.apache.http.nio.reactor
Interface IOSession
- All Known Implementing Classes:
- IOSessionImpl, SSLIOSession
public interface IOSession
ATTACHMENT_KEY
static final java.lang.String ATTACHMENT_KEY
- See Also:
- Constant Field Values
channel
java.nio.channels.ByteChannel channel()
getRemoteAddress
java.net.SocketAddress getRemoteAddress()
getLocalAddress
java.net.SocketAddress getLocalAddress()
getEventMask
int getEventMask()
setEventMask
void setEventMask(int ops)
setEvent
void setEvent(int op)
clearEvent
void clearEvent(int op)
close
void close()
shutdown
void shutdown()
isClosed
boolean isClosed()
getSocketTimeout
int getSocketTimeout()
setSocketTimeout
void setSocketTimeout(int timeout)
setBufferStatus
void setBufferStatus(SessionBufferStatus status)
hasBufferedInput
boolean hasBufferedInput()
hasBufferedOutput
boolean hasBufferedOutput()
setAttribute
void setAttribute(java.lang.String name,
java.lang.Object obj)
getAttribute
java.lang.Object getAttribute(java.lang.String name)
removeAttribute
java.lang.Object removeAttribute(java.lang.String name)
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.