private ByteBuffer clientHandshakePacket(){
  ByteBuffer res=ByteBuffer.allocate(6);
  res.put(new byte[]{IGNITE_HANDSHAKE_FLAG,5,0,0,0,0});
  res.flip();
  return res;
}

private ByteBuffer clientHandshakePacket ( ) { ByteBuffer res = ByteBuffer . allocate ( 6 ) ; res . put ( new byte [ ] { IGNITE_HANDSHAKE_FLAG , 5 , 0 , 0 , 0 , 0 } ) ; res . flip ( ) ; return res ; }
assembles ignite client handshake packet .
