Package 

Class WalletClientFactory


  • 
    public final class WalletClientFactory
    
                        

    A factory responsible for creating an instance of WalletClient.

    • Method Summary

      Modifier and Type Method Description
      final CombinedWalletClient create(LightWalletEndpoint endpoint) Creates a CombinedWalletClientImpl which will leverage Tor for lightwalletd connection for functions specified in PartialTorWalletClient.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WalletClientFactory

        WalletClientFactory(Context context, TorClient torClient)
    • Method Detail

      • create

         final CombinedWalletClient create(LightWalletEndpoint endpoint)

        Creates a CombinedWalletClientImpl which will leverage Tor for lightwalletd connection for functions specified in PartialTorWalletClient. Other functions specified in WalletClient will use regular lightwalletd connection using LightWalletClient.