IEPDCallback.cs 403 B

1234567891011121314151617
  1. using EPInterface.Data;
  2. using System.ServiceModel;
  3. namespace EPInterface
  4. {
  5. [ServiceContract]
  6. public interface IEPDCallback
  7. {
  8. [OperationContract(IsOneWay = true)]
  9. void OnNotify(int channel, EPDEventType type, string message); //信息反馈
  10. [OperationContract(IsOneWay = true)]
  11. void OnTrigger(int channel, string name, long ticket); //Endpoint Trigger
  12. }
  13. }