Class KeyValueAddressSerializer
- java.lang.Object
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.LcafSerializer
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.KeyValueAddressSerializer
-
public final class KeyValueAddressSerializer extends LcafSerializer
-
-
Field Summary
-
Fields inherited from class org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
DEFAULT_VNI
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Eid
deserializeLcafEidData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
protected Rloc
deserializeLcafRlocData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
protected short
getAfi()
static KeyValueAddressSerializer
getInstance()
protected short
getLcafLength(LispAddress lispAddress)
protected byte
getLcafType()
protected void
serializeData(java.nio.ByteBuffer buffer, LispAddress lispAddress)
-
Methods inherited from class org.opendaylight.lispflowmapping.lisp.serializer.address.LcafSerializer
deserializeEidData, deserializeRlocData, getAddressSize, getLcafHeaderSize, serializeLCAFAddressHeaderForInstanceId
-
Methods inherited from class org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
deserializeEid, deserializeRloc, deserializeSimpleAddressData, getAddressSize, getVni, serialize, serializeData, serializeData
-
-
-
-
Method Detail
-
getInstance
public static KeyValueAddressSerializer getInstance()
-
getLcafType
protected byte getLcafType()
- Overrides:
getLcafType
in classLispAddressSerializer
-
getLcafLength
protected short getLcafLength(LispAddress lispAddress)
- Overrides:
getLcafLength
in classLcafSerializer
-
getAfi
protected short getAfi()
- Overrides:
getAfi
in classLcafSerializer
-
serializeData
protected void serializeData(java.nio.ByteBuffer buffer, LispAddress lispAddress)
- Overrides:
serializeData
in classLcafSerializer
-
deserializeLcafEidData
protected Eid deserializeLcafEidData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
- Overrides:
deserializeLcafEidData
in classLispAddressSerializer
-
deserializeLcafRlocData
protected Rloc deserializeLcafRlocData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
- Overrides:
deserializeLcafRlocData
in classLispAddressSerializer
-
-