|
Sea 0.4.0 | ||||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
SelectionKey
interest ops with the given
channel; The agent will enqueue future responses to the channel onto the
given observer stage; If an attachment is given the agent will attach it to the channel's key.buffer.position()
and buffer.limit()
,
and buffer.remaining()
bytes will be written;ChannelRequest.Register
or
ChannelRequest.Close
or ChannelRequest.WriteData
request;
Contains the agent this response originates from, as well as the selection key
of the channel the request/response are associated with (retrievable via
key.channel()
), as well as an optional exception that may
have been thrown by the agent in attempting to handle the associated prior
request.ChannelRequest.Register
request containing
SelectionKey
OP_ACCEPT ops).ChannelRequest.Close
request).ChannelRequest.Register
request containing
SelectionKey
OP_CONNECT ops).ChannelRequest.Register
request
containing SelectionKey
OP_READ ops); The data
has buffer.remaining()
bytes, and is contained between
indexes 0 == buffer.position()
and buffer.limit()
,
as usual with NIO; A buffer with !buffer.hasRemaining()
indicates that end-of-stream has been reached for the given channel.ChannelRequest.Register
request;
The interest ops supplied to the original request can be retrieved from
the response via response.getInterestOps()
.ChannelRequest.WriteData
request).size()
will yield zero.
size()
will yield zero.
|
Sea 0.4.0 | ||||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |