Class Ipv6Serializer
- java.lang.Object
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.Ipv6Serializer
-
public final class Ipv6Serializer extends LispAddressSerializer
Class to (de)serialize IPv6 addresses from/to String representation.- Author:
- Lorand Jakab
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
Ipv6Serializer.Length
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOG
-
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
deserializeEidData(java.nio.ByteBuffer buffer, LispAddressSerializerContext ctx)
protected Rloc
deserializeRlocData(java.nio.ByteBuffer buffer)
protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress
deserializeSimpleAddressData(java.nio.ByteBuffer buffer, LispAddressSerializerContext ctx)
int
getAddressSize(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
int
getAddressSize(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress simpleAddress)
protected short
getAfi()
static Ipv6Serializer
getInstance()
protected void
serializeData(java.nio.ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
protected void
serializeData(java.nio.ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress address)
-
Methods inherited from class org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
deserializeEid, deserializeLcafEidData, deserializeLcafRlocData, deserializeRloc, getLcafLength, getLcafType, getVni, serialize, serializeData
-
-
-
-
Method Detail
-
getInstance
public static Ipv6Serializer getInstance()
-
getAddressSize
public int getAddressSize(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
- Overrides:
getAddressSize
in classLispAddressSerializer
-
getAddressSize
public int getAddressSize(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress simpleAddress)
- Overrides:
getAddressSize
in classLispAddressSerializer
-
getAfi
protected short getAfi()
- Overrides:
getAfi
in classLispAddressSerializer
-
serializeData
protected void serializeData(java.nio.ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
- Overrides:
serializeData
in classLispAddressSerializer
-
serializeData
protected void serializeData(java.nio.ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress address)
- Overrides:
serializeData
in classLispAddressSerializer
-
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
-
deserializeSimpleAddressData
protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress deserializeSimpleAddressData(java.nio.ByteBuffer buffer, LispAddressSerializerContext ctx)
- Overrides:
deserializeSimpleAddressData
in classLispAddressSerializer
-
-