org.monache.lib.api.mock
クラス MockCoinAPIFactory

java.lang.Object
  上位を拡張 org.monache.lib.api.CoinAPIFactory
      上位を拡張 org.monache.lib.api.mock.MockCoinAPIFactory

public class MockCoinAPIFactory
extends CoinAPIFactory

デフォルトの暗号通貨用APIオブジェクトを生成するクラス。 DIコンテナを利用される場合は、本クラスを使わずにDIでAPIオブジェクトの生成をされることをお勧めします。

導入されたバージョン:
1.0
作成者:
monache.org

コンストラクタの概要
MockCoinAPIFactory()
           
 
メソッドの概要
 GetBalance getGetBalance()
          GetBalanceを実装したオブジェクトを取得します。
 GetNewAddress getGetNewAddress()
          GetNewAddressを実装したオブジェクトを取得します。
 SendFrom getSendFrom()
          SendFromを実装したオブジェクトを取得します。
 SendToAddress getSendToAddress()
          SendToAddressを実装したオブジェクトを取得します。
 WalletLock getWalletLock()
          WalletLockを実装したオブジェクトを取得します。
 WalletPassphrase getWalletPassphrase()
          WalletPassphraseを実装したオブジェクトを取得します。
static MockCoinAPIFactory newInstance()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MockCoinAPIFactory

public MockCoinAPIFactory()
メソッドの詳細

newInstance

public static MockCoinAPIFactory newInstance()
                                      throws CoinAPIException
例外:
CoinAPIException

getWalletPassphrase

public WalletPassphrase getWalletPassphrase()
                                     throws CoinAPIException
クラス CoinAPIFactory の記述:
WalletPassphraseを実装したオブジェクトを取得します。

定義:
クラス CoinAPIFactory 内の getWalletPassphrase
戻り値:
WalletPassphraseオブジェクト
例外:
CoinAPIException - オブジェクトの生成に失敗

getWalletLock

public WalletLock getWalletLock()
                         throws CoinAPIException
クラス CoinAPIFactory の記述:
WalletLockを実装したオブジェクトを取得します。

定義:
クラス CoinAPIFactory 内の getWalletLock
戻り値:
WalletLockオブジェクト
例外:
CoinAPIException - オブジェクトの生成に失敗

getGetNewAddress

public GetNewAddress getGetNewAddress()
                               throws CoinAPIException
クラス CoinAPIFactory の記述:
GetNewAddressを実装したオブジェクトを取得します。

定義:
クラス CoinAPIFactory 内の getGetNewAddress
戻り値:
GetNewAddressオブジェクト
例外:
CoinAPIException - オブジェクトの生成に失敗

getGetBalance

public GetBalance getGetBalance()
                         throws CoinAPIException
クラス CoinAPIFactory の記述:
GetBalanceを実装したオブジェクトを取得します。

定義:
クラス CoinAPIFactory 内の getGetBalance
戻り値:
GetBalanceオブジェクト
例外:
CoinAPIException - オブジェクトの生成に失敗

getSendToAddress

public SendToAddress getSendToAddress()
                               throws CoinAPIException
クラス CoinAPIFactory の記述:
SendToAddressを実装したオブジェクトを取得します。

定義:
クラス CoinAPIFactory 内の getSendToAddress
戻り値:
SendToAddressオブジェクト
例外:
CoinAPIException - オブジェクトの生成に失敗

getSendFrom

public SendFrom getSendFrom()
                     throws CoinAPIException
クラス CoinAPIFactory の記述:
SendFromを実装したオブジェクトを取得します。

定義:
クラス CoinAPIFactory 内の getSendFrom
戻り値:
SendFromオブジェクト
例外:
CoinAPIException - オブジェクトの生成に失敗


Copyright © 2014. All Rights Reserved.