ReplSessionSecurity.HANDSHAKE_TIMEOUT);
boolean isSslEncryption =
replSessionSecurity.isSslEncryption(server);
// Send our start msg.
ServerStartECLMsg serverStartECLMsg = new ServerStartECLMsg(
baseDn, 0, 0, 0, 0,
maxRcvWindow, heartbeatInterval, state,
ProtocolVersion.getCurrentVersion(), this.getGenerationID(),
isSslEncryption,
groupId);
localSession.publish(serverStartECLMsg);
// Read the ReplServerStartMsg that should come back.
replServerStartDSMsg = (ReplServerStartDSMsg) localSession.receive();
if (debugEnabled())
{
debugInfo("In RB for " + baseDn +
"\nRB HANDSHAKE SENT:\n" + serverStartECLMsg.toString() +
"\nAND RECEIVED:\n" + replServerStartDSMsg.toString());
}
// Sanity check
String repDn = replServerStartDSMsg.getBaseDn();