Enum IntMetadataType

    • Enum Constant Detail

      • SWITCH_ID

        public static final IntMetadataType SWITCH_ID
        ID of a switch, unique in the scope of the whole network.
      • L1_PORT_ID

        public static final IntMetadataType L1_PORT_ID
        The port on which the INT packet was received and sent out.
      • HOP_LATENCY

        public static final IntMetadataType HOP_LATENCY
        Time taken for the INT packet to be switched within the device.
      • QUEUE_OCCUPANCY

        public static final IntMetadataType QUEUE_OCCUPANCY
        The build-up of traffic in the queue that the INT packet observes in the device while being forwarded.
      • INGRESS_TIMESTAMP

        public static final IntMetadataType INGRESS_TIMESTAMP
        The device local time when the INT packet was received on the ingress port.
      • EGRESS_TIMESTAMP

        public static final IntMetadataType EGRESS_TIMESTAMP
        The device local time when the INT packet was processed by the egress port.
      • L2_PORT_ID

        public static final IntMetadataType L2_PORT_ID
        The logical ports on which the INT packet was received and sent out.
      • EGRESS_TX_UTIL

        public static final IntMetadataType EGRESS_TX_UTIL
        Current utilization of the egress port via witch the INT packet was sent out.
    • Method Detail

      • values

        public static IntMetadataType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IntMetadataType c : IntMetadataType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IntMetadataType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null