message.get(password);
/*
* Create an input handler.
*/
InputHandler handler = new ClientInputHandler(socket.socket().getInetAddress().getHostName());
byte buildString[] = HStore.getVersionString().getBytes("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(hstore_site.getSiteId());
responseBuffer.putLong(handler.connectionId());
responseBuffer.putLong(hstore_site.getInstanceId());
responseBuffer.putInt(0x0); // leaderAddress (part of instanceId)
responseBuffer.putInt(buildString.length);
responseBuffer.put(buildString).flip();
socket.write(responseBuffer);