Class Ipv6PrefixBinarySerializer
java.lang.Object
org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6PrefixBinarySerializer
Class to (de)serialize IPv6 prefixes from/to byte[] 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 Ipv6PrefixBinarySerializer
protected void
serializeData
(ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix prefix) protected void
serializeData
(ByteBuffer buffer, LispAddress lispAddress) 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
protected void serializeData(ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix prefix) - 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
-