Package | Description |
---|---|
org.apache.mina.coap |
Modifier and Type | Method and Description |
---|---|
static MessageType |
MessageType.fromCode(int code)
Find the
MessageType for the given value code (null if not found) |
MessageType |
CoapMessage.getType() |
static MessageType |
MessageType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
MessageType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
CoapMessage.setType(MessageType type) |
Constructor and Description |
---|
CoapMessage(int version,
MessageType type,
int code,
int id,
byte[] token,
CoapOption[] options,
byte[] payload)
Create a CoAP message
|
Copyright © 2009–2013 Apache MINA Project. All rights reserved.