Class InstanceIdSerializer
- java.lang.Object
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.LcafSerializer
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.InstanceIdSerializer
-
public final class InstanceIdSerializer 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 short
getAfi()
static InstanceIdSerializer
getInstance()
protected int
getInstanceIdSize()
protected short
getLcafLength(LispAddress lispAddress)
protected byte
getLcafType()
protected void
serializeData(java.nio.ByteBuffer buffer, LispAddress lispAddress)
protected void
serializeNonLcafAddress(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, deserializeLcafRlocData, deserializeRloc, deserializeSimpleAddressData, getAddressSize, getVni, serialize, serializeData, serializeData
-
-
-
-
Method Detail
-
getInstance
public static InstanceIdSerializer getInstance()
-
getLcafType
protected byte getLcafType()
- Overrides:
getLcafType
in classLispAddressSerializer
-
getLcafLength
protected short getLcafLength(LispAddress lispAddress)
- Overrides:
getLcafLength
in classLcafSerializer
-
getInstanceIdSize
protected int getInstanceIdSize()
-
getAfi
protected short getAfi()
- Overrides:
getAfi
in classLcafSerializer
-
serializeData
protected void serializeData(java.nio.ByteBuffer buffer, LispAddress lispAddress)
- Overrides:
serializeData
in classLcafSerializer
-
serializeNonLcafAddress
protected void serializeNonLcafAddress(java.nio.ByteBuffer buffer, LispAddress lispAddress)
-
deserializeLcafEidData
protected Eid deserializeLcafEidData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
- Overrides:
deserializeLcafEidData
in classLispAddressSerializer
-
-