CommunicatorWaitForTime Method

Sends the content of data argument and waits required count of milliseconds. Waiting loop can be breaked via OnTestTerminate callback only. Incomming data are returned in the data argument.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public void WaitForTime(
	ByteBuffer data,
	int t,
	CancellationToken cancelToken
)

Parameters

data  ByteBuffer
Buffer for outgoing/incomming data.
t  Int32
Waiting time in milliseconds for collecting incoming data.
cancelToken  CancellationToken

See Also