org.openflow.protocol.queue
Class OFQueuePropertyMinRate
java.lang.Object
org.openflow.protocol.queue.OFQueueProperty
org.openflow.protocol.queue.OFQueuePropertyMinRate
- All Implemented Interfaces:
- java.lang.Cloneable
public class OFQueuePropertyMinRate
- extends OFQueueProperty
Corresponds to the struct struct ofp_queue_prop_min_rate OpenFlow structure
- Author:
- David Erickson (daviderickson@cs.stanford.edu)
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MINIMUM_LENGTH
public static int MINIMUM_LENGTH
rate
protected short rate
OFQueuePropertyMinRate
public OFQueuePropertyMinRate()
getRate
public short getRate()
- Returns:
- the rate
setRate
public OFQueuePropertyMinRate setRate(short rate)
- Parameters:
rate
- the rate to set
readFrom
public void readFrom(java.nio.ByteBuffer data)
- Overrides:
readFrom
in class OFQueueProperty
writeTo
public void writeTo(java.nio.ByteBuffer data)
- Overrides:
writeTo
in class OFQueueProperty
hashCode
public int hashCode()
- Overrides:
hashCode
in class OFQueueProperty
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OFQueueProperty
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object