Package com.zebra.sdk.remote.discovery
Interface ConnectionHandlerI
- All Superinterfaces:
Remote,Serializable
- All Known Implementing Classes:
ConnectionHandlerBase
Handler class used to notify of connection status
-
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionEstablished(DiscoveredPrinter printer) Called when a printer establishes a connection.voidconnectionRemoved(DiscoveredPrinter printer) Called when a printer goes offline.voidRemoves the Connection handler from the runtime.
-
Method Details
-
connectionEstablished
Called when a printer establishes a connection.- Parameters:
printer- printer which just established a connection.- Throws:
RemoteException- if there is an RMI exception.
-
connectionRemoved
Called when a printer goes offline.- Parameters:
printer- printer which just went offline.- Throws:
RemoteException- if there is an RMI exception.
-
removeConnectionHandler
Removes the Connection handler from the runtime.- Throws:
RemoteException- if there is an RMI exception
-