public CommandP2PListenerService(IPersistanceModel PersistanceModel, IMessageP2PListener CommandListener, ICommandResponseService ResponseService) { this.CommandListener = CommandListener; this.PersistanceModel = PersistanceModel; this.ResponseService = ResponseService; Configuration = PersistanceModel.Configurations.Get("CommandP2PListenerService"); }
public CommandListenerService(IPersistanceModel PersistanceModel, IMessagePublishClient Client, ICommandResponseService ResponseService) { this.Client = Client; this.ResponseService = ResponseService; this.PersistanceModel = PersistanceModel; Configuration = PersistanceModel.Configurations.Get("CommandListenerService"); }