Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame] | 1 | -- binary |
2 | 06 01 # version / type | ||||
3 | 00 0f # length | ||||
4 | 12 34 56 78 # xid | ||||
5 | 00 01 # err_type | ||||
6 | 00 08 # code | ||||
7 | 61 62 63 # data | ||||
8 | -- java | ||||
9 | builder | ||||
10 | .setXid(0x12345678) | ||||
11 | .setCode(OFBadRequestCode.BUFFER_UNKNOWN) | ||||
12 | .setData(OFErrorCauseData.of(new byte[] { 0x61, 0x62, 0x63 }, OFVersion.OF_15)); |