2 using System
.Collections
.Generic
;
6 namespace Org
.Lwes
.Listener
9 /// Registration key for event sinks.
11 public interface IEventSinkRegistrationKey
14 /// An opaque handback object.
23 /// The listener with which the event sink is registered.
25 IEventListener Listener
31 /// The status of the event sink.
33 EventSinkStatus Status
39 /// Activates the event sink.
41 /// <returns><em>true</em> if the event sink has not already been canceled; otherwise <em>false</em></returns>
45 /// Cancels a registration. An event sink whose registration is canceled will no longer
46 /// receive event or garbage notification.
51 /// Suspends the event sink. An event sink whose registration is suspended will not
52 /// receive event or garbage notification until it is re-activated.
54 /// <returns><em>true</em> if the event sink has not already been canceled; otherwise <em>false</em></returns>
58 /// Disables garbage notification for a sink.
60 void DisableGarbageNotification();