Esempio n. 1
0
 public override string ToString()
 {
     if (pipeMessage == null)
     {
         pipeMessage = new PipelineMonitorMessage();
     }
     return($"{_timestamp},{_monMessageID},{xid},{type},{topic},{message},{pipeMessage?.ToString()}");
 }
Esempio n. 2
0
        public ExchangeMonitorMessage(PipelineMonitorMessage pipeMsg)
        {
            _monMessageID = Guid.NewGuid().ToString();
            DateTimeOffset dateOffsetValue = DateTime.Now;

            _timestamp       = dateOffsetValue.ToString("dd/MM/yyyy hh:mm:ss.fff tt");
            this.pipeMessage = pipeMsg;
        }
Esempio n. 3
0
        private void MonitorStatusMessage(object sender, PipelineMonitorMessage e)
        {
            ExchangeMonitorMessage msg = new ExchangeMonitorMessage(e);

            msg.type = "PIPELINEMESSAGE";
            msg.xid  = xid;

            mon?.Send(msg.ToString());
        }
Esempio n. 4
0
        private void MonitorStatusMessage(object sender, QueueMonitorMessage e)
        {
            PipelineMonitorMessage msg = new PipelineMonitorMessage(e)
            {
                pipeID          = this.id,
                pipeName        = this.name,
                pipemessageType = "QUEUEMESSAGE"
            };

            monitorMessageProgress?.Report(msg);
        }
Esempio n. 5
0
        public void QXLog(string topic, string message, string messageType)
        {
            PipelineMonitorMessage msg = new PipelineMonitorMessage(id, name, topic, message, messageType);

            monitorMessageProgress?.Report(msg);
        }