Implementation of ISerialPortManager. Start point for interacting with Deepsy SerialPort service More...

Inheritance diagram for SerialPortManager:

Public Member Functions

 SerialPortManager (string ip)
 
 SerialPortManager (SerialPortDealerConfiguration dealer, SerialPortSubscriberConfiguration subscriber)
 
 SerialPortManager (int routePort, int publishPort)
 
IEnumerable< ISerialPortGetSerialPortList ()
 Return the list of available serial port More...
 
override void Dispose ()
 

Protected Member Functions

override void Dispose (bool disposing)
 

Additional Inherited Members

- Public Attributes inherited from DeepsyDisposable
bool IsDiposed => Disposed
 
- Protected Attributes inherited from DeepsyDisposable
bool Disposed = false
 

Detailed Description

Member Function Documentation

IEnumerable<ISerialPort> GetSerialPortList ( )
Returns
IPort enumerable
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements ISerialPortManager.