DeepsyContextManager Class Reference
Manager for access the Context functionalities and events raised More...
Inheritance diagram for DeepsyContextManager:

Public Member Functions | |
| DeepsyContextManager () | |
| Create Context manager that connects to a deepsy device at 127.0.0.1 IP More... | |
| DeepsyContextManager (string ip) | |
| Create Context manager that connects to a deepsy device at certain IP More... | |
| DeepsyContextManager (ContextDeepsyClientDealerConfiguration dealer, ContextDeepsyClientSubscriberConfiguration subscriber) | |
| Create Context manager that connects to a deepsy device at certain IP More... | |
| DeepsyContextManager (int routePort, int publishPort) | |
| Create Context manager that connects to a deepsy device at 127.0.0.1 IP More... | |
| IEnumerable< IContext > | GetContext () |
| Context 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
| DeepsyContextManager | ( | string | ip | ) |
- Parameters
-
ip string IP like "127.0.0.1" that is the public deepsy device IP
| DeepsyContextManager | ( | ContextDeepsyClientDealerConfiguration | dealer, |
| ContextDeepsyClientSubscriberConfiguration | subscriber | ||
| ) |
- Parameters
-
ip string IP like "127.0.0.1" that is the public deepsy device IP
| DeepsyContextManager | ( | int | routePort, |
| int | publishPort | ||
| ) |
- Parameters
-
routerPort deepsy port for sending request publishPort deepsy port for getting events
Member Function Documentation
| IEnumerable<IContext> GetContext | ( | ) |
- 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 IDeepsyContextManager.
| bool IsServiceAvailable | ( | ) |
Implements IServiceAvailable.

Public Attributes inherited from