Transfer Event
Fires during incoming data transfer.
Syntax
public event OnTransferHandler OnTransfer; public delegate void OnTransferHandler(object sender, MllpserverTransferEventArgs e); public class MllpserverTransferEventArgs : EventArgs { public string ConnectionId { get; } public long BytesTransferred { get; } public string data { get; }
public byte[] dataB { get; } }
Public Event OnTransfer As OnTransferHandler Public Delegate Sub OnTransferHandler(sender As Object, e As MllpserverTransferEventArgs) Public Class MllpserverTransferEventArgs Inherits EventArgs Public ReadOnly Property ConnectionId As String Public ReadOnly Property BytesTransferred As Long Public ReadOnly Property data As String
Public ReadOnly Property dataB As Byte() End Class
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.