|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.protocol.OFMessage
org.openflow.protocol.OFError
org.openflow.protocol.OFVendorError
public class OFVendorError
Represents an ofp_error_vendor_msg
| Nested Class Summary |
|---|
| Field Summary | |
|---|---|
protected byte[] |
errorData
|
protected short |
expType
|
static int |
MINIMUM_LENGTH
|
protected int |
vendor
|
| Fields inherited from class org.openflow.protocol.OFError |
|---|
error, errorCode, errorIsAscii, errorType, factory |
| Fields inherited from class org.openflow.protocol.OFMessage |
|---|
length, OFP_VERSION, type, version, xid |
| Constructor Summary | |
|---|---|
OFVendorError()
|
|
| Method Summary | |
|---|---|
void |
computeLength()
This method is called during the writeTo method for serialization and is expected to set the length of the message. |
boolean |
equals(java.lang.Object obj)
|
short |
getExpType()
Get in_port |
byte[] |
getPacketData()
Returns the packet data |
int |
getVendor()
Get vendor_id |
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFVendorError |
setExpType(short expType)
Set in_port |
OFVendorError |
setPacketData(byte[] errorData)
Sets the packet data, and updates the length of this message |
OFVendorError |
setVendor(int vendor)
Set vendor_id |
void |
writeTo(java.nio.ByteBuffer data)
Write this message's binary format to the specified ByteBuffer |
| Methods inherited from class org.openflow.protocol.OFError |
|---|
getError, getErrorCode, getErrorCodeName, getErrorType, getFactory, getOffendingMsg, isErrorIsAscii, setError, setErrorCode, setErrorCode, setErrorCode, setErrorCode, setErrorCode, setErrorCode, setErrorCode, setErrorIsAscii, setErrorType, setErrorType, setMessageFactory, setOffendingMsg, toString |
| Methods inherited from class org.openflow.protocol.OFMessage |
|---|
getLength, getLengthU, getType, getVersion, getXid, setLength, setLengthU, setType, setVersion, setXid |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int MINIMUM_LENGTH
protected short expType
protected int vendor
protected byte[] errorData
| Constructor Detail |
|---|
public OFVendorError()
| Method Detail |
|---|
public int getVendor()
public OFVendorError setVendor(int vendor)
vendor - public byte[] getPacketData()
public OFVendorError setPacketData(byte[] errorData)
errorData - public short getExpType()
public OFVendorError setExpType(short expType)
expType - public void readFrom(java.nio.ByteBuffer data)
OFMessage
readFrom in class OFErrorpublic void writeTo(java.nio.ByteBuffer data)
OFMessage
writeTo in class OFErrorpublic int hashCode()
hashCode in class OFErrorpublic boolean equals(java.lang.Object obj)
equals in class OFErrorpublic void computeLength()
OFMessage
computeLength in class OFError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||