org.avineas.io.notify
public class NotifyingChannelWrapper extends NotifyingReadChannel<Channel> implements NotifyingChannel
Notifier.Listener
Constructor and Description |
---|
NotifyingChannelWrapper(Channel wrapped,
int maxSize) |
Modifier and Type | Method and Description |
---|---|
int |
write(byte[] data,
int length)
Write a packet or number of bytes via the channel.
|
close, notify, read
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read
public NotifyingChannelWrapper(Channel wrapped, int maxSize)
public int write(byte[] data, int length)
WriteChannel
write
in interface WriteChannel
data
- The data to writelength
- The length to write