Class MerchantConnector

  • All Implemented Interfaces:
    ServiceConnection

    public class MerchantConnector
    extends ServiceConnector<IMerchantService>
    A class that encapsulates interaction with IMerchantService. 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 disconnect() when finished interacting with the underlying service.

    For all service methods, this class provides both synchronous and asynchronous call options. The synchronous methods must not be called on the UI thread.