Class LispAddressSerializer
- java.lang.Object
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.LispAddressSerializer
-
- Direct Known Subclasses:
DistinguishedNameSerializer
,Ipv4BinarySerializer
,Ipv4PrefixBinarySerializer
,Ipv4PrefixSerializer
,Ipv4Serializer
,Ipv6BinarySerializer
,Ipv6PrefixBinarySerializer
,Ipv6PrefixSerializer
,Ipv6Serializer
,LcafSerializer
,MacSerializer
,NoAddressSerializer
public class LispAddressSerializer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.InstanceIdType
DEFAULT_VNI
-
Constructor Summary
Constructors Modifier Constructor Description protected
LispAddressSerializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Eid
deserializeEid(java.nio.ByteBuffer buffer, LispAddressSerializerContext ctx)
protected Eid
deserializeEidData(java.nio.ByteBuffer buffer, LispAddressSerializerContext ctx)
protected Eid
deserializeLcafEidData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
protected Rloc
deserializeLcafRlocData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
Rloc
deserializeRloc(java.nio.ByteBuffer buffer)
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)
protected int
getAddressSize(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress address)
protected short
getAfi()
static LispAddressSerializer
getInstance()
protected short
getLcafLength(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
protected byte
getLcafType()
protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.InstanceIdType
getVni(LispAddressSerializerContext ctx)
void
serialize(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.inet.types.rev130715.IpPrefix lispAddress)
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 lispAddress)
-
-
-
Method Detail
-
getInstance
public static LispAddressSerializer getInstance()
-
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)
-
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 lispAddress)
-
serializeData
protected void serializeData(java.nio.ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix lispAddress)
-
deserializeEidData
protected Eid deserializeEidData(java.nio.ByteBuffer buffer, LispAddressSerializerContext ctx)
-
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)
-
deserializeLcafEidData
protected Eid deserializeLcafEidData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
-
deserializeRlocData
protected Rloc deserializeRlocData(java.nio.ByteBuffer buffer)
-
deserializeLcafRlocData
protected Rloc deserializeLcafRlocData(java.nio.ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx)
-
getAfi
protected short getAfi()
-
getLcafType
protected byte getLcafType()
-
getLcafLength
protected short getLcafLength(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
-
getAddressSize
protected int getAddressSize(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress address)
-
getAddressSize
public int getAddressSize(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
-
getVni
protected org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.InstanceIdType getVni(LispAddressSerializerContext ctx)
-
serialize
public void serialize(java.nio.ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.LispAddress lispAddress)
-
deserializeEid
public Eid deserializeEid(java.nio.ByteBuffer buffer, LispAddressSerializerContext ctx)
-
deserializeRloc
public Rloc deserializeRloc(java.nio.ByteBuffer buffer)
-
-