ConnectionReadDataFromDevice Method

Read the incoming message from the TCP stream.

Definition

Namespace: MobileTrack.Receiver.Models
Assembly: MobileTrack.Receiver (in MobileTrack.Receiver.exe) Version: 0.8+f6fd7a919db8417bc1e7bfd9b2ff9ab9586e296a
public Task<ReceivedMessage> ReadDataFromDevice(
	CancellationToken cancellationToken
)

Parameters

cancellationToken  CancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:MobileTrack.Receiver.Models.Connection.ReadDataFromDevice(System.Threading.CancellationToken)"]

Return Value

TaskReceivedMessage
Length of the read data.

Exceptions

IOExceptionInvoked if the client disconnected.

See Also