public interface ConnectionReestablisher
Modifier and Type | Method and Description |
---|---|
void |
reestablishConnection(PrinterReconnectionHandler handler)
Reestablishes a connection to a printer which may have been closed due to an event, like a reboot.
|
void reestablishConnection(PrinterReconnectionHandler handler) throws DiscoveryException, ConnectionException, TimeoutException, ZebraPrinterLanguageUnknownException
handler
- Handles recreating and opening a connection to a printerDiscoveryException
- thrown if the printer cannot be foundConnectionException
- thrown if the connection can not be created or openTimeoutException
- thrown if a connection can not be reestablished after a defined timeoutZebraPrinterLanguageUnknownException
- thrown if the connection can not talk to the printer.
© 2015 ZIH Corp. All Rights Reserved.