public class OFHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) short |
length |
static int |
MINIMUM_LENGTH |
(package private) byte |
type |
(package private) byte |
version |
(package private) int |
xid |
Constructor and Description |
---|
OFHeader() |
Modifier and Type | Method and Description |
---|---|
short |
getLength() |
int |
getLengthU() |
byte |
getType() |
byte |
getVersion() |
short |
getVersionU() |
int |
getXid() |
long |
getXidU() |
void |
readFrom(java.nio.ByteBuffer data) |
java.lang.String |
toString() |
public static int MINIMUM_LENGTH
byte version
byte type
short length
int xid
public byte getVersion()
public short getVersionU()
public byte getType()
public short getLength()
public int getLengthU()
public int getXid()
public long getXidU()
public void readFrom(java.nio.ByteBuffer data)
public java.lang.String toString()
toString
in class java.lang.Object