org.openflow.protocol.action
Class OFActionSetNwTTL
java.lang.Object
org.openflow.protocol.action.OFAction
org.openflow.protocol.action.OFActionSetNwTTL
- All Implemented Interfaces:
- java.lang.Cloneable
public class OFActionSetNwTTL
- extends OFAction
Represents an ofp_action_set_nw_ttl
- Author:
- David Erickson (daviderickson@cs.stanford.edu) - Mar 11, 2010
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MINIMUM_LENGTH
public static int MINIMUM_LENGTH
nwTTL
protected byte nwTTL
OFActionSetNwTTL
public OFActionSetNwTTL()
OFActionSetNwTTL
public OFActionSetNwTTL(byte nwTTL)
getNwTTL
public byte getNwTTL()
- Returns:
- the nwTTL
setNwTTL
public OFActionSetNwTTL setNwTTL(byte nwTTL)
- Parameters:
nwTTL
- the nwTTL to set
readFrom
public void readFrom(java.nio.ByteBuffer data)
- Overrides:
readFrom
in class OFAction
writeTo
public void writeTo(java.nio.ByteBuffer data)
- Overrides:
writeTo
in class OFAction
hashCode
public int hashCode()
- Overrides:
hashCode
in class OFAction
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OFAction
toString
public java.lang.String toString()
- Description copied from class:
OFAction
- Returns a summary of the message
- Overrides:
toString
in class OFAction
- Returns:
- "ofmsg=v=$version;t=$type:l=$len:xid=$xid"