}
/*
* Create an input handler.
*/
InputHandler handler = new ClientInputHandler(username, m_isAdmin);
byte buildString[] = VoltDB.instance().getBuildString().getBytes(Charsets.UTF_8);
responseBuffer = ByteBuffer.allocate(34 + buildString.length);
responseBuffer.putInt(30 + buildString.length);//message length
responseBuffer.put((byte)0);//version
//Send positive response
responseBuffer.put((byte)0);
responseBuffer.putInt(VoltDB.instance().getHostMessenger().getHostId());
responseBuffer.putLong(handler.connectionId());
responseBuffer.putLong(VoltDB.instance().getHostMessenger().getInstanceId().getTimestamp());
responseBuffer.putInt(VoltDB.instance().getHostMessenger().getInstanceId().getCoord());
responseBuffer.putInt(buildString.length);
responseBuffer.put(buildString).flip();
socket.write(responseBuffer);