ByteBuffer param1_buf = ByteBuffer.allocate(param_set1.getSerializedSize());
param_set1.flattenToBuffer(param1_buf);
param1_buf.flip();
ByteBuffer param2_buf = ByteBuffer.allocate(param_set2.getSerializedSize());
param_set2.flattenToBuffer(param2_buf);
param2_buf.flip();
FragmentTaskMessage ft = new FragmentTaskMessage(9, 70654312, -75, 99, true, true, false);
ft.addFragment(new byte[20], 12, param1_buf);
ft.addFragment(new byte[20], 24, param2_buf);