public class DiscoveryHandlerLinkOsOnly extends Object implements DiscoveryHandler
NetworkDiscoverer
Constructor and Description |
---|
DiscoveryHandlerLinkOsOnly(DiscoveryHandler internalDiscoveryHandler)
Creates a DiscoveryHandler which will only report back Link-OS printers.
|
Modifier and Type | Method and Description |
---|---|
void |
discoveryError(String message)
This method is invoked when there is an error during discovery.
|
void |
discoveryFinished()
This method is invoked when discovery is finished.
|
void |
foundPrinter(DiscoveredPrinter printer)
This method is invoked when a Link-OS printer has been discovered.
|
public DiscoveryHandlerLinkOsOnly(DiscoveryHandler internalDiscoveryHandler)
internalDiscoveryHandler
- base discovery handler for callbackspublic void foundPrinter(DiscoveredPrinter printer)
foundPrinter
in interface DiscoveryHandler
printer
- a discovered Link-OS printer.public void discoveryFinished()
discoveryFinished
in interface DiscoveryHandler
public void discoveryError(String message)
discoveryFinished()
will not be called if this method is invoked.discoveryError
in interface DiscoveryHandler
message
- the error message.
© 2017 ZIH Corp. All Rights Reserved.