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, setTLVValueLengthpublic AdministrativeGroup()
public AdministrativeGroup(byte[] bytes,
int offset)
throws MalformedOSPFSubTLVException
MalformedOSPFSubTLVExceptionpublic void encode()
throws MalformedOSPFSubTLVException
encode in class OSPFSubTLVMalformedOSPFSubTLVExceptionprotected void decode()
throws MalformedOSPFSubTLVException
decode in class OSPFSubTLVMalformedOSPFSubTLVExceptionpublic int getAdministrativeGroup()
public void setAdministrativeGroup(int administrativeGroup)
public boolean isGroup(int groupNumber)
public void setGroup(int groupNumber)
Copyright © 2016. All rights reserved.