public class CoapOption extends Object
Constructor and Description |
---|
CoapOption(CoapOptionType type,
byte[] data)
Create a CoAP option
|
public CoapOption(CoapOptionType type, byte[] data)
type
- the type of the optiondata
- the content of the optionCopyright © 2009–2013 Apache MINA Project. All rights reserved.