public interface CardConnectionReestablisher
| Modifier and Type | Method and Description |
|---|---|
void |
reestablishConnection(CardPrinterReconnectionHandler handler)
Reestablishes a connection to a printer which may have been closed due to an event, like a reboot.
|
void reestablishConnection(CardPrinterReconnectionHandler handler) throws DiscoveryException, ConnectionException, TimeoutException, ZebraCardException
handler - Handles recreating and opening a connection to a printer.DiscoveryException - if the printer cannot be found.ConnectionException - if the connection can not be created or open.TimeoutException - if a connection can not be reestablished after a defined timeout.ZebraCardException - if the device is busy or if the connection cannot talk to the printer.
© 2016 ZIH Corp. All Rights Reserved.