Class Ipv4PrefixSerializer
java.lang.Object
org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv4PrefixSerializer
Class to (de)serialize IPv4 prefixes from/to String representation.
- Author:
- Lorand Jakab
-
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 Ipv4PrefixSerializer
protected void
serializeData
(ByteBuffer buffer, LispAddress lispAddress) protected void
serializeData
(ByteBuffer buffer, SimpleAddress address) Methods inherited from class org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
deserializeEid, deserializeLcafEidData, deserializeLcafRlocData, deserializeRloc, getLcafLength, getLcafType, getVni, serialize, serializeData
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG
-
-
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
-