public static final class DefaultLispInfoReply.DefaultInfoReplyBuilder extends Object implements LispInfoReply.InfoReplyBuilder
| Constructor and Description |
|---|
DefaultInfoReplyBuilder() |
| Modifier and Type | Method and Description |
|---|---|
LispInfoReply |
build()
Builds LISP info reply message.
|
LispType |
getType()
Obtains LISP message type.
|
LispInfoReply.InfoReplyBuilder |
withAuthData(byte[] authenticationData)
Sets authentication data.
|
LispInfoReply.InfoReplyBuilder |
withAuthDataLength(short authDataLength)
Sets authentication data length.
|
LispInfoReply.InfoReplyBuilder |
withAuthKey(String key)
Sets authentication key.
|
LispInfoReply.InfoReplyBuilder |
withEidPrefix(LispAfiAddress eidPrefix)
Sets EID prefix.
|
LispInfoReply.InfoReplyBuilder |
withIsInfoReply(boolean infoReply)
Sets info reply flag value.
|
LispInfoReply.InfoReplyBuilder |
withKeyId(short keyId)
Sets key identifier.
|
LispInfoReply.InfoReplyBuilder |
withMaskLength(byte maskLength)
Sets EID prefix mask length.
|
LispInfoReply.InfoReplyBuilder |
withNatLcafAddress(LispNatLcafAddress natLcafAddress)
Sets NAT LCAF address.
|
LispInfoReply.InfoReplyBuilder |
withNonce(long nonce)
Sets nonce value.
|
LispInfoReply.InfoReplyBuilder |
withTtl(int ttl)
Sets Time-To-Live value.
|
public LispType getType()
LispMessage.BuildergetType in interface LispMessage.Builderpublic LispInfoReply.InfoReplyBuilder withIsInfoReply(boolean infoReply)
InfoBuilderwithIsInfoReply in interface InfoBuilder<LispInfoReply.InfoReplyBuilder>infoReply - info replypublic LispInfoReply.InfoReplyBuilder withNonce(long nonce)
InfoBuilderwithNonce in interface InfoBuilder<LispInfoReply.InfoReplyBuilder>nonce - nonce valuepublic LispInfoReply.InfoReplyBuilder withAuthDataLength(short authDataLength)
InfoBuilderwithAuthDataLength in interface InfoBuilder<LispInfoReply.InfoReplyBuilder>authDataLength - authentication data lengthpublic LispInfoReply.InfoReplyBuilder withKeyId(short keyId)
InfoBuilderwithKeyId in interface InfoBuilder<LispInfoReply.InfoReplyBuilder>keyId - key identifierpublic LispInfoReply.InfoReplyBuilder withAuthData(byte[] authenticationData)
InfoBuilderwithAuthData in interface InfoBuilder<LispInfoReply.InfoReplyBuilder>authenticationData - authentication datapublic LispInfoReply.InfoReplyBuilder withAuthKey(String key)
InfoBuilderwithAuthKey in interface InfoBuilder<LispInfoReply.InfoReplyBuilder>key - authentication keypublic LispInfoReply.InfoReplyBuilder withTtl(int ttl)
InfoBuilderwithTtl in interface InfoBuilder<LispInfoReply.InfoReplyBuilder>ttl - Time-To-Live valuepublic LispInfoReply.InfoReplyBuilder withMaskLength(byte maskLength)
InfoBuilderwithMaskLength in interface InfoBuilder<LispInfoReply.InfoReplyBuilder>maskLength - EID prefix mask lengthpublic LispInfoReply.InfoReplyBuilder withEidPrefix(LispAfiAddress eidPrefix)
InfoBuilderwithEidPrefix in interface InfoBuilder<LispInfoReply.InfoReplyBuilder>eidPrefix - EID prefixpublic LispInfoReply.InfoReplyBuilder withNatLcafAddress(LispNatLcafAddress natLcafAddress)
LispInfoReply.InfoReplyBuilderwithNatLcafAddress in interface LispInfoReply.InfoReplyBuildernatLcafAddress - NAT LCAF addresspublic LispInfoReply build()
LispInfoReply.InfoReplyBuilderbuild in interface LispInfoReply.InfoReplyBuilder