CommunicatorWaitForStr(ByteBuffer, String, CancellationToken) Method

Sends the content of data argument and waits until specified string 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 WaitForStr(
	ByteBuffer data,
	string s,
	CancellationToken cancelToken
)

Parameters

data  ByteBuffer
Buffer for outgoing/incomming data
s  String
String which will terminate waiting for response.
cancelToken  CancellationToken

See Also