com.bigswitch.floodlight.vendor
Class OFActionMirror
java.lang.Object
org.openflow.protocol.action.OFAction
org.openflow.protocol.action.OFActionVendor
com.bigswitch.floodlight.vendor.OFActionBigSwitchVendor
com.bigswitch.floodlight.vendor.OFActionMirror
- All Implemented Interfaces:
- java.lang.Cloneable
public class OFActionMirror
- extends OFActionBigSwitchVendor
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MINIMUM_LENGTH
public static final int MINIMUM_LENGTH
- See Also:
- Constant Field Values
BSN_ACTION_MIRROR
public static final int BSN_ACTION_MIRROR
- See Also:
- Constant Field Values
destPort
protected int destPort
vlanTag
protected int vlanTag
copyStage
protected byte copyStage
pad0
protected byte pad0
pad1
protected byte pad1
pad2
protected byte pad2
OFActionMirror
public OFActionMirror(int portNumber)
getDestPort
public int getDestPort()
setDestPort
public void setDestPort(int destPort)
getVlanTag
public int getVlanTag()
setVlanTag
public void setVlanTag(int vlanTag)
getCopyStage
public byte getCopyStage()
setCopyStage
public void setCopyStage(byte copyStage)
hashCode
public int hashCode()
- Overrides:
hashCode
in class OFActionBigSwitchVendor
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OFActionBigSwitchVendor
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
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"