Package | Description |
---|---|
net.tomp2p.message |
Modifier and Type | Method and Description |
---|---|
Message.Content |
Message.getContentType1()
Returns first content type.
|
Message.Content |
Message.getContentType2()
Returns second content type, only if first is not empty
|
Message.Content |
Message.getContentType3()
Returns second content type, only if first is not empty
|
Message.Content |
Message.getContentType4()
Returns second content type, only if first is not empty
|
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 |
---|---|
static boolean |
MessageCodec.decodePayload(Message.Content content,
org.jboss.netty.buffer.ChannelBuffer buffer,
Message message)
Decodes the payload from a Netty buffer in a big switch
|
Message |
Message.setContentType(Message.Content contentType)
Convient method to set content type.
|
Copyright © 2013. All Rights Reserved.