| Modifier and Type | Method and Description |
|---|---|
TorrentClient.Builder |
TorrentClient.Builder.registerMessage(int id,
Supplier<IMessage> messageSupplier) |
| Modifier and Type | Method and Description |
|---|---|
IMessage |
MessageFactory.createById(int id)
Creates a new message instance which maps to the given ID
|
| Modifier and Type | Method and Description |
|---|---|
MessageFactory.Builder |
MessageFactory.Builder.registerMessage(int id,
Supplier<IMessage> messageSupplier) |
| Modifier and Type | Class and Description |
|---|---|
class |
MessageBitfield |
class |
MessageBlock |
class |
MessageCancel |
class |
MessageChoke |
class |
MessageHave |
class |
MessageInterested |
class |
MessageKeepAlive
A message object which represents the KeepAlive case of the protocol.
|
class |
MessageRequest |
class |
MessageUnchoke |
class |
MessageUninterested |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBlockMessage
The base class for messages which contains a request about a block.
|
| Modifier and Type | Method and Description |
|---|---|
IMessage |
BitTorrentSocket.readMessage() |
| Modifier and Type | Method and Description |
|---|---|
void |
BitTorrentSocket.enqueueMessage(IMessage message)
Queues the message to be send
|
Copyright © 2016. All rights reserved.