Class SimpleAddressSerializer
- java.lang.Object
-
- org.opendaylight.lispflowmapping.lisp.serializer.address.SimpleAddressSerializer
-
public class SimpleAddressSerializer extends java.lang.Object
Class to (de)serialize addresses that can be used in an LCAF.- Author:
- Lorand Jakab
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimpleAddressSerializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress
deserialize(java.nio.ByteBuffer buffer, LispAddressSerializerContext ctx)
int
getAddressSize(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress address)
static SimpleAddressSerializer
getInstance()
void
serialize(java.nio.ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress address)
-
-
-
Method Detail
-
getInstance
public static SimpleAddressSerializer getInstance()
-
getAddressSize
public int getAddressSize(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress address)
-
serialize
public void serialize(java.nio.ByteBuffer buffer, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress address)
-
deserialize
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress deserialize(java.nio.ByteBuffer buffer, LispAddressSerializerContext ctx)
-
-