public MessageStatusTracker(IOTAMessage message, OTAMessageStatus successValue) { Message = message; SuccessOn = successValue; InteractionTimer = new Stopwatch(); InteractionTimer.Reset(); }
private void queueOTAMessage(IOTAMessage message) { allMessages.Add(message); pendingMessages.Add(new MessageStatusTracker(message, OTAMessageStatus.Transmitted)); }