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, readequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadpublic NotifyingChannelWrapper(Channel wrapped, int maxSize)
public int write(byte[] data,
int length)
WriteChannelwrite in interface WriteChanneldata - The data to writelength - The length to write