3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 14:54:15 +00:00

Correct PaymentChannelServerListener class javadoc.

This commit is contained in:
Mike Hearn 2013-07-01 13:13:29 +02:00
parent 4908c241f7
commit ec51162ae4

View File

@ -35,8 +35,9 @@ import org.bitcoin.paymentchannel.Protos;
import static com.google.common.base.Preconditions.checkNotNull;
/**
* Manages a {@link PaymentChannelClient} by connecting to a server using a simple TCP socket and exchanging the
* necessary protobufs.
* Implements a listening TCP server that can accept connections from payment channel clients, and invokes the provided
* event listeners when new channels are opened or payments arrive. This is the highest level class in the payment
* channels API. Internally, sends protobuf messages to/from a newly created {@link PaymentChannelServer}.
*/
public class PaymentChannelServerListener {
// The wallet and peergroup which are used to complete/broadcast transactions