public final class LispGeoCoordinateLcafAddress extends LispLcafAddress
Geo Coordinate type is defined in draft-ietf-lisp-lcaf-22 https://tools.ietf.org/html/draft-ietf-lisp-lcaf-22#page-11
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 = 5 | Rsvd2 | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |N| Latitude Degrees | Minutes | Seconds | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |E| Longitude Degrees | Minutes | Seconds | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Altitude | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AFI = x | Address ... | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Modifier and Type | Class and Description |
|---|---|
static class |
LispGeoCoordinateLcafAddress.GeoCoordinateAddressBuilder |
static class |
LispGeoCoordinateLcafAddress.GeoCoordinateLcafAddressReader
GeoCoordinate LCAF address reader class.
|
static class |
LispGeoCoordinateLcafAddress.GeoCoordinateLcafAddressWriter
GeoCoordinate 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 AFI address.
|
int |
getAltitude()
Obtains altitude.
|
short |
getLatitudeDegree()
Obtains latitude degree.
|
byte |
getLatitudeMinute()
Obtains latitude minute.
|
byte |
getLatitudeSecond()
Obtains latitude second.
|
short |
getLongitudeDegree()
Obtains longitude degree.
|
byte |
getLongitudeMinute()
Obtains longitude minute.
|
byte |
getLongitudeSecond()
Obtains longitude second.
|
int |
hashCode() |
boolean |
isEast()
Obtains east flag value.
|
boolean |
isNorth()
Obtains north flag value.
|
String |
toString() |
deserializeCommon, getFlag, getLength, getReserved1, getReserved2, getType, serializeCommon, updateLengthgetAfipublic boolean isNorth()
public short getLatitudeDegree()
public byte getLatitudeMinute()
public byte getLatitudeSecond()
public boolean isEast()
public short getLongitudeDegree()
public byte getLongitudeMinute()
public byte getLongitudeSecond()
public int getAltitude()
public LispAfiAddress getAddress()
public int hashCode()
hashCode in class LispLcafAddresspublic boolean equals(Object obj)
equals in class LispLcafAddresspublic String toString()
toString in class LispLcafAddress