Interface IAsciiTransport
- Namespace
- TechnologySolutions.Rfid.AsciiProtocol.Transports
- Assembly
- TechnologySolutions.Rfid.AsciiProtocol.Core.dll
Information about a potential IAsciiConnection to a reader using a specified PhysicalTransport
public interface IAsciiTransport : INamedReader
- Inherited Members
- Extension Methods
Properties
Connection
Gets the connection to the reader while the transport is connected
IAsciiConnection Connection { get; }
Property Value
Id
Gets a unique identifier for this transport
string Id { get; }
Property Value
Physical
Gets the physical transport represented by this instance
PhysicalTransport Physical { get; }
Property Value
State
Gets the current connection state of the transport
ConnectionState State { get; }
Property Value
Methods
ConnectAsync()
Returns a task to connect to the reader
Task<IAsciiConnection> ConnectAsync()
Returns
Disconnect()
Disconnects from the reader
void Disconnect()
Events
StateChanged
Raised when the State changes
event EventHandler<TransportStateChangedEventArgs> StateChanged