|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.engine.io.WrapperChannel<java.nio.channels.SocketChannel>
org.restlet.engine.io.WrapperSocketChannel
public class WrapperSocketChannel
Readable byte channel based on a source socket channel that must only be partially read.
Constructor Summary | |
---|---|
WrapperSocketChannel(java.nio.channels.SocketChannel wrappedChannel,
SelectionRegistration registration)
Constructor. |
Method Summary | |
---|---|
SelectionRegistration |
getRegistration()
Returns the NIO registration. |
boolean |
isBlocking()
Indicates if the channel is blocking. |
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, toString, wait, wait, wait |
Methods inherited from interface java.nio.channels.Channel |
---|
close, isOpen |
Constructor Detail |
---|
public WrapperSocketChannel(java.nio.channels.SocketChannel wrappedChannel, SelectionRegistration registration)
wrappedChannel
- The source channel.registration
- The NIO registration.Method Detail |
---|
public SelectionRegistration getRegistration()
getRegistration
in interface SelectionChannel
public boolean isBlocking()
isBlocking
in interface BlockableChannel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |