com.h3c.sdn.tvue

## Interface Flow

-     public interface Flow

  Sparse and immutable description of a network flow.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<FlowField>` | `fields()` Returns all fields of the flow descriptor.
    `<T> T` | `get(FlowField field, Class<T> type)` Returns the value of the specified field of the flow descriptor.

- - ### Method Detail

    - #### get

          <T> T get(FlowField field,
                  Class<T> type)

      Returns the value of the specified field of the flow descriptor.
      Parameters:
        `field` - field to be queried
        `type` - type of the field value
      Returns:
        value field value; null if none set

    - #### fields

          Set<FlowField> fields()

      Returns all fields of the flow descriptor.
      Returns:
        set of filter fields which have values set on them

Copyright © 2014. All Rights Reserved.