Class PrinterConnector

  • All Implemented Interfaces:

    public class PrinterConnector
    extends ServiceConnector<IPrinterService>
    A class that encapsulates interaction with IPrinterService. This class automatically binds and provides both synchronous and asynchronous service method invocation.

    Clients of this class may optionally call ServiceConnector.connect() to force pre-binding to the underlying service, and must call ServiceConnector.disconnect() when finished interacting with the underlying service.

    The preferred methods in this class are synchronous methods which do not use callbacks and should be invoked on a non-main thread.