got_chunk


Description:

public void got_chunk (Bytes chunk)

Handles the MessageBody part of receiving a chunk of data from the network.

Normally this means appending chunk to this, exactly as with [method@MessageBody.append_bytes], but if you have set this's accumulate flag to false, then that will not happen.

This is a low-level method which you should not normally need to use.

Parameters:

this

a MessageBody

chunk

a Bytes received from the network