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