public class OFPortMod extends OFMessage
Modifier and Type | Field and Description |
---|---|
protected int |
advertise |
protected int |
config |
protected byte[] |
hardwareAddress |
protected int |
mask |
static int |
MINIMUM_LENGTH |
protected short |
portNumber |
Constructor and Description |
---|
OFPortMod() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getAdvertise() |
int |
getConfig() |
byte[] |
getHardwareAddress() |
int |
getMask() |
short |
getPortNumber() |
int |
hashCode() |
void |
readFrom(org.jboss.netty.buffer.ChannelBuffer data)
Read this message off the wire from the specified ByteBuffer
|
void |
setAdvertise(int advertise) |
void |
setConfig(int config) |
void |
setHardwareAddress(byte[] hardwareAddress) |
void |
setMask(int mask) |
void |
setPortNumber(short portNumber) |
void |
writeTo(org.jboss.netty.buffer.ChannelBuffer data)
Write this message's binary format to the specified ByteBuffer
|
getData, getDataAsString, getLength, getLengthU, getMessageStore, getType, getVersion, getXid, setLength, setLengthU, setType, setVersion, setXid, toString
public static int MINIMUM_LENGTH
protected short portNumber
protected byte[] hardwareAddress
protected int config
protected int mask
protected int advertise
public short getPortNumber()
public void setPortNumber(short portNumber)
portNumber
- the portNumber to setpublic byte[] getHardwareAddress()
public void setHardwareAddress(byte[] hardwareAddress)
hardwareAddress
- the hardwareAddress to setpublic int getConfig()
public void setConfig(int config)
config
- the config to setpublic int getMask()
public void setMask(int mask)
mask
- the mask to setpublic int getAdvertise()
public void setAdvertise(int advertise)
advertise
- the advertise to setpublic void readFrom(org.jboss.netty.buffer.ChannelBuffer data)
OFMessage
public void writeTo(org.jboss.netty.buffer.ChannelBuffer data)
OFMessage
Copyright © 2015. All rights reserved.