Пример #1
0
 private void X_StateChanged(object sender, MAStatusChangedEventArgs e)
 {
     EventService.NotifySubscribersOnStatusChange(e.Status);
 }
Пример #2
0
 private void X_RunProfileExecutionComplete(object sender, RunProfileExecutionCompleteEventArgs e)
 {
     EventService.NotifySubscribersOnRunProfileExecutionComplete(((MAController)sender).ManagementAgentID, e);
 }
Пример #3
0
 private void X_MessageLogged(object sender, MessageLoggedEventArgs e)
 {
     EventService.NotifySubscribersOnMessageLogged(((MAController)sender).ManagementAgentID, e);
 }
Пример #4
0
 public static ServiceHost CreateNetTcpInstance()
 {
     return(EventService.CreateInstance(EventServiceConfiguration.NetTcpBinding, EventServiceConfiguration.CreateServerBindingUri()));
 }
Пример #5
0
 private static void CommObj_Faulted(object sender, EventArgs e)
 {
     EventService.DeregisterCallbackChannel(sender);
     logger.Trace("Deregistered faulted callback channel");
 }
Пример #6
0
 public static ServiceHost CreateNetNamedPipeInstance()
 {
     return(EventService.CreateInstance(EventServiceConfiguration.NetNamedPipeBinding, EventServiceConfiguration.NamedPipeUri));
 }