org.openflow.protocol.hello
Class OFHelloElement
java.lang.Object
org.openflow.protocol.hello.OFHelloElement
- Direct Known Subclasses:
- OFHelloElementVersionBitmap
public class OFHelloElement
- extends java.lang.Object
Represents an ofp_hello_element data
- Author:
- Srini Seetharaaman (srini.seetharaman@gmail.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MINIMUM_LENGTH
public static int MINIMUM_LENGTH
type
protected OFHelloElementType type
length
protected short length
OFHelloElement
public OFHelloElement()
- Construct a ofp_hello message
getType
public OFHelloElementType getType()
setType
public OFHelloElement setType(OFHelloElementType type)
getLengthU
public int getLengthU()
- Get the length of this message, unsigned
- Returns:
getLength
public short getLength()
setLength
public OFHelloElement setLength(short length)
readFrom
public void readFrom(java.nio.ByteBuffer data)
writeTo
public void writeTo(java.nio.ByteBuffer data)