public class OFPortStatus extends OFMessage
Modifier and Type | Class and Description |
---|---|
static class |
OFPortStatus.OFPortReason |
Modifier and Type | Field and Description |
---|---|
protected OFPhysicalPort |
desc |
static int |
MINIMUM_LENGTH |
protected byte |
reason |
Constructor and Description |
---|
OFPortStatus() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
OFPhysicalPort |
getDesc() |
byte |
getReason() |
int |
hashCode() |
void |
readFrom(org.jboss.netty.buffer.ChannelBuffer data)
Read this message off the wire from the specified ByteBuffer
|
void |
setDesc(OFPhysicalPort desc) |
void |
setReason(byte reason) |
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 byte reason
protected OFPhysicalPort desc
public byte getReason()
public void setReason(byte reason)
reason
- the reason to setpublic OFPhysicalPort getDesc()
public void setDesc(OFPhysicalPort desc)
desc
- the desc 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.