using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace DaoMqPump2 { [ServiceContract(Namespace = "http://Microsoft.ServiceModel.Samples")] public interface IRemoteControl { [OperationContract] string[] GetTransports(); [OperationContract] bool GetTransportEnabled(string transport); [OperationContract] void SetTransportEnabled(string transport, bool enabled); [OperationContract] bool GetTransportLastrunOk(string transport); [OperationContract] string GetTransportLastErrorMessage(string transport); [OperationContract] string GetTransportLastOkTime(string transport); [OperationContract] string GetTransportLastErrorTime(string transport); [OperationContract] int GetTransportCounter(string transport); [OperationContract] string[] GetTransportLog(string transport); [OperationContract] string GetTransportDirection(string transport); [OperationContract] string GetTransportQueueName(string transport); [OperationContract] string GetTransportInsertQuery(string transport); [OperationContract] string GetTransportReadQuery(string transport); [OperationContract] string GetTransportUpdateQuery(string transport); } }