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