Public Member Functions |
Public Attributes |
Protected Member Functions |
Protected Attributes |
Properties |
List of all members
DeepsyPrinterManager Class Reference
Manager for access the printers functionalities and events raised More...
Inheritance diagram for DeepsyPrinterManager:

Public Member Functions | |
| DeepsyPrinterManager (string ip) | |
| Create Printer manager that connects to a deepsy device at certain IP More... | |
| DeepsyPrinterManager (string ip, int routerPort, int publishPort) | |
| Create Printer manager that connects to a deepsy device at certain IP More... | |
| DeepsyPrinterManager (PrinterDeepsyClientDealerConfiguration dealer, PrinterDeepsyClientSubscriberConfiguration subscriber) | |
| bool | IsServiceAvailable () |
| Current service availability More... | |
| IEnumerable< IPrinter > | GetPrinters () |
| Get List of available printers More... | |
| override void | Dispose () |
Public Attributes | |
| IEnumerable< IPrinter > | Printers => GetPrinters() |
| Available printer list, that are available for printing and events More... | |
Public Attributes inherited from DeepsyDisposable | |
| bool | IsDiposed => Disposed |
Protected Member Functions | |
| override void | Dispose (bool dispose) |
Protected Attributes | |
| readonly object | _lock = new object() |
Protected Attributes inherited from DeepsyDisposable | |
| bool | Disposed = false |
Properties | |
| EventHandler< ServiceAvailabilityEvent > | ServiceAvailabilityEvent |
| EventHandler< PrinterListEvent > | PrinterList |
Properties inherited from IDeepsyPrinterManager | |
| IEnumerable< IPrinter > | Printers [get] |
| Get list availabe Printers More... | |
Additional Inherited Members | |
Events inherited from IPrinterServiceNotifier | |
| EventHandler< PrinterListEvent > | PrinterList |
Events inherited from IServiceAvailable | |
| EventHandler< ServiceAvailabilityEvent > | ServiceAvailabilityEvent |
| Event raised when the availability of the service changes More... | |
Detailed Description
Constructor & Destructor Documentation
| DeepsyPrinterManager | ( | string | ip | ) |
- Parameters
-
ip string IP like "127.0.0.1" that is the public deepsy device IP
| DeepsyPrinterManager | ( | string | ip, |
| int | routerPort, | ||
| int | publishPort | ||
| ) |
- Parameters
-
ip string IP like "127.0.0.1" that is the public deepsy device IP routerPort deepsy port for sending request publishPort deepsy port for getting events
Member Function Documentation
| IEnumerable<IPrinter> GetPrinters | ( | ) |
- Returns
- IEnumerable with printers
- Exceptions
-
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 IDeepsyPrinterManager.
| bool IsServiceAvailable | ( | ) |
Implements IServiceAvailable.
Member Data Documentation
| IEnumerable<IPrinter> Printers => GetPrinters() |

Public Attributes inherited from