| Package | Description |
|---|---|
| net.tomp2p.message |
| Modifier and Type | Method and Description |
|---|---|
Message.Content |
MessageContentIndex.content()
The content of the associated index.
|
Message.Content[] |
Message.contentTypes()
Return content types.
|
static Message.Content[] |
MessageHeaderCodec.decodeContentTypes(int contentTypes,
Message message)
Decodes the 8 content types from an integer (32 bit).
|
Message.Content |
Decoder.lastContent() |
static Message.Content |
Message.Content.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Content[] |
Message.Content.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.contentType(int index,
Message.Content contentType)
Sets or replaces the content type at a specific index.
|
Message |
Message.contentType(Message.Content contentType)
Convenient method to set content type.
|
Message |
Message.contentTypes(Message.Content[] contentTypes)
Used for deserialization.
|
static int |
MessageHeaderCodec.encodeContentTypes(Message.Content[] contentTypes)
Encodes the 8 content types to an integer (32 bit).
|
| Constructor and Description |
|---|
MessageContentIndex(int index,
Message.Content content) |
Copyright © 2014. All rights reserved.