{
// Start a heartbeat monitor thread.
if (heartbeatInterval > 0)
{
heartbeatMonitor =
new HeartbeatMonitor("Replication Heartbeat Monitor on RS " +
getReplicationServer() + " " + rsServerId + " for " + baseDn +
" in DS " + serverId,
session, heartbeatInterval, (protocolVersion >=
ProtocolVersion.REPLICATION_PROTOCOL_V4));
heartbeatMonitor.start();