1 |
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 |
StatusData GetTransportStatus(string transport);
|
17 |
|
18 |
[OperationContract]
|
19 |
void SetTransportEnabled(string transport, bool enabled);
|
20 |
|
21 |
/*[OperationContract]
|
22 |
bool GetTransportEnabled(string transport);
|
23 |
|
24 |
[OperationContract]
|
25 |
bool GetTransportLastrunOk(string transport);
|
26 |
|
27 |
[OperationContract]
|
28 |
string GetTransportLastErrorMessage(string transport);
|
29 |
|
30 |
[OperationContract]
|
31 |
string GetTransportLastOkTime(string transport);
|
32 |
|
33 |
[OperationContract]
|
34 |
string GetTransportLastErrorTime(string transport);
|
35 |
|
36 |
[OperationContract]
|
37 |
string GetTransportLastTransferTime(string transport);
|
38 |
|
39 |
[OperationContract]
|
40 |
int GetTransportCounter(string transport);
|
41 |
*/
|
42 |
|
43 |
|
44 |
[OperationContract]
|
45 |
string[] GetTransportLog(string transport);
|
46 |
|
47 |
|
48 |
[OperationContract]
|
49 |
string GetTransportDirection(string transport);
|
50 |
[OperationContract]
|
51 |
string GetTransportQueueName(string transport);
|
52 |
[OperationContract]
|
53 |
string GetTransportInsertQuery(string transport);
|
54 |
[OperationContract]
|
55 |
string GetTransportReadQuery(string transport);
|
56 |
[OperationContract]
|
57 |
string GetTransportUpdateQuery(string transport);
|
58 |
|
59 |
|
60 |
|
61 |
}
|
62 |
}
|