Package | Description |
---|---|
com.google.bitcoin.core | |
com.google.bitcoin.net |
Modifier and Type | Class and Description |
---|---|
class |
Peer
A Peer handles the high level communication with a Bitcoin node, extending a
PeerSocketHandler which
handles low-level message (de)serialization. |
class |
PeerSocketHandler
Handles high-level message (de)serialization for peers, acting as the bridge between the
com.google.bitcoin.net classes and Peer . |
Modifier and Type | Class and Description |
---|---|
class |
ProtobufParser<MessageType extends com.google.protobuf.MessageLite>
|
Modifier and Type | Method and Description |
---|---|
StreamParser |
StreamParserFactory.getNewParser(InetAddress inetAddress,
int port)
Returns a new handler or null to have the connection close.
|
Modifier and Type | Method and Description |
---|---|
void |
NioClientManager.openConnection(SocketAddress serverAddress,
StreamParser parser) |
void |
ClientConnectionManager.openConnection(SocketAddress serverAddress,
StreamParser parser)
Creates a new connection to the given address, with the given parser used to handle incoming data.
|
void |
BlockingClientManager.openConnection(SocketAddress serverAddress,
StreamParser parser) |
Constructor and Description |
---|
BlockingClient(SocketAddress serverAddress,
StreamParser parser,
int connectTimeoutMillis,
SocketFactory socketFactory,
Set<BlockingClient> clientSet)
Creates a new client to the given server address using the given
StreamParser to decode the data. |
NioClient(SocketAddress serverAddress,
StreamParser parser,
int connectTimeoutMillis)
Creates a new client to the given server address using the given
StreamParser to decode the data. |
Copyright © 2014. All rights reserved.