IEPDCallbackService.cs 396 B

123456789101112131415161718
  1. using System;
  2. using System.ServiceModel;
  3. using EPInterface.Data;
  4. namespace EPInterface
  5. {
  6. [ServiceContract(CallbackContract = typeof(IEPDCallback))]
  7. [ServiceKnownType(typeof(EPDEventType))]
  8. public interface IEPDCallbackService
  9. {
  10. [OperationContract]
  11. bool Register(Guid id);
  12. [OperationContract(IsOneWay = true)]
  13. void UnRegister(Guid id);
  14. }
  15. }