Class MacSerializer
java.lang.Object
org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
org.opendaylight.lispflowmapping.lisp.serializer.address.MacSerializer
-
Field Summary
Fields inherited from class org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
DEFAULT_VNI
-
Method Summary
Modifier and TypeMethodDescriptionprotected Eid
deserializeEidData
(ByteBuffer buffer, LispAddressSerializerContext ctx) protected Rloc
deserializeRlocData
(ByteBuffer buffer) protected SimpleAddress
int
getAddressSize
(LispAddress lispAddress) int
getAddressSize
(SimpleAddress simpleAddress) protected short
getAfi()
static MacSerializer
protected void
serializeData
(ByteBuffer buffer, LispAddress lispAddress) protected void
serializeData
(ByteBuffer buffer, SimpleAddress simpleAddress) Methods inherited from class org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
deserializeEid, deserializeLcafEidData, deserializeLcafRlocData, deserializeRloc, getLcafLength, getLcafType, getVni, serialize, serializeData
-
Method Details
-
getInstance
-
getAddressSize
- Overrides:
getAddressSize
in classLispAddressSerializer
-
getAddressSize
- Overrides:
getAddressSize
in classLispAddressSerializer
-
getAfi
protected short getAfi()- Overrides:
getAfi
in classLispAddressSerializer
-
serializeData
- Overrides:
serializeData
in classLispAddressSerializer
-
serializeData
- Overrides:
serializeData
in classLispAddressSerializer
-
deserializeEidData
- Overrides:
deserializeEidData
in classLispAddressSerializer
-
deserializeRlocData
- Overrides:
deserializeRlocData
in classLispAddressSerializer
-
deserializeSimpleAddressData
protected SimpleAddress deserializeSimpleAddressData(ByteBuffer buffer, LispAddressSerializerContext ctx) - Overrides:
deserializeSimpleAddressData
in classLispAddressSerializer
-