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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeEid
(ByteBuffer buffer, LispAddressSerializerContext ctx) protected Eid
deserializeEidData
(ByteBuffer buffer, LispAddressSerializerContext ctx) protected Eid
deserializeLcafEidData
(ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx) protected Rloc
deserializeLcafRlocData
(ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx) deserializeRloc
(ByteBuffer buffer) protected Rloc
deserializeRlocData
(ByteBuffer buffer) protected SimpleAddress
int
getAddressSize
(LispAddress lispAddress) protected int
getAddressSize
(SimpleAddress address) protected short
getAfi()
static LispAddressSerializer
protected short
getLcafLength
(LispAddress lispAddress) protected byte
protected InstanceIdType
void
serialize
(ByteBuffer buffer, LispAddress lispAddress) protected void
serializeData
(ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix lispAddress) protected void
serializeData
(ByteBuffer buffer, LispAddress lispAddress) protected void
serializeData
(ByteBuffer buffer, SimpleAddress lispAddress)
-
Field Details
-
DEFAULT_VNI
-
-
Constructor Details
-
LispAddressSerializer
protected LispAddressSerializer()
-
-
Method Details
-
getInstance
-
serializeData
-
serializeData
-
serializeData
protected void serializeData(ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix lispAddress) -
deserializeEidData
-
deserializeSimpleAddressData
protected SimpleAddress deserializeSimpleAddressData(ByteBuffer buffer, LispAddressSerializerContext ctx) -
deserializeLcafEidData
protected Eid deserializeLcafEidData(ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx) -
deserializeRlocData
-
deserializeLcafRlocData
protected Rloc deserializeLcafRlocData(ByteBuffer buffer, byte res2, short length, LispAddressSerializerContext ctx) -
getAfi
protected short getAfi() -
getLcafType
protected byte getLcafType() -
getLcafLength
-
getAddressSize
-
getAddressSize
-
getVni
-
serialize
-
deserializeEid
-
deserializeRloc
-