/[projects]/dao/DaoMqPump2/DaoMqGUI/Service References/ServiceReference1/Reference.cs
ViewVC logotype

Annotation of /dao/DaoMqPump2/DaoMqGUI/Service References/ServiceReference1/Reference.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2058 - (hide annotations) (download)
Wed Aug 28 06:45:20 2013 UTC (10 years, 9 months ago) by torben
File size: 12401 byte(s)
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 torben 1986 //------------------------------------------------------------------------------
2     // <auto-generated>
3     // This code was generated by a tool.
4 torben 2058 // Runtime Version:4.0.30319.2012
5 torben 1986 //
6     // Changes to this file may cause incorrect behavior and will be lost if
7     // the code is regenerated.
8     // </auto-generated>
9     //------------------------------------------------------------------------------
10    
11     namespace DaoMqGUI.ServiceReference1 {
12 torben 2000 using System.Runtime.Serialization;
13     using System;
14 torben 1986
15    
16 torben 2000 [System.Diagnostics.DebuggerStepThroughAttribute()]
17     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
18     [System.Runtime.Serialization.DataContractAttribute(Name="StatusData", Namespace="http://schemas.datacontract.org/2004/07/DaoMqPump2")]
19     [System.SerializableAttribute()]
20     public partial class StatusData : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
21    
22     [System.NonSerializedAttribute()]
23     private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
24    
25     [System.Runtime.Serialization.OptionalFieldAttribute()]
26     private int counterField;
27    
28     [System.Runtime.Serialization.OptionalFieldAttribute()]
29 torben 2058 private int discardedCounterField;
30    
31     [System.Runtime.Serialization.OptionalFieldAttribute()]
32 torben 2000 private string lastErrorMessageField;
33    
34     [System.Runtime.Serialization.OptionalFieldAttribute()]
35     private string lastErrorTimeField;
36    
37     [System.Runtime.Serialization.OptionalFieldAttribute()]
38     private string lastOkTimeField;
39    
40     [System.Runtime.Serialization.OptionalFieldAttribute()]
41     private string lastTransferTimeField;
42    
43     [System.Runtime.Serialization.OptionalFieldAttribute()]
44     private bool lastrunOkField;
45    
46     [System.Runtime.Serialization.OptionalFieldAttribute()]
47     private bool transportEnabledField;
48    
49     [global::System.ComponentModel.BrowsableAttribute(false)]
50     public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
51     get {
52     return this.extensionDataField;
53     }
54     set {
55     this.extensionDataField = value;
56     }
57     }
58    
59     [System.Runtime.Serialization.DataMemberAttribute()]
60     public int counter {
61     get {
62     return this.counterField;
63     }
64     set {
65     if ((this.counterField.Equals(value) != true)) {
66     this.counterField = value;
67     this.RaisePropertyChanged("counter");
68     }
69     }
70     }
71    
72     [System.Runtime.Serialization.DataMemberAttribute()]
73 torben 2058 public int discardedCounter {
74     get {
75     return this.discardedCounterField;
76     }
77     set {
78     if ((this.discardedCounterField.Equals(value) != true)) {
79     this.discardedCounterField = value;
80     this.RaisePropertyChanged("discardedCounter");
81     }
82     }
83     }
84    
85     [System.Runtime.Serialization.DataMemberAttribute()]
86 torben 2000 public string lastErrorMessage {
87     get {
88     return this.lastErrorMessageField;
89     }
90     set {
91     if ((object.ReferenceEquals(this.lastErrorMessageField, value) != true)) {
92     this.lastErrorMessageField = value;
93     this.RaisePropertyChanged("lastErrorMessage");
94     }
95     }
96     }
97    
98     [System.Runtime.Serialization.DataMemberAttribute()]
99     public string lastErrorTime {
100     get {
101     return this.lastErrorTimeField;
102     }
103     set {
104     if ((object.ReferenceEquals(this.lastErrorTimeField, value) != true)) {
105     this.lastErrorTimeField = value;
106     this.RaisePropertyChanged("lastErrorTime");
107     }
108     }
109     }
110    
111     [System.Runtime.Serialization.DataMemberAttribute()]
112     public string lastOkTime {
113     get {
114     return this.lastOkTimeField;
115     }
116     set {
117     if ((object.ReferenceEquals(this.lastOkTimeField, value) != true)) {
118     this.lastOkTimeField = value;
119     this.RaisePropertyChanged("lastOkTime");
120     }
121     }
122     }
123    
124     [System.Runtime.Serialization.DataMemberAttribute()]
125     public string lastTransferTime {
126     get {
127     return this.lastTransferTimeField;
128     }
129     set {
130     if ((object.ReferenceEquals(this.lastTransferTimeField, value) != true)) {
131     this.lastTransferTimeField = value;
132     this.RaisePropertyChanged("lastTransferTime");
133     }
134     }
135     }
136    
137     [System.Runtime.Serialization.DataMemberAttribute()]
138     public bool lastrunOk {
139     get {
140     return this.lastrunOkField;
141     }
142     set {
143     if ((this.lastrunOkField.Equals(value) != true)) {
144     this.lastrunOkField = value;
145     this.RaisePropertyChanged("lastrunOk");
146     }
147     }
148     }
149    
150     [System.Runtime.Serialization.DataMemberAttribute()]
151     public bool transportEnabled {
152     get {
153     return this.transportEnabledField;
154     }
155     set {
156     if ((this.transportEnabledField.Equals(value) != true)) {
157     this.transportEnabledField = value;
158     this.RaisePropertyChanged("transportEnabled");
159     }
160     }
161     }
162    
163     public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
164    
165     protected void RaisePropertyChanged(string propertyName) {
166     System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
167     if ((propertyChanged != null)) {
168     propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
169     }
170     }
171     }
172    
173 torben 1986 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
174     [System.ServiceModel.ServiceContractAttribute(Namespace="http://Microsoft.ServiceModel.Samples", ConfigurationName="ServiceReference1.IRemoteControl")]
175     public interface IRemoteControl {
176    
177     [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransports", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportsResponse")]
178     string[] GetTransports();
179    
180 torben 2000 [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportStatus", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportStatusResponse")]
181     DaoMqGUI.ServiceReference1.StatusData GetTransportStatus(string transport);
182 torben 1986
183     [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabled", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabledResponse")]
184     void SetTransportEnabled(string transport, bool enabled);
185    
186     [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLog", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLogResponse")]
187     string[] GetTransportLog(string transport);
188    
189     [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportDirection", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportDirectionRespons" +
190     "e")]
191     string GetTransportDirection(string transport);
192    
193     [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportQueueName", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportQueueNameRespons" +
194     "e")]
195     string GetTransportQueueName(string transport);
196    
197     [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportInsertQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportInsertQueryRespo" +
198     "nse")]
199     string GetTransportInsertQuery(string transport);
200    
201     [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportReadQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportReadQueryRespons" +
202     "e")]
203     string GetTransportReadQuery(string transport);
204    
205     [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportUpdateQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportUpdateQueryRespo" +
206     "nse")]
207     string GetTransportUpdateQuery(string transport);
208     }
209    
210     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
211     public interface IRemoteControlChannel : DaoMqGUI.ServiceReference1.IRemoteControl, System.ServiceModel.IClientChannel {
212     }
213    
214     [System.Diagnostics.DebuggerStepThroughAttribute()]
215     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
216     public partial class RemoteControlClient : System.ServiceModel.ClientBase<DaoMqGUI.ServiceReference1.IRemoteControl>, DaoMqGUI.ServiceReference1.IRemoteControl {
217    
218     public RemoteControlClient() {
219     }
220    
221     public RemoteControlClient(string endpointConfigurationName) :
222     base(endpointConfigurationName) {
223     }
224    
225     public RemoteControlClient(string endpointConfigurationName, string remoteAddress) :
226     base(endpointConfigurationName, remoteAddress) {
227     }
228    
229     public RemoteControlClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
230     base(endpointConfigurationName, remoteAddress) {
231     }
232    
233     public RemoteControlClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
234     base(binding, remoteAddress) {
235     }
236    
237     public string[] GetTransports() {
238     return base.Channel.GetTransports();
239     }
240    
241 torben 2000 public DaoMqGUI.ServiceReference1.StatusData GetTransportStatus(string transport) {
242     return base.Channel.GetTransportStatus(transport);
243 torben 1986 }
244    
245     public void SetTransportEnabled(string transport, bool enabled) {
246     base.Channel.SetTransportEnabled(transport, enabled);
247     }
248    
249     public string[] GetTransportLog(string transport) {
250     return base.Channel.GetTransportLog(transport);
251     }
252    
253     public string GetTransportDirection(string transport) {
254     return base.Channel.GetTransportDirection(transport);
255     }
256    
257     public string GetTransportQueueName(string transport) {
258     return base.Channel.GetTransportQueueName(transport);
259     }
260    
261     public string GetTransportInsertQuery(string transport) {
262     return base.Channel.GetTransportInsertQuery(transport);
263     }
264    
265     public string GetTransportReadQuery(string transport) {
266     return base.Channel.GetTransportReadQuery(transport);
267     }
268    
269     public string GetTransportUpdateQuery(string transport) {
270     return base.Channel.GetTransportUpdateQuery(transport);
271     }
272     }
273     }

  ViewVC Help
Powered by ViewVC 1.1.20