|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.engine.io.WrapperChannel<T>
org.restlet.engine.io.WrapperSelectionChannel<T>
public class WrapperSelectionChannel<T extends SelectionChannel>
Wrapper selection channel.
Constructor Summary | |
---|---|
WrapperSelectionChannel(T wrappedChannel)
Constructor. |
|
WrapperSelectionChannel(T wrappedChannel,
SelectionRegistration registration)
Constructor. |
Method Summary | |
---|---|
SelectionRegistration |
getRegistration()
Returns the NIO registration. |
boolean |
isBlocking()
Indicates if the wrapped channel is blocking. |
void |
setRegistration(SelectionRegistration registration)
Sets the NIO registration. |
String |
toString()
|
Methods inherited from class org.restlet.engine.io.WrapperChannel |
---|
close, getWrappedChannel, isOpen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.nio.channels.Channel |
---|
close, isOpen |
Constructor Detail |
---|
public WrapperSelectionChannel(T wrappedChannel)
wrappedChannel
- The wrapped channel.public WrapperSelectionChannel(T wrappedChannel, SelectionRegistration registration)
wrappedChannel
- The wrapped channel.registration
- The selection registration.Method Detail |
---|
public SelectionRegistration getRegistration()
getRegistration
in interface SelectionChannel
public boolean isBlocking()
isBlocking
in interface BlockableChannel
public void setRegistration(SelectionRegistration registration)
registration
- The NIO registration.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |