DeepsyEcuManager Class Reference
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< IEcu > | GetEcu () |
Ecu instances More... | |
bool | IsServiceAvailable () |
Current service availability More... | |
override void | Dispose () |
Protected Member Functions | |
override void | Dispose (bool dispose) |
Properties | |
EventHandler< ServiceAvailabilityEvent > | ServiceAvailabilityEvent |
Additional Inherited Members | |
Public Attributes inherited from DeepsyDisposable | |
bool | IsDiposed => Disposed |
Protected Attributes inherited from DeepsyDisposable | |
bool | Disposed = false |
Events inherited from IServiceAvailable | |
EventHandler< ServiceAvailabilityEvent > | ServiceAvailabilityEvent |
Event raised when the availability of the service changes More... | |
Detailed Description
Constructor & Destructor Documentation
DeepsyEcuManager | ( | ) |
DeepsyEcuManager | ( | string | ip | ) |
- Parameters
-
ip string IP like "127.0.0.1" that is the public deepsy device IP
DeepsyEcuManager | ( | EcuDeepsyClientDealerConfiguration | dealer, |
EcuDeepsyClientSubscriberConfiguration | subscriber | ||
) |
- Parameters
-
ip string IP like "127.0.0.1" that is the public deepsy device IP
DeepsyEcuManager | ( | int | routePort, |
int | publishPort | ||
) |
- Parameters
-
routerPort deepsy port for sending request publishPort deepsy port for getting events
Member Function Documentation
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 HalException Thrown when service returns an error
Implements IDeepsyEcuManager.
bool IsServiceAvailable | ( | ) |
Implements IServiceAvailable.