Class PiActionParam


  • @Beta
    public final class PiActionParam
    extends Object
    Instance of an action runtime parameter in a match+action table of a protocol-independent pipeline.
    • Constructor Detail

      • PiActionParam

        public PiActionParam​(PiActionParamId id,
                             ImmutableByteSequence value)
        Creates an action's runtime parameter for the given param ID and byte sequence value.
        Parameters:
        id - parameter identifier
        value - value
      • PiActionParam

        public PiActionParam​(PiActionParamId id,
                             byte value)
        Creates an action's runtime parameter for the given param ID and byte value.
        Parameters:
        id - parameter identifier
        value - value
      • PiActionParam

        public PiActionParam​(PiActionParamId id,
                             short value)
        Creates an action's runtime parameter for the given param ID and short value.
        Parameters:
        id - parameter identifier
        value - value
      • PiActionParam

        public PiActionParam​(PiActionParamId id,
                             int value)
        Creates an action's runtime parameter for the given param ID and int value.
        Parameters:
        id - parameter identifier
        value - value
      • PiActionParam

        public PiActionParam​(PiActionParamId id,
                             long value)
        Creates an action's runtime parameter for the given param ID and long value.
        Parameters:
        id - parameter identifier
        value - value
      • PiActionParam

        public PiActionParam​(PiActionParamId id,
                             byte[] value)
        Creates an action's runtime parameter for the given param ID and byte array value.
        Parameters:
        id - parameter identifier
        value - value
      • PiActionParam

        public PiActionParam​(PiActionParamId id,
                             String value)
        Creates an action's runtime parameter for the given param ID and string value.
        Parameters:
        id - parameter identifier
        value - value