protected static class LispLcafAddress.LcafAddressBuilder<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected byte |
flag |
protected byte |
lcafType |
protected short |
length |
protected byte |
reserved1 |
protected byte |
reserved2 |
| Modifier | Constructor and Description |
|---|---|
protected |
LcafAddressBuilder() |
| Modifier and Type | Method and Description |
|---|---|
LispLcafAddress |
build()
Builds LispLcafAddress object.
|
T |
withFlag(byte flag)
Sets flag.
|
T |
withLcafType(byte lcafType)
Sets LCAF type.
|
T |
withLength(short length)
Sets length value.
|
T |
withReserved1(byte reserved1)
Sets reserved1 value.
|
T |
withReserved2(byte reserved2)
Sets reserved2 value.
|
protected byte reserved1
protected byte flag
protected byte lcafType
protected byte reserved2
protected short length
public T withReserved1(byte reserved1)
reserved1 - reserved1 valuepublic T withFlag(byte flag)
flag - flag booleanpublic T withLcafType(byte lcafType)
lcafType - LCAF typepublic T withReserved2(byte reserved2)
reserved2 - reserved2 valuepublic T withLength(short length)
length - length valuepublic LispLcafAddress build()