Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
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 | Field and Description |
---|---|
protected MessageWriteTarget |
PeerSocketHandler.writeTarget |
Modifier and Type | Method and Description |
---|---|
void |
PeerSocketHandler.setWriteTarget(MessageWriteTarget writeTarget)
Sets the
MessageWriteTarget used to write messages to the peer. |
Modifier and Type | Class and Description |
---|---|
class |
BlockingClient
Creates a simple connection to a server using a
StreamConnection to process data. |
class |
NioClient
Creates a simple connection to a server using a
StreamConnection to process data. |
Modifier and Type | Method and Description |
---|---|
void |
StreamConnection.setWriteTarget(MessageWriteTarget writeTarget)
Called when this connection is attached to an upstream write target (ie a low-level connection handler).
|
void |
ProtobufConnection.setWriteTarget(MessageWriteTarget writeTarget) |
Copyright © 2016. All rights reserved.