Class AbstractExperimenterMatchCodec

    • Constructor Detail

      • AbstractExperimenterMatchCodec

        public AbstractExperimenterMatchCodec()
    • Method Detail

      • createDeserializerKey

        protected static MatchEntryDeserializerKey createDeserializerKey​(org.opendaylight.yangtools.yang.common.Uint8 version,
                                                                         org.opendaylight.yangtools.yang.common.Uint32 expId,
                                                                         int fieldCode)
      • serialize

        public void serialize​(MatchEntry input,
                              io.netty.buffer.ByteBuf outBuffer)
        Description copied from interface: OFSerializer
        Transforms POJO/DTO into byte message (ByteBuf).
        Parameters:
        input - object to be serialized
        outBuffer - output buffer
      • serializeValue

        protected abstract void serializeValue​(NxExpMatchEntryValue value,
                                               boolean hasMask,
                                               io.netty.buffer.ByteBuf outBuffer)
      • deserialize

        public MatchEntry deserialize​(io.netty.buffer.ByteBuf message)
        Description copied from interface: OFDeserializer
        Transforms byte message into POJO/DTO (of type E).
        Parameters:
        message - message as bytes in ByteBuf
        Returns:
        POJO/DTO
      • deserializeValue

        protected abstract NxExpMatchEntryValue deserializeValue​(io.netty.buffer.ByteBuf message,
                                                                 boolean hasMask)
      • getExperimenterId

        protected abstract @NonNull org.opendaylight.yangtools.yang.common.Uint32 getExperimenterId()