public RegionSyncListener(RegionSyncListenerInfo listenerInfo, RegionSyncModule regionSyncModule) { m_listenerInfo = listenerInfo; m_regionSyncModule = regionSyncModule; m_log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); }
/// <summary> /// The constructor that will be called when a SyncConnector is created actively: it is created to send connection request to a remote listener /// </summary> /// <param name="connectorNum"></param> /// <param name="listenerInfo"></param> public SyncConnector(int connectorNum, RegionSyncListenerInfo listenerInfo, RegionSyncModule syncModule) { m_remoteListenerInfo = listenerInfo; m_connectorNum = connectorNum; m_regionSyncModule = syncModule; lastStatTime = DateTime.Now; m_syncState = SyncConnectorState.Initialization; m_log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); }