public class BGP4CapabilitiesOptionalParameter extends BGP4OptionalParameter
       +------------------------------+
       | Capability Code (1 octet)    |
       +------------------------------+
       | Capability Length (1 octet)  |
       +------------------------------+
       | Capability Value (variable)  |
       +------------------------------+
 
   The use and meaning of these fields are as follows:
      Capability Code:
         Capability Code is a one octet field that unambiguously
         identifies individual capabilities.
      Capability Length:
         Capability Length is a one octet field that contains the length
         of the Capability Value field in octets.
      Capability Value:
         Capability Value is a variable length field that is interpreted
         according to the value of the Capability Code field.parameterLength, typebytes, length| Constructor and Description | 
|---|
BGP4CapabilitiesOptionalParameter()  | 
BGP4CapabilitiesOptionalParameter(byte[] bytes,
                                 int offset)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
decode()  | 
void | 
encode()  | 
LinkedList<BGP4Capability> | 
getCapabilityList()  | 
void | 
setCapabilityList(LinkedList<BGP4Capability> capabilityList)  | 
encodeOptionalParameterHeader, getBytes, getLength, getLength, getParameterLength, getParameterLength, getType, getType, setBytes, setParameterLength, setTypeequals, hashCode, setLengthpublic BGP4CapabilitiesOptionalParameter()
public BGP4CapabilitiesOptionalParameter(byte[] bytes,
                                         int offset)
public void encode()
public void decode()
public LinkedList<BGP4Capability> getCapabilityList()
public void setCapabilityList(LinkedList<BGP4Capability> capabilityList)
Copyright © 2016. All rights reserved.