|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StreamParser | |
|---|---|
| com.google.bitcoin.core | |
| com.google.bitcoin.net | |
| Uses of StreamParser in com.google.bitcoin.core |
|---|
| Classes in com.google.bitcoin.core that implement StreamParser | |
|---|---|
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. |
| Uses of StreamParser in com.google.bitcoin.net |
|---|
| Classes in com.google.bitcoin.net that implement StreamParser | |
|---|---|
class |
ProtobufParser<MessageType extends MessageLite>
A handler which is used in NioServer and NioClient to split up incoming data streams
into protobufs and provide an interface for writing protobufs to the connections. |
| Methods in com.google.bitcoin.net that return StreamParser | |
|---|---|
StreamParser |
StreamParserFactory.getNewParser(InetAddress inetAddress,
int port)
Returns a new handler or null to have the connection close. |
| Methods in com.google.bitcoin.net with parameters of type StreamParser | |
|---|---|
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)
|
| Constructors in com.google.bitcoin.net with parameters of type StreamParser | |
|---|---|
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. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||