Class AfiListSerializer
- java.lang.Object
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.LcafSerializer
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.AfiListSerializer
-
public final class AfiListSerializer 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 Eid
deserializeLcafEidData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
Rloc
deserializeLcafRlocData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
protected short
getAfi()
static AfiListSerializer
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 AfiListSerializer 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
public Eid deserializeLcafEidData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
- Overrides:
deserializeLcafEidData
in classLispAddressSerializer
-
deserializeLcafRlocData
public Rloc deserializeLcafRlocData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
- Overrides:
deserializeLcafRlocData
in classLispAddressSerializer
-
-