Class SimpleAddressSerializer


  • public class SimpleAddressSerializer
    extends java.lang.Object
    Class to (de)serialize addresses that can be used in an LCAF.
    Author:
    Lorand Jakab
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleAddressSerializer

        protected SimpleAddressSerializer()
    • Method Detail

      • 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)