|
Sea 0.4.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.lbl.dsd.sea.nio.event.ChannelResponse gov.lbl.dsd.sea.nio.event.ChannelResponse.Registered
Indicates response is to a prior ChannelRequest.Register
request;
The interest ops supplied to the original request can be retrieved from
the response via response.getInterestOps()
. (This is
necessary because key.interestOps()
may block on a lock held
by the NIO Selector.select() operation, potentially leading to ugly race
deadlocks).
Nested Class Summary |
Nested classes inherited from class gov.lbl.dsd.sea.nio.event.ChannelResponse |
ChannelResponse.Accepted, ChannelResponse.Closed, ChannelResponse.Connected, ChannelResponse.Read, ChannelResponse.Registered, ChannelResponse.Write |
Constructor Summary | |
ChannelResponse.Registered(NetAgent agent,
SelectionKey key,
IOException exception,
int interestOps)
|
Method Summary | |
int |
getInterestOps()
|
String |
toString()
|
Methods inherited from class gov.lbl.dsd.sea.nio.event.ChannelResponse |
getAgent, getException, getKey |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ChannelResponse.Registered(NetAgent agent, SelectionKey key, IOException exception, int interestOps)
Method Detail |
public int getInterestOps()
public String toString()
toString
in class ChannelResponse
|
Sea 0.4.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |