public final class UncontrollableByteArrayReadableByteChannelMaster extends Object implements ReadableByteChannelMaster
onReady() call completely on first call.NULL| Constructor and Description |
|---|
UncontrollableByteArrayReadableByteChannelMaster(byte[] content) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Instructs the leader to stop all I/O, and free all resources.
|
boolean |
isOpen() |
void |
pause()
Instructs the leader to temporarily pause the production or consumption
of data.
|
int |
read(ByteBuffer buffer) |
void |
resume()
Instructs the leader to resume producing or consuming data.
|
public UncontrollableByteArrayReadableByteChannelMaster(byte[] content)
public void close()
AioMasterpublic int read(ByteBuffer buffer) throws IOException
read in interface ReadableByteChannelIOExceptionpublic void pause()
AioMasterCopyright © 2017. All rights reserved.