- checkHeader(input, msgType, length, HelloMessageFactoryTest.VERSION_YET_SUPPORTED);\r
+ checkHeader(input, msgType, length, (short) EncodeConstants.OF13_VERSION_ID);\r
+ }\r
+ \r
+ /**\r
+ * Use version 1.0 for encoded message\r
+ * @param input ByteBuf to be checked for correct OpenFlow Protocol header\r
+ * @param msgType type of received message\r
+ * @param length expected length of message in header\r
+ */\r
+ public static void checkHeaderV10(ByteBuf input, byte msgType, int length) {\r
+ checkHeader(input, msgType, length, (short) EncodeConstants.OF10_VERSION_ID);\r