| Package | Description | 
|---|---|
| org.bitcoinj.protocols.channels | Micropayment channels allow for rapid tiny payments to be made to a third party once a channel has been set up, using
 some of the advanced features of the Bitcoin protocol. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PaymentChannelClient.VersionSelector | PaymentChannelClient.VersionSelector. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static PaymentChannelClient.VersionSelector[] | PaymentChannelClient.VersionSelector. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Constructor and Description | 
|---|
| PaymentChannelClient(Wallet wallet,
                    ECKey myKey,
                    Coin maxValue,
                    Sha256Hash serverId,
                    IPaymentChannelClient.ClientConnection conn,
                    PaymentChannelClient.VersionSelector versionSelector)Constructs a new channel manager which waits for  PaymentChannelClient.connectionOpen()before acting. | 
| PaymentChannelClient(Wallet wallet,
                    ECKey myKey,
                    Coin maxValue,
                    Sha256Hash serverId,
                    long timeWindow,
                    org.spongycastle.crypto.params.KeyParameter userKeySetup,
                    IPaymentChannelClient.ClientConnection conn,
                    PaymentChannelClient.VersionSelector versionSelector)Constructs a new channel manager which waits for  PaymentChannelClient.connectionOpen()before acting. | 
| PaymentChannelClientConnection(InetSocketAddress server,
                              int timeoutSeconds,
                              Wallet wallet,
                              ECKey myKey,
                              Coin maxValue,
                              String serverId,
                              long timeWindow,
                              org.spongycastle.crypto.params.KeyParameter userKeySetup,
                              PaymentChannelClient.VersionSelector versionSelector)Attempts to open a new connection to and open a payment channel with the given host and port, blocking until the
 connection is open. | 
| PaymentChannelClientConnection(InetSocketAddress server,
                              int timeoutSeconds,
                              Wallet wallet,
                              ECKey myKey,
                              Coin maxValue,
                              String serverId,
                              PaymentChannelClient.VersionSelector versionSelector)Attempts to open a new connection to and open a payment channel with the given host and port, blocking until the
 connection is open. | 
Copyright © 2018. All rights reserved.