public class AdministrativeGroup extends OSPFSubTLV
log, tlv_bytes, TLVType, TotalTLVLength
Constructor and Description |
---|
AdministrativeGroup() |
AdministrativeGroup(byte[] bytes,
int offset) |
Modifier and Type | Method and Description |
---|---|
protected void |
decode() |
void |
encode()
Encode the 4 byte Administrative group
|
int |
getAdministrativeGroup() |
boolean |
isGroup(int groupNumber) |
void |
setAdministrativeGroup(int administrativeGroup) |
void |
setGroup(int groupNumber) |
String |
toString() |
encodeHeader, equals, getTlv_bytes, getTLVLength, getTLVType, getTLVValueLength, getTotalTLVLength, getTotalTLVLength, getType, hashCode, setTlv_bytes, setTLVType, setTLVValueLength
public AdministrativeGroup()
public AdministrativeGroup(byte[] bytes, int offset) throws MalformedOSPFSubTLVException
MalformedOSPFSubTLVException
public void encode() throws MalformedOSPFSubTLVException
encode
in class OSPFSubTLV
MalformedOSPFSubTLVException
protected void decode() throws MalformedOSPFSubTLVException
decode
in class OSPFSubTLV
MalformedOSPFSubTLVException
public int getAdministrativeGroup()
public void setAdministrativeGroup(int administrativeGroup)
public boolean isGroup(int groupNumber)
public void setGroup(int groupNumber)
Copyright © 2016. All rights reserved.