Package org.bitcoinj.net
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.
-
ClassDescriptionDeprecated.Creates a simple connection to a server using a
StreamConnection
to process data.A thin wrapper around a set ofBlockingClient
s.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.A reusable object that will calculate, given a list ofPeerFilterProvider
s, a mergedBloomFilter
and earliest key time for all of them.A target to which messages can be written/connection can be closedCreates a simple connection to a server using aStreamConnection
to process data.A class which manages a set of client connections.Creates a simple server listener which listens for incoming client connections and uses aStreamConnection
to process data.Component that implements the timeout capability ofTimeoutHandler
.A generic handler which is used inNioServer
,NioClient
andBlockingClient
to handle incoming data streams.A factory which generates newStreamConnection
s when a new connection is opened.Provides basic support for socket timeouts.
TimeoutHandler
usingSocketTimeoutTask
instead