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()
AioMaster
public int read(ByteBuffer buffer) throws IOException
read
in interface ReadableByteChannel
IOException
public void pause()
AioMaster
Copyright © 2017. All rights reserved.