Class ServicePathSerializer
- java.lang.Object
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.LcafSerializer
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.ServicePathSerializer
-
public final class ServicePathSerializer extends LcafSerializer
Class to (de)serialize Service Path data type.- Author:
- Lorand Jakab
-
-
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 ServicePathSerializer
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, deserializeLcafRlocData, deserializeRloc, deserializeSimpleAddressData, getAddressSize, getVni, serialize, serializeData, serializeData
-
-
-
-
Method Detail
-
getInstance
public static ServicePathSerializer 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
-
-