org.openflow.protocol
Class OFQueueGetConfigReply
java.lang.Object
org.openflow.protocol.OFMessage
org.openflow.protocol.OFQueueGetConfigReply
- All Implemented Interfaces:
- java.lang.Cloneable, OFQueuePropertyFactoryAware
public class OFQueueGetConfigReply
- extends OFMessage
- implements java.lang.Cloneable, OFQueuePropertyFactoryAware
- 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
queuePropertyFactory
protected OFQueuePropertyFactory queuePropertyFactory
portNumber
protected int portNumber
queues
protected java.util.List<OFPacketQueue> queues
OFQueueGetConfigReply
public OFQueueGetConfigReply()
getPortNumber
public int getPortNumber()
- Returns:
- the portNumber
setPortNumber
public OFQueueGetConfigReply setPortNumber(int portNumber)
- Parameters:
port
- the portNumber to set
getQueues
public java.util.List<OFPacketQueue> getQueues()
- Returns:
- the queues
setQueues
public OFQueueGetConfigReply setQueues(java.util.List<OFPacketQueue> queues)
- Parameters:
queues
- the queues to set
readFrom
public void readFrom(java.nio.ByteBuffer data)
- Description copied from class:
OFMessage
- Read this message off the wire from the specified ByteBuffer
- Overrides:
readFrom
in class OFMessage
writeTo
public void writeTo(java.nio.ByteBuffer data)
- Description copied from class:
OFMessage
- Write this message's binary format to the specified ByteBuffer
- Overrides:
writeTo
in class OFMessage
hashCode
public int hashCode()
- Overrides:
hashCode
in class OFMessage
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OFMessage
setQueuePropertyFactory
public void setQueuePropertyFactory(OFQueuePropertyFactory queuePropertyFactory)
- Description copied from interface:
OFQueuePropertyFactoryAware
- Sets the OFQueuePropertyFactory
- Specified by:
setQueuePropertyFactory
in interface OFQueuePropertyFactoryAware
clone
public OFQueueGetConfigReply clone()
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Description copied from class:
OFMessage
- Returns a summary of the message
- Overrides:
toString
in class OFMessage
- Returns:
- "ofmsg=v=$version;t=$type:l=$len:xid=$xid"
computeLength
public void computeLength()
- Description copied from class:
OFMessage
- This method is called during the writeTo method for serialization and
is expected to set the length of the message. If your class manually
sets the length you should override this to do nothing.
- Overrides:
computeLength
in class OFMessage