|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freecompany.redline.ChannelWrapper
org.freecompany.redline.WritableChannelWrapper
public class WritableChannelWrapper
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.freecompany.redline.ChannelWrapper |
---|
ChannelWrapper.Consumer<T>, ChannelWrapper.Key<T> |
Field Summary | |
---|---|
protected java.nio.channels.WritableByteChannel |
channel
|
Fields inherited from class org.freecompany.redline.ChannelWrapper |
---|
consumers |
Constructor Summary | |
---|---|
WritableChannelWrapper(java.nio.channels.WritableByteChannel channel)
|
Method Summary | |
---|---|
void |
close()
|
boolean |
isOpen()
|
int |
write(java.nio.ByteBuffer buffer)
|
Methods inherited from class org.freecompany.redline.ChannelWrapper |
---|
finish, start, start, start, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.nio.channels.WritableByteChannel channel
Constructor Detail |
---|
public WritableChannelWrapper(java.nio.channels.WritableByteChannel channel)
Method Detail |
---|
public int write(java.nio.ByteBuffer buffer) throws java.io.IOException
write
in interface java.nio.channels.WritableByteChannel
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.nio.channels.Channel
close
in class ChannelWrapper
java.io.IOException
public boolean isOpen()
isOpen
in interface java.nio.channels.Channel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |