Class Bridge

  • All Implemented Interfaces:
    Topology

    public class Bridge
    extends java.lang.Object
    implements Topology
    • Method Detail

      • getIdentifier

        public static java.util.Set<java.lang.String> getIdentifier​(java.util.List<BridgeElement> elems)
      • getDesignated

        public static java.lang.String getDesignated​(java.util.List<BridgeElement> elems)
      • createRootBridge

        public static Bridge createRootBridge​(BroadcastDomain domain,
                                              java.lang.Integer nodeid)
      • create

        public static Bridge create​(BroadcastDomain domain,
                                    java.lang.Integer nodeid,
                                    java.lang.Integer rootport)
      • getRootPort

        public java.lang.Integer getRootPort()
      • isNewTopology

        public boolean isNewTopology()
      • setRootPort

        public void setRootPort​(java.lang.Integer rootPort)
      • isRootBridge

        public boolean isRootBridge()
      • setRootBridge

        public void setRootBridge()
      • getNodeId

        public java.lang.Integer getNodeId()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • printTopology

        public java.lang.String printTopology()
        Specified by:
        printTopology in interface Topology
      • getIdentifiers

        public java.util.Set<java.lang.String> getIdentifiers()
      • setIdentifiers

        public void setIdentifiers​(java.util.Set<java.lang.String> identifiers)
      • getDesignated

        public java.lang.String getDesignated()
      • setDesignated

        public void setDesignated​(java.lang.String designated)
      • clear

        public void clear()