Package 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). The code in this package implements a simple network abstraction a little like
what the Netty library provides, but with only what bitcoinj needs.
-
Interface Summary Interface Description ClientConnectionManager A generic interface for an object which keeps track of a set of open client connections, creates new ones and ensures they are serviced properly.MessageWriteTarget A target to which messages can be written/connection can be closedStreamConnection A generic handler which is used inNioServer,NioClientandBlockingClientto handle incoming data streams.StreamConnectionFactory A factory which generates newStreamConnections when a new connection is opened. -
Class Summary Class Description AbstractTimeoutHandler A base class which provides basic support for socket timeouts.BlockingClient Creates a simple connection to a server using aStreamConnectionto process data.BlockingClientManager A thin wrapper around a set ofBlockingClients.FilterMerger A reusable object that will calculate, given a list ofPeerFilterProviders, a mergedBloomFilterand earliest key time for all of them.FilterMerger.Result NioClient Creates a simple connection to a server using aStreamConnectionto process data.NioClientManager A class which manages a set of client connections.NioServer Creates a simple server listener which listens for incoming client connections and uses aStreamConnectionto process data.