CommunicatorWaitForChar(ByteBuffer, Char, CancellationToken) Method
Sends the content of data argument and waits until any char from charSet array is received. Incomming data are returned
in the data argument.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
public void WaitForChar(
ByteBuffer data,
char[] charSet,
CancellationToken cancelToken
)
Parameters
- data ByteBuffer
- Buffer for outgoing/incomming data. Incoming data are transformed by InputEncoding before comparing with characters.
- charSet Char
- Set of characters that will terminate waiting for response.
- cancelToken CancellationToken