Transfer Event
Fires during incoming data transfer.
Syntax
public class DefaultMllpserverEventListener implements MllpserverEventListener { ... public void transfer(MllpserverTransferEvent e) {} ... } public class MllpserverTransferEvent { public String connectionId; public long bytesTransferred; public byte[] data; }
Remarks
This event fires one or more times while incoming data is being transferred.
The ConnectionId parameter is the Id of the connection on which data is being transferred.
The BytesTransferred parameter reflects the number of bytes transferred since the beginning of the transfer.
The Data parameter contains the portion of the data being delivered currently.