org.openflow.protocol.instruction
Class OFInstructionMeter
java.lang.Object
org.openflow.protocol.instruction.OFInstruction
org.openflow.protocol.instruction.OFInstructionMeter
- All Implemented Interfaces:
- java.lang.Cloneable
public class OFInstructionMeter
- extends OFInstruction
Represents an ofp_instruction_goto_table
- Author:
- Srini Seetharaman (srini.seetharaman@gmail.com)
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MINIMUM_LENGTH
public static int MINIMUM_LENGTH
meterId
protected int meterId
OFInstructionMeter
public OFInstructionMeter()
OFInstructionMeter
public OFInstructionMeter(int meterId)
getMeterId
public int getMeterId()
- Returns:
- the meterId
setMeterId
public OFInstructionMeter setMeterId(int meterId)
- Parameters:
meterId
- the meterId to set
readFrom
public void readFrom(java.nio.ByteBuffer data)
- Overrides:
readFrom
in class OFInstruction
writeTo
public void writeTo(java.nio.ByteBuffer data)
- Overrides:
writeTo
in class OFInstruction
hashCode
public int hashCode()
- Overrides:
hashCode
in class OFInstruction
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OFInstruction
toString
public java.lang.String toString()
- Description copied from class:
OFInstruction
- Returns a summary of the message
- Overrides:
toString
in class OFInstruction
- Returns:
- "ofmsg=v=$version;t=$type:l=$len:xid=$xid"