| Package | Description |
|---|---|
| org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction, peer connectivity via PeerGroup,
block chain management and the Wallet class. |
| 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
StreamParser to process data. |
class |
NioClient
Creates a simple connection to a server using a
StreamParser to process data. |
| Modifier and Type | Method and Description |
|---|---|
void |
StreamParser.setWriteTarget(MessageWriteTarget writeTarget)
Called when this parser is attached to an upstream write target (ie a low-level connection handler).
|
void |
ProtobufParser.setWriteTarget(MessageWriteTarget writeTarget) |
Copyright © 2015. All rights reserved.