C# Class Examples.ControlClientUsingSessionProperties.PropertiesListener

This session properties listener will be notified firstly of all open client sessions and then of all that subsequently open. All that are in the Italian Accounts department get subscribed to the current topic.
Inheritance: SessionPropertiesListenerDefault
Afficher le fichier Open project: pushtechnology/diffusion-examples

Méthodes publiques

Méthode Description
OnSessionOpen ( SessionId sessionId, string>.IDictionary properties ) : void

Notification that a new client session has been opened. When the listener is registered, this will be called for all existing sessions. It will then be called for every new session that opens whilst the listener is registered. This will be called for every client session regardless of requested session properties.

PropertiesListener ( ISubscriptionControl subscriptionControl, string currentTopic, ISubscriptionCallback subscriptionCallback ) : System.Collections.Generic

Method Details

OnSessionOpen() public méthode

Notification that a new client session has been opened. When the listener is registered, this will be called for all existing sessions. It will then be called for every new session that opens whilst the listener is registered. This will be called for every client session regardless of requested session properties.
public OnSessionOpen ( SessionId sessionId, string>.IDictionary properties ) : void
sessionId SessionId The session identifier.
properties string>.IDictionary The map of requested /// session property values. This can be empty if no properties were requested. If a requested property did /// not exist then it will not be prsent in the map.
Résultat void

PropertiesListener() public méthode

public PropertiesListener ( ISubscriptionControl subscriptionControl, string currentTopic, ISubscriptionCallback subscriptionCallback ) : System.Collections.Generic
subscriptionControl ISubscriptionControl
currentTopic string
subscriptionCallback ISubscriptionCallback
Résultat System.Collections.Generic