2 using System.Collections.Generic;
3 using System.Collections.ObjectModel;
4 using System.ServiceModel;
5 using System.ServiceModel.Channels;
6 using System.ServiceModel.Description;
7 using System.ServiceModel.Dispatcher;
9 namespace System.ServiceModel.Discovery
12 [ServiceBehavior (InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
13 public class AnnouncementService
15 public AnnouncementService ()
19 public AnnouncementService (int duplicateMessageHistoryLength)
23 public event EventHandler<AnnouncementEventArgs> OfflineAnnouncementReceived;
24 public event EventHandler<AnnouncementEventArgs> OnlineAnnouncementReceived;
26 protected virtual IAsyncResult OnBeginOfflineAnnouncement (DiscoveryMessageSequence messageSequence, EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state)
28 throw new NotImplementedException ();
31 protected virtual IAsyncResult OnBeginOnlineAnnouncement (DiscoveryMessageSequence messageSequence, EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state)
33 throw new NotImplementedException ();
36 protected virtual void OnEndOfflineAnnouncement (IAsyncResult result)
38 throw new NotImplementedException ();
41 protected virtual void OnEndOnlineAnnouncement (IAsyncResult result)
43 throw new NotImplementedException ();