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(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
protected byte
getLcafType()
protected void
serializeData(java.nio.ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
protected void
serializeNonLcafAddress(java.nio.ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.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(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.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, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
- Overrides:
serializeData
in classLcafSerializer
-
serializeNonLcafAddress
protected void serializeNonLcafAddress(java.nio.ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
-
deserializeLcafEidData
protected Eid deserializeLcafEidData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
- Overrides:
deserializeLcafEidData
in classLispAddressSerializer
-
-