public final class UncontrollableByteArrayWritableByteChannelMaster extends Object implements WritableByteChannelMaster
onReady()
.Constructor and Description |
---|
UncontrollableByteArrayWritableByteChannelMaster() |
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.
|
void |
resume()
Instructs the leader to resume producing or consuming data.
|
byte[] |
toByteArray() |
int |
write(ByteBuffer buffer) |
public UncontrollableByteArrayWritableByteChannelMaster()
public byte[] toByteArray()
public void close()
AioMaster
public int write(ByteBuffer buffer) throws IOException
write
in interface WritableByteChannel
IOException
public void pause()
AioMaster
Copyright © 2017. All rights reserved.