Table of Contents

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

IAsciiConnection

Id

Gets a unique identifier for this transport

string Id { get; }

Property Value

string

Physical

Gets the physical transport represented by this instance

PhysicalTransport Physical { get; }

Property Value

PhysicalTransport

State

Gets the current connection state of the transport

ConnectionState State { get; }

Property Value

ConnectionState

Methods

ConnectAsync()

Returns a task to connect to the reader

Task<IAsciiConnection> ConnectAsync()

Returns

Task<IAsciiConnection>

Disconnect()

Disconnects from the reader

void Disconnect()

Events

StateChanged

Raised when the State changes

event EventHandler<TransportStateChangedEventArgs> StateChanged

Event Type

EventHandler<TransportStateChangedEventArgs>