Package | Description |
---|---|
bt.magnet | |
bt.torrent.messaging |
Modifier and Type | Method and Description |
---|---|
static UtMetadata |
UtMetadata.data(int pieceIndex,
int totalSize,
byte[] data)
Create metadata response for a given piece.
|
static UtMetadata |
UtMetadata.reject(int pieceIndex)
Create metadata rejection response for a given piece.
|
static UtMetadata |
UtMetadata.request(int pieceIndex)
Create metadata request for a given piece.
|
Modifier and Type | Method and Description |
---|---|
Collection<Class<? extends UtMetadata>> |
UtMetadataMessageHandler.getSupportedTypes() |
Class<? extends UtMetadata> |
UtMetadataMessageHandler.readMessageType(ByteBufferView buffer) |
Modifier and Type | Method and Description |
---|---|
boolean |
UtMetadataMessageHandler.encode(EncodingContext context,
UtMetadata message,
ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataConsumer.consume(UtMetadata message,
MessageContext context) |
void |
MetadataProducer.consume(UtMetadata message,
MessageContext context) |
Copyright © 2016–2021. All rights reserved.