Package org.openflow.protocol.OFPhysicalPort

Examples of org.openflow.protocol.OFPhysicalPort.PortSpeed


     * enabled, otherwise return SPEED_NONE
     */
    public PortSpeed getCurrentPortSpeed() {
        if (!isEnabled())
            return PortSpeed.SPEED_NONE;
        PortSpeed maxSpeed = PortSpeed.SPEED_NONE;
        for (OFPortFeatures f: currentFeatures)
            PortSpeed.max(maxSpeed, f.getSpeed());
        return maxSpeed;
    }
View Full Code Here

TOP

Related Classes of org.openflow.protocol.OFPhysicalPort.PortSpeed

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.