| Package | Description | 
|---|---|
| org.bitcoinj.core | The core package contains classes for network messages like  BlockandTransaction, peer connectivity viaPeerGroup,
 and block chain management. | 
| org.bitcoinj.net | Classes handling low level network management using either NIO (async io) or older style blocking sockets (useful for
 using SOCKS proxies, Tor, SSL etc). | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PeerA Peer handles the high level communication with a Bitcoin node, extending a  PeerSocketHandlerwhich
 handles low-level message (de)serialization. | 
| class  | PeerSocketHandlerHandles high-level message (de)serialization for peers, acting as the bridge between the
  org.bitcoinj.netclasses andPeer. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ProtobufConnection<MessageType extends com.google.protobuf.MessageLite> | 
| Modifier and Type | Method and Description | 
|---|---|
| StreamConnection | StreamConnectionFactory. getNewConnection(InetAddress inetAddress,
                int port)Returns a new handler or null to have the connection close. | 
| Modifier and Type | Method and Description | 
|---|---|
| com.google.common.util.concurrent.ListenableFuture<SocketAddress> | NioClientManager. openConnection(SocketAddress serverAddress,
              StreamConnection connection) | 
| com.google.common.util.concurrent.ListenableFuture<SocketAddress> | ClientConnectionManager. openConnection(SocketAddress serverAddress,
              StreamConnection connection)Creates a new connection to the given address, with the given connection used to handle incoming data. | 
| com.google.common.util.concurrent.ListenableFuture<SocketAddress> | BlockingClientManager. openConnection(SocketAddress serverAddress,
              StreamConnection connection) | 
| static void | BlockingClient. runReadLoop(InputStream stream,
           StreamConnection connection)A blocking call that never returns, except by throwing an exception. | 
| Constructor and Description | 
|---|
| BlockingClient(SocketAddress serverAddress,
              StreamConnection connection,
              int connectTimeoutMillis,
              SocketFactory socketFactory,
              Set<BlockingClient> clientSet)Creates a new client to the given server address using the given  StreamConnectionto decode the data. | 
| NioClient(SocketAddress serverAddress,
         StreamConnection parser,
         int connectTimeoutMillis)Creates a new client to the given server address using the given  StreamConnectionto decode the data. | 
Copyright © 2018. All rights reserved.