Parent Directory | Revision Log
Add a support for discarding transactions and writing those to a seperate log + use a counter for keeping track of how many were discarded in current session/instance
1 | using System; |
2 | using System.Collections.Generic; |
3 | using System.Text; |
4 | using System.Runtime.Serialization; |
5 | |
6 | /* uses System.Runtime.Serialization assembly */ |
7 | |
8 | namespace DaoMqPump2 |
9 | { |
10 | [DataContract] |
11 | public class StatusData |
12 | { |
13 | [DataMember] |
14 | public bool transportEnabled; |
15 | |
16 | [DataMember] |
17 | public bool lastrunOk; |
18 | |
19 | [DataMember] |
20 | public string lastErrorMessage; |
21 | |
22 | [DataMember] |
23 | public string lastOkTime; |
24 | |
25 | [DataMember] |
26 | public string lastErrorTime; |
27 | |
28 | [DataMember] |
29 | public string lastTransferTime; |
30 | |
31 | [DataMember] |
32 | public int counter; |
33 | |
34 | [DataMember] |
35 | public int discardedCounter; |
36 | |
37 | } |
38 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |