}
public void sendInitMessage(Socket socket, boolean isForOutgoing) throws IOException
{
StreamInitMessage message = new StreamInitMessage(FBUtilities.getBroadcastAddress(), session.planId(), session.description(), isForOutgoing);
ByteBuffer messageBuf = message.createMessage(false, protocolVersion);
while (messageBuf.hasRemaining())
getWriteChannel(socket).write(messageBuf);
}
public void start(Socket socket, int protocolVersion)