Manager for access the Ecu functionalities and events raised More...

Inheritance diagram for DeepsyEcuManager:

Public Member Functions

 DeepsyEcuManager ()
 Create Ecu manager that connects to a deepsy device at 127.0.0.1 IP More...
 
 DeepsyEcuManager (string ip)
 Create Ecu manager that connects to a deepsy device at certain IP More...
 
 DeepsyEcuManager (EcuDeepsyClientDealerConfiguration dealer, EcuDeepsyClientSubscriberConfiguration subscriber)
 Create Ecu manager that connects to a deepsy device at certain IP More...
 
 DeepsyEcuManager (int routePort, int publishPort)
 Create Ecu manager that connects to a deepsy device at 127.0.0.1 IP More...
 
IEnumerable< IEcuGetEcu ()
 Ecu instances More...
 
bool IsServiceAvailable ()
 Current service availability More...
 
override void Dispose ()
 

Protected Member Functions

override void Dispose (bool dispose)
 

Properties

EventHandler< ServiceAvailabilityEventServiceAvailabilityEvent
 

Additional Inherited Members

- Public Attributes inherited from DeepsyDisposable
bool IsDiposed => Disposed
 
- Protected Attributes inherited from DeepsyDisposable
bool Disposed = false
 
- Events inherited from IServiceAvailable
EventHandler< ServiceAvailabilityEventServiceAvailabilityEvent
 Event raised when the availability of the service changes More...
 

Detailed Description

Constructor & Destructor Documentation

◆ DeepsyEcuManager() [1/4]

◆ DeepsyEcuManager() [2/4]

DeepsyEcuManager ( string  ip)
Parameters
ipstring IP like "127.0.0.1" that is the public deepsy device IP

◆ DeepsyEcuManager() [3/4]

Parameters
ipstring IP like "127.0.0.1" that is the public deepsy device IP

◆ DeepsyEcuManager() [4/4]

DeepsyEcuManager ( int  routePort,
int  publishPort 
)
Parameters
routerPortdeepsy port for sending request
publishPortdeepsy port for getting events

Member Function Documentation

◆ GetEcu()

IEnumerable<IEcu> GetEcu ( )
Exceptions
NotAvailableException (DPY_NOT_FOUND)Thrown when service don't respond in time
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 IDeepsyEcuManager.

◆ IsServiceAvailable()

bool IsServiceAvailable ( )

Implements IServiceAvailable.