com.bigswitch.floodlight.vendor
Class OFActionTunnelDstIP

java.lang.Object
  extended by org.openflow.protocol.action.OFAction
      extended by org.openflow.protocol.action.OFActionVendor
          extended by com.bigswitch.floodlight.vendor.OFActionBigSwitchVendor
              extended by com.bigswitch.floodlight.vendor.OFActionTunnelDstIP
All Implemented Interfaces:
java.lang.Cloneable

public class OFActionTunnelDstIP
extends OFActionBigSwitchVendor


Field Summary
protected  int dstIPAddr
           
static int MINIMUM_LENGTH_TUNNEL_DST
           
static int SET_TUNNEL_DST_SUBTYPE
           
 
Fields inherited from class com.bigswitch.floodlight.vendor.OFActionBigSwitchVendor
BSN_VENDOR_ID, MINIMUM_LENGTH, subtype
 
Fields inherited from class org.openflow.protocol.action.OFActionVendor
data, vendor
 
Fields inherited from class org.openflow.protocol.action.OFAction
length, OFFSET_LENGTH, OFFSET_TYPE, type
 
Constructor Summary
OFActionTunnelDstIP()
           
OFActionTunnelDstIP(int dstIPAddr)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getTunnelDstIP()
           
 int hashCode()
           
 void readFrom(java.nio.ByteBuffer data)
           
 void setTunnelDstIP(int ipAddr)
           
 java.lang.String toString()
          Returns a summary of the message
 void writeTo(java.nio.ByteBuffer data)
           
 
Methods inherited from class com.bigswitch.floodlight.vendor.OFActionBigSwitchVendor
getSubtype, setSubtype
 
Methods inherited from class org.openflow.protocol.action.OFActionVendor
getData, getVendor, setData, setVendor
 
Methods inherited from class org.openflow.protocol.action.OFAction
clone, fromString, getLength, getLengthU, getType, setLength, setType
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MINIMUM_LENGTH_TUNNEL_DST

public static final int MINIMUM_LENGTH_TUNNEL_DST
See Also:
Constant Field Values

SET_TUNNEL_DST_SUBTYPE

public static final int SET_TUNNEL_DST_SUBTYPE
See Also:
Constant Field Values

dstIPAddr

protected int dstIPAddr
Constructor Detail

OFActionTunnelDstIP

public OFActionTunnelDstIP()

OFActionTunnelDstIP

public OFActionTunnelDstIP(int dstIPAddr)
Method Detail

getTunnelDstIP

public int getTunnelDstIP()

setTunnelDstIP

public void setTunnelDstIP(int ipAddr)

readFrom

public void readFrom(java.nio.ByteBuffer data)
Overrides:
readFrom in class OFActionBigSwitchVendor

writeTo

public void writeTo(java.nio.ByteBuffer data)
Overrides:
writeTo in class OFActionBigSwitchVendor

hashCode

public int hashCode()
Overrides:
hashCode in class OFActionBigSwitchVendor

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class OFActionBigSwitchVendor

toString

public java.lang.String toString()
Description copied from class: OFAction
Returns a summary of the message

Overrides:
toString in class OFActionBigSwitchVendor
Returns:
"ofmsg=v=$version;t=$type:l=$len:xid=$xid"