hudson.remoting
Interface AbstractByteArrayCommandTransport.ByteArrayReceiver

Enclosing class:
AbstractByteArrayCommandTransport

public static interface AbstractByteArrayCommandTransport.ByteArrayReceiver


Method Summary
 void handle(byte[] payload)
          Notifies the Channel that the transport has received a new block.
 void terminate(java.io.IOException e)
          See CommandReceiver#handle(Command) for details.
 

Method Detail

handle

void handle(byte[] payload)
Notifies the Channel that the transport has received a new block. As discussed in AbstractByteArrayCommandTransport.writeBlock(Channel, byte[]), the block boundary is significant.


terminate

void terminate(java.io.IOException e)
See CommandReceiver#handle(Command) for details.



Copyright © 2013. All Rights Reserved.