public class PIMHelloOption extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_GENID |
static short |
DEFAULT_HOLDTIME |
static int |
DEFAULT_PRIORITY |
static int |
DEFAULT_PRUNEDELAY |
static int |
MINIMUM_OPTION_LEN_BYTES |
static short |
OPT_ADDRLIST |
static short |
OPT_GENID |
static short |
OPT_HOLDTIME
PIM Option types.
|
static short |
OPT_PRIORITY |
static short |
OPT_PRUNEDELAY |
| Constructor and Description |
|---|
PIMHelloOption() |
PIMHelloOption(short type)
Set a PIM Hello option by type.
|
| Modifier and Type | Method and Description |
|---|---|
static PIMHelloOption |
deserialize(ByteBuffer bb) |
short |
getOptLength() |
short |
getOptType() |
byte[] |
getValue() |
byte[] |
serialize() |
void |
setOptLength(short len) |
void |
setOptType(short type) |
void |
setValue(ByteBuffer bb) |
String |
toString() |
public static final short OPT_HOLDTIME
public static final short OPT_PRUNEDELAY
public static final short OPT_PRIORITY
public static final short OPT_GENID
public static final short OPT_ADDRLIST
public static final short DEFAULT_HOLDTIME
public static final int DEFAULT_PRUNEDELAY
public static final int DEFAULT_PRIORITY
public static final int DEFAULT_GENID
public static final int MINIMUM_OPTION_LEN_BYTES
public PIMHelloOption()
public PIMHelloOption(short type)
type - hello option typepublic void setOptType(short type)
public short getOptType()
public void setOptLength(short len)
public short getOptLength()
public void setValue(ByteBuffer bb) throws DeserializationException
DeserializationExceptionpublic byte[] getValue()
public static PIMHelloOption deserialize(ByteBuffer bb) throws DeserializationException
DeserializationExceptionpublic byte[] serialize()
Copyright © 2015. All rights reserved.