public static final class DefaultLispMapRegister.DefaultRegisterBuilder extends Object implements LispMapRegister.RegisterBuilder
| Constructor and Description |
|---|
DefaultRegisterBuilder() |
| Modifier and Type | Method and Description |
|---|---|
LispMapRegister |
build()
Builds LISP map register message.
|
LispType |
getType()
Obtains LISP message type.
|
LispMapRegister.RegisterBuilder |
withAuthData(byte[] authenticationData)
Sets authentication data.
|
LispMapRegister.RegisterBuilder |
withAuthDataLength(short authDataLength)
Sets authentication data length.
|
LispMapRegister.RegisterBuilder |
withAuthKey(String key)
Sets authentication key.
|
LispMapRegister.RegisterBuilder |
withIsProxyMapReply(boolean proxyMapReply)
Sets isProxyMapReply flag.
|
LispMapRegister.RegisterBuilder |
withIsWantMapNotify(boolean wantMapNotify)
Sets isWantMapNotify flag.
|
LispMapRegister.RegisterBuilder |
withKeyId(short keyId)
Sets key identifier.
|
LispMapRegister.RegisterBuilder |
withMapRecords(List<LispMapRecord> mapRecords)
Sets a collection of map records.
|
LispMapRegister.RegisterBuilder |
withNonce(long nonce)
Sets nonce value.
|
public LispType getType()
LispMessage.BuildergetType in interface LispMessage.Builderpublic LispMapRegister.RegisterBuilder withIsProxyMapReply(boolean proxyMapReply)
LispMapRegister.RegisterBuilderwithIsProxyMapReply in interface LispMapRegister.RegisterBuilderproxyMapReply - isProxyMapReplypublic LispMapRegister.RegisterBuilder withIsWantMapNotify(boolean wantMapNotify)
LispMapRegister.RegisterBuilderwithIsWantMapNotify in interface LispMapRegister.RegisterBuilderwantMapNotify - isWantMapNotifypublic LispMapRegister.RegisterBuilder withNonce(long nonce)
LispMapRegister.RegisterBuilderwithNonce in interface LispMapRegister.RegisterBuildernonce - nonce valuepublic LispMapRegister.RegisterBuilder withAuthKey(String key)
LispMapRegister.RegisterBuilderwithAuthKey in interface LispMapRegister.RegisterBuilderkey - authentication keypublic LispMapRegister.RegisterBuilder withAuthDataLength(short authDataLength)
LispMapRegister.RegisterBuilderwithAuthDataLength in interface LispMapRegister.RegisterBuilderauthDataLength - authentication data lengthpublic LispMapRegister.RegisterBuilder withKeyId(short keyId)
LispMapRegister.RegisterBuilderwithKeyId in interface LispMapRegister.RegisterBuilderkeyId - key identifierpublic LispMapRegister.RegisterBuilder withAuthData(byte[] authenticationData)
LispMapRegister.RegisterBuilderwithAuthData in interface LispMapRegister.RegisterBuilderauthenticationData - authentication datapublic LispMapRegister.RegisterBuilder withMapRecords(List<LispMapRecord> mapRecords)
LispMapRegister.RegisterBuilderwithMapRecords in interface LispMapRegister.RegisterBuildermapRecords - a collection of map recordspublic LispMapRegister build()
LispMapRegister.RegisterBuilderbuild in interface LispMapRegister.RegisterBuilder