Called when a container update is received.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void ContainerUpdated( ISubscription subscription, IPeer peer, IContainerMessage update )
Public Overridable Sub ContainerUpdated ( _ subscription As ISubscription, _ peer As IPeer, _ update As IContainerMessage _ )
public: virtual void ContainerUpdated( ISubscription^ subscription, IPeer^ peer, IContainerMessage^ update )
Parameters
- subscription (ISubscription)
- The subscription for which the update occurred.
- peer (IPeer)
- The DataSource peer supplying the update.
- update (IContainerMessage)
- The container update.
Remarks
The operations on the IContainerMessage are not normalized: The message may contain contradictory messages, for example an add for an element followed by a delete for the same element.
You should override this method if you have derived your ISubscriptionListener implementation from BaseSubscriptionListener and want to handle container updates.