1 |
torben |
1986 |
using System;
|
2 |
|
|
using System.Collections.Generic;
|
3 |
|
|
using System.Runtime.Serialization;
|
4 |
|
|
using System.ServiceModel;
|
5 |
|
|
using System.Text;
|
6 |
|
|
|
7 |
|
|
namespace DaoMqPump2
|
8 |
|
|
{
|
9 |
|
|
[ServiceContract(Namespace = "http://Microsoft.ServiceModel.Samples")]
|
10 |
|
|
public interface IRemoteControl
|
11 |
|
|
{
|
12 |
|
|
[OperationContract]
|
13 |
|
|
string[] GetTransports();
|
14 |
|
|
|
15 |
|
|
[OperationContract]
|
16 |
|
|
bool GetTransportEnabled(string transport);
|
17 |
|
|
|
18 |
|
|
[OperationContract]
|
19 |
|
|
void SetTransportEnabled(string transport, bool enabled);
|
20 |
|
|
|
21 |
|
|
[OperationContract]
|
22 |
|
|
bool GetTransportLastrunOk(string transport);
|
23 |
|
|
|
24 |
|
|
[OperationContract]
|
25 |
|
|
string GetTransportLastErrorMessage(string transport);
|
26 |
|
|
|
27 |
|
|
[OperationContract]
|
28 |
|
|
string GetTransportLastOkTime(string transport);
|
29 |
|
|
|
30 |
|
|
[OperationContract]
|
31 |
|
|
string GetTransportLastErrorTime(string transport);
|
32 |
|
|
|
33 |
|
|
[OperationContract]
|
34 |
|
|
int GetTransportCounter(string transport);
|
35 |
|
|
|
36 |
|
|
[OperationContract]
|
37 |
|
|
string[] GetTransportLog(string transport);
|
38 |
|
|
|
39 |
|
|
[OperationContract]
|
40 |
|
|
string GetTransportDirection(string transport);
|
41 |
|
|
[OperationContract]
|
42 |
|
|
string GetTransportQueueName(string transport);
|
43 |
|
|
[OperationContract]
|
44 |
|
|
string GetTransportInsertQuery(string transport);
|
45 |
|
|
[OperationContract]
|
46 |
|
|
string GetTransportReadQuery(string transport);
|
47 |
|
|
[OperationContract]
|
48 |
|
|
string GetTransportUpdateQuery(string transport);
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
}
|
53 |
|
|
}
|