public static interface AbstractByteArrayCommandTransport.ByteArrayReceiver
Modifier and Type | Method and Description |
---|---|
void |
handle(byte[] payload)
Notifies the
Channel that the transport has received a new block. |
void |
terminate(IOException e)
See
CommandReceiver#handle(Command) for details. |
void handle(byte[] payload)
Channel
that the transport has received a new block.
As discussed in AbstractByteArrayCommandTransport.writeBlock(Channel, byte[])
,
the block boundary is significant.void terminate(IOException e)
CommandReceiver#handle(Command)
for details.Copyright © 2017. All rights reserved.