public final class LispAsLcafAddress extends LispLcafAddress
AS Number type is defined in draft-ietf-lisp-lcaf-22 https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-9
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AFI = 16387 | Rsvd1 | Flags | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type = 3 | Rsvd2 | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AS Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AFI = x | Address ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Modifier and Type | Class and Description |
|---|---|
static class |
LispAsLcafAddress.AsAddressBuilder |
static class |
LispAsLcafAddress.AsLcafAddressReader
AS number LCAF address reader class.
|
static class |
LispAsLcafAddress.AsLcafAddressWriter
AS number LCAF address writer class.
|
LispLcafAddress.LcafAddressBuilder<T>, LispLcafAddress.LcafAddressReader, LispLcafAddress.LcafAddressWriterLispAfiAddress.AfiAddressReader, LispAfiAddress.AfiAddressWriterCOMMON_HEADER_SIZE| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
LispAfiAddress |
getAddress()
Obtains address.
|
int |
getAsNumber()
Obtains AS number.
|
int |
hashCode() |
String |
toString() |
deserializeCommon, getFlag, getLength, getReserved1, getReserved2, getType, serializeCommon, updateLengthgetAfipublic LispAfiAddress getAddress()
public int getAsNumber()
public int hashCode()
hashCode in class LispLcafAddresspublic boolean equals(Object obj)
equals in class LispLcafAddresspublic String toString()
toString in class LispLcafAddress