Skip to main content

Class Protocol

Abstract base class for all Brainboxes communication protocols. Manages the underlying Brainboxes.IO.Protocol.Stream used for command/response communication.

Assembly: Brainboxes.IO.dll​
View Source​
Declaration
public abstract class Protocol : IProtocol

Derived:
Brainboxes.IO.ASCIIProtocol, Brainboxes.IO.DefaultSerialProtocol, Brainboxes.IO.ModbusTCPProtocol

Implements:
Brainboxes.IO.IProtocol

Properties​

Stream​

Set the stream which the protocol data is written and read from

View Source​
Declaration
public Stream Stream { set; }

Fields​

stream​

the stream which the protocol data is written and read from

View Source​
Declaration
protected Stream stream

Implements​