Class Port


  • public class Port
    extends Object
    Objects of this class represents physical switch ports
    • Constructor Detail

      • Port

        public Port​(long objectId,
                    long ifIndex,
                    int chassis,
                    int module,
                    int pic,
                    int port)
        Parameters:
        objectId - object id
        ifIndex - interface index
        chassis - chassis
        module - module
        pic - physical interface card
        port - port
    • Method Detail

      • getChassis

        public int getChassis()
        Returns:
        the chassis
      • getModule

        public int getModule()
        Returns:
        module number
      • getPIC

        public int getPIC()
        Returns:
        the pic
      • getPort

        public int getPort()
        Returns:
        the port
      • getObjectId

        public long getObjectId()
        Returns:
        the objectId
      • getIfIndex

        public long getIfIndex()
        Returns:
        the ifIndex