3using System.Threading.Tasks;
47 Task<int>
ReadAsync(
byte[] buffer, CancellationToken token);
Defines a connection for communicating via OSDP protocol.
Task< int > ReadAsync(byte[] buffer, CancellationToken token)
Read from connection.
TimeSpan ReplyTimeout
Timeout value waiting for a reply.
Task WriteAsync(byte[] buffer)
Write to connection.
Task Close()
Close the connection for communications.
int BaudRate
Speed of the connection.
bool IsOpen
Is the connection open and ready to communicate.
Task Open()
Open the connection for communications.