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
,NioClient
andBlockingClient
to handle incoming data streams.StreamConnectionFactory A factory which generates newStreamConnection
s 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 aStreamConnection
to process data.BlockingClientManager A thin wrapper around a set ofBlockingClient
s.FilterMerger A reusable object that will calculate, given a list ofPeerFilterProvider
s, a mergedBloomFilter
and earliest key time for all of them.FilterMerger.Result NioClient Creates a simple connection to a server using aStreamConnection
to 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 aStreamConnection
to process data.