public abstract class AbstractLispRecord extends Object implements LispRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractLispRecord.AbstractRecordBuilder<T> |
LispRecord.RecordBuilder<T>| Modifier and Type | Field and Description |
|---|---|
protected LispMapReplyAction |
action |
protected boolean |
authoritative |
protected LispAfiAddress |
eidPrefixAfi |
protected short |
mapVersionNumber |
protected byte |
maskLength |
protected int |
recordTtl |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLispRecord(int recordTtl,
byte maskLength,
LispMapReplyAction action,
boolean authoritative,
short mapVersionNumber,
LispAfiAddress eidPrefixAfi) |
| Modifier and Type | Method and Description |
|---|---|
LispMapReplyAction |
getAction()
Obtains LispMapReplyAction enum code.
|
LispAfiAddress |
getEidPrefixAfi()
Obtains EID prefix.
|
short |
getMapVersionNumber()
Obtains map version number.
|
byte |
getMaskLength()
Obtains address mask length.
|
int |
getRecordTtl()
Obtains record TTL value.
|
boolean |
isAuthoritative()
Obtains authoritative flag.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteToprotected final int recordTtl
protected final byte maskLength
protected final LispMapReplyAction action
protected final boolean authoritative
protected final short mapVersionNumber
protected final LispAfiAddress eidPrefixAfi
protected AbstractLispRecord(int recordTtl,
byte maskLength,
LispMapReplyAction action,
boolean authoritative,
short mapVersionNumber,
LispAfiAddress eidPrefixAfi)
public int getRecordTtl()
LispRecordgetRecordTtl in interface LispRecordpublic byte getMaskLength()
LispRecordgetMaskLength in interface LispRecordpublic LispMapReplyAction getAction()
LispRecordgetAction in interface LispRecordpublic boolean isAuthoritative()
LispRecordisAuthoritative in interface LispRecordpublic short getMapVersionNumber()
LispRecordgetMapVersionNumber in interface LispRecordpublic LispAfiAddress getEidPrefixAfi()
LispRecordgetEidPrefixAfi in interface LispRecord