CommunicatorWaitForStrings(ByteBuffer, String, CancellationToken) Method

Sends the content of data argument and waits until any string from specified list is received. Incomming data are returned in the data argument. Incoming bytes are transformed using InputEncoding.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public void WaitForStrings(
	ByteBuffer data,
	string[] stringList,
	CancellationToken canceltoken
)

Parameters

data  ByteBuffer
Buffer for outgoing/incomming data.
stringList  String
List of strings that could terminate waiting for response.
canceltoken  CancellationToken

See Also