Class LispAddressSerializer

    • Field Detail

      • DEFAULT_VNI

        public static final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.InstanceIdType DEFAULT_VNI
    • Constructor Detail

      • LispAddressSerializer

        protected LispAddressSerializer()
    • Method Detail

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

        public Rloc deserializeRloc​(java.nio.ByteBuffer buffer)