package org.openflow.protocol;

import java.nio.ByteBuffer;

public interface OFMessage {
	public byte getVersion();
	public OFMessage setLength(short len);
	public int getLengthU();
	public void writeTo(ByteBuffer buf);
	public byte getTypeByte();
	public int getXid();
	public OFMessage setXid(int xid);
	public short computeLength();
}

@@ -83,16 +83,106 @@
 ssage %7B%0A
+%09public static final byte VERSION10 = 0x01;%0A%09public static final byte VERSION13 = 0x04;%0A%09%0A
 %09public 

version fields are added to OFMessage class.