Class ExperimenterSerializerKeyFactory


  • public abstract class ExperimenterSerializerKeyFactory
    extends Object
    Factory for creating experimenter serializer keys.
    Author:
    michal.polkorab
    • Constructor Detail

      • ExperimenterSerializerKeyFactory

        public ExperimenterSerializerKeyFactory()
    • Method Detail

      • createExperimenterMessageSerializerKey

        public static ExperimenterIdSerializerKey<ExperimenterDataOfChoice> createExperimenterMessageSerializerKey​(short msgVersion,
                                                                                                                   long experimenterId,
                                                                                                                   long type)
        Creates an experimenter message serializer key.
        Parameters:
        msgVersion - openflow wire version
        experimenterId - experimenter / vendor ID
        type - experimenter type according to vendor implementation
        Returns:
        key instance
      • createMultipartRequestSerializerKey

        public static ExperimenterIdSerializerKey<ExperimenterDataOfChoice> createMultipartRequestSerializerKey​(short msgVersion,
                                                                                                                long experimenterId,
                                                                                                                long type)
        Creates a multi-part request serializer key.
        Parameters:
        msgVersion - openflow wire version
        experimenterId - experimenter / vendor ID
        type - experimenter type according to vendor implementation
        Returns:
        key instance
      • createMultipartRequestTFSerializerKey

        public static ExperimenterIdSerializerKey<TableFeatureProperties> createMultipartRequestTFSerializerKey​(short msgVersion,
                                                                                                                long experimenterId)
        Creates a multi-part request TF serializer key.
        Parameters:
        msgVersion - openflow wire version
        experimenterId - experimenter / vendor ID
        Returns:
        key instance
      • createMeterBandSerializerKey

        public static ExperimenterIdSerializerKey<MeterBandExperimenterCase> createMeterBandSerializerKey​(short msgVersion,
                                                                                                          long experimenterId)
        Creates a meter band serializer key.
        Parameters:
        msgVersion - openflow wire version
        experimenterId - experimenter / vendor ID
        Returns:
        key instance