com.h3c.sdn.common

## Interface ConnectionPoint

- All Known Implementing Classes:
    ConnectionPointDTO

      public interface ConnectionPoint

  Represents a <switch,port> tuple. Implementors can use either an infrastructure port or an edge port for creating a well defined connection point.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `ConnectionPoint.Type` Represents the type of connection point.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `DataPathId` | `device()` Retrieves the datapathid associated with the referred connection point
    `BigPortNumber` | `port()` Retrieves the port number associated with the referred connection point.
    `ConnectionPoint.Type` | `type()` Retrieves the type (infrastructure or edge) of connection point.

- - ### Method Detail

    - #### device

          DataPathId device()

      Retrieves the datapathid associated with the referred connection point
      Returns:
        dpid the controller learnt switch or datapath

    - #### port

          BigPortNumber port()

      Retrieves the port number associated with the referred connection point.
      Returns:
        the port number

    - #### type

          ConnectionPoint.Type type()

      Retrieves the type (infrastructure or edge) of connection point.
      Returns:
        the type of the referred connection point

Copyright © 2014. All Rights Reserved.