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 SimpleAddress
deserialize(java.nio.ByteBuffer buffer, LispAddressSerializerContext ctx)
int
getAddressSize(SimpleAddress address)
static SimpleAddressSerializer
getInstance()
void
serialize(java.nio.ByteBuffer buffer, SimpleAddress address)
-
-
-
Method Detail
-
getInstance
public static SimpleAddressSerializer getInstance()
-
getAddressSize
public int getAddressSize(SimpleAddress address)
-
serialize
public void serialize(java.nio.ByteBuffer buffer, SimpleAddress address)
-
deserialize
public SimpleAddress deserialize(java.nio.ByteBuffer buffer, LispAddressSerializerContext ctx)
-
-