1 |
torben |
1986 |
//------------------------------------------------------------------------------
|
2 |
|
|
// <auto-generated>
|
3 |
|
|
// This code was generated by a tool.
|
4 |
|
|
// Runtime Version:4.0.30319.586
|
5 |
|
|
//
|
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 |
|
|
|
13 |
|
|
|
14 |
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
15 |
|
|
[System.ServiceModel.ServiceContractAttribute(Namespace="http://Microsoft.ServiceModel.Samples", ConfigurationName="ServiceReference1.IRemoteControl")]
|
16 |
|
|
public interface IRemoteControl {
|
17 |
|
|
|
18 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransports", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportsResponse")]
|
19 |
|
|
string[] GetTransports();
|
20 |
|
|
|
21 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportEnabled", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportEnabledResponse")]
|
22 |
|
|
bool GetTransportEnabled(string transport);
|
23 |
|
|
|
24 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabled", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabledResponse")]
|
25 |
|
|
void SetTransportEnabled(string transport, bool enabled);
|
26 |
|
|
|
27 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastrunOk", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastrunOkRespons" +
|
28 |
|
|
"e")]
|
29 |
|
|
bool GetTransportLastrunOk(string transport);
|
30 |
|
|
|
31 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastErrorMessage" +
|
32 |
|
|
"", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastErrorMessage" +
|
33 |
|
|
"Response")]
|
34 |
|
|
string GetTransportLastErrorMessage(string transport);
|
35 |
|
|
|
36 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastOkTime", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastOkTimeRespon" +
|
37 |
|
|
"se")]
|
38 |
|
|
string GetTransportLastOkTime(string transport);
|
39 |
|
|
|
40 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastErrorTime", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastErrorTimeRes" +
|
41 |
|
|
"ponse")]
|
42 |
|
|
string GetTransportLastErrorTime(string transport);
|
43 |
|
|
|
44 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportCounter", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportCounterResponse")]
|
45 |
|
|
int GetTransportCounter(string transport);
|
46 |
|
|
|
47 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLog", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLogResponse")]
|
48 |
|
|
string[] GetTransportLog(string transport);
|
49 |
|
|
|
50 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportDirection", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportDirectionRespons" +
|
51 |
|
|
"e")]
|
52 |
|
|
string GetTransportDirection(string transport);
|
53 |
|
|
|
54 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportQueueName", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportQueueNameRespons" +
|
55 |
|
|
"e")]
|
56 |
|
|
string GetTransportQueueName(string transport);
|
57 |
|
|
|
58 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportInsertQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportInsertQueryRespo" +
|
59 |
|
|
"nse")]
|
60 |
|
|
string GetTransportInsertQuery(string transport);
|
61 |
|
|
|
62 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportReadQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportReadQueryRespons" +
|
63 |
|
|
"e")]
|
64 |
|
|
string GetTransportReadQuery(string transport);
|
65 |
|
|
|
66 |
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportUpdateQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportUpdateQueryRespo" +
|
67 |
|
|
"nse")]
|
68 |
|
|
string GetTransportUpdateQuery(string transport);
|
69 |
|
|
}
|
70 |
|
|
|
71 |
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
72 |
|
|
public interface IRemoteControlChannel : DaoMqGUI.ServiceReference1.IRemoteControl, System.ServiceModel.IClientChannel {
|
73 |
|
|
}
|
74 |
|
|
|
75 |
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
76 |
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
77 |
|
|
public partial class RemoteControlClient : System.ServiceModel.ClientBase<DaoMqGUI.ServiceReference1.IRemoteControl>, DaoMqGUI.ServiceReference1.IRemoteControl {
|
78 |
|
|
|
79 |
|
|
public RemoteControlClient() {
|
80 |
|
|
}
|
81 |
|
|
|
82 |
|
|
public RemoteControlClient(string endpointConfigurationName) :
|
83 |
|
|
base(endpointConfigurationName) {
|
84 |
|
|
}
|
85 |
|
|
|
86 |
|
|
public RemoteControlClient(string endpointConfigurationName, string remoteAddress) :
|
87 |
|
|
base(endpointConfigurationName, remoteAddress) {
|
88 |
|
|
}
|
89 |
|
|
|
90 |
|
|
public RemoteControlClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
91 |
|
|
base(endpointConfigurationName, remoteAddress) {
|
92 |
|
|
}
|
93 |
|
|
|
94 |
|
|
public RemoteControlClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
95 |
|
|
base(binding, remoteAddress) {
|
96 |
|
|
}
|
97 |
|
|
|
98 |
|
|
public string[] GetTransports() {
|
99 |
|
|
return base.Channel.GetTransports();
|
100 |
|
|
}
|
101 |
|
|
|
102 |
|
|
public bool GetTransportEnabled(string transport) {
|
103 |
|
|
return base.Channel.GetTransportEnabled(transport);
|
104 |
|
|
}
|
105 |
|
|
|
106 |
|
|
public void SetTransportEnabled(string transport, bool enabled) {
|
107 |
|
|
base.Channel.SetTransportEnabled(transport, enabled);
|
108 |
|
|
}
|
109 |
|
|
|
110 |
|
|
public bool GetTransportLastrunOk(string transport) {
|
111 |
|
|
return base.Channel.GetTransportLastrunOk(transport);
|
112 |
|
|
}
|
113 |
|
|
|
114 |
|
|
public string GetTransportLastErrorMessage(string transport) {
|
115 |
|
|
return base.Channel.GetTransportLastErrorMessage(transport);
|
116 |
|
|
}
|
117 |
|
|
|
118 |
|
|
public string GetTransportLastOkTime(string transport) {
|
119 |
|
|
return base.Channel.GetTransportLastOkTime(transport);
|
120 |
|
|
}
|
121 |
|
|
|
122 |
|
|
public string GetTransportLastErrorTime(string transport) {
|
123 |
|
|
return base.Channel.GetTransportLastErrorTime(transport);
|
124 |
|
|
}
|
125 |
|
|
|
126 |
|
|
public int GetTransportCounter(string transport) {
|
127 |
|
|
return base.Channel.GetTransportCounter(transport);
|
128 |
|
|
}
|
129 |
|
|
|
130 |
|
|
public string[] GetTransportLog(string transport) {
|
131 |
|
|
return base.Channel.GetTransportLog(transport);
|
132 |
|
|
}
|
133 |
|
|
|
134 |
|
|
public string GetTransportDirection(string transport) {
|
135 |
|
|
return base.Channel.GetTransportDirection(transport);
|
136 |
|
|
}
|
137 |
|
|
|
138 |
|
|
public string GetTransportQueueName(string transport) {
|
139 |
|
|
return base.Channel.GetTransportQueueName(transport);
|
140 |
|
|
}
|
141 |
|
|
|
142 |
|
|
public string GetTransportInsertQuery(string transport) {
|
143 |
|
|
return base.Channel.GetTransportInsertQuery(transport);
|
144 |
|
|
}
|
145 |
|
|
|
146 |
|
|
public string GetTransportReadQuery(string transport) {
|
147 |
|
|
return base.Channel.GetTransportReadQuery(transport);
|
148 |
|
|
}
|
149 |
|
|
|
150 |
|
|
public string GetTransportUpdateQuery(string transport) {
|
151 |
|
|
return base.Channel.GetTransportUpdateQuery(transport);
|
152 |
|
|
}
|
153 |
|
|
}
|
154 |
|
|
}
|