| | |
| | | import org.opends.server.replication.protocol.AckMsg; |
| | | import org.opends.server.replication.protocol.ChangeTimeHeartbeatMsg; |
| | | import org.opends.server.replication.protocol.ErrorMsg; |
| | | import org.opends.server.replication.protocol.EntryMsg; |
| | | import org.opends.server.replication.protocol.InitializeRequestMsg; |
| | | import org.opends.server.replication.protocol.InitializeTargetMsg; |
| | | import org.opends.server.replication.protocol.HeartbeatThread; |
| | | import org.opends.server.replication.protocol.MonitorMsg; |
| | | import org.opends.server.replication.protocol.ProtocolSession; |
| | |
| | | if (debugEnabled()) |
| | | TRACER.debugInfo("In " + replicationServerDomain.getReplicationServer(). |
| | | getMonitorInstanceName() + this + |
| | | " processes received msg:\n" + msg); |
| | | " processes routable msg received:" + msg); |
| | | replicationServerDomain.process(msg, this); |
| | | } |
| | | |
| | |
| | | replicationServerDomain.getReplicationServer(). |
| | | getMonitorInstanceName() + this + |
| | | " publishes message:\n" + msg); |
| | | |
| | | // Currently only MonitorMsg has to support a backward compatibility |
| | | if (msg instanceof MonitorMsg) |
| | | if ((msg instanceof MonitorMsg) || (msg instanceof ErrorMsg) || |
| | | (msg instanceof EntryMsg) || (msg instanceof InitializeRequestMsg) || |
| | | (msg instanceof InitializeTargetMsg)) |
| | | { |
| | | session.publish(msg, protocolVersion); |
| | | } else |