C# 클래스 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.
상속: SessionPropertiesListenerDefault
파일 보기 프로젝트 열기: pushtechnology/diffusion-examples

공개 메소드들

메소드 설명
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

메소드 상세

OnSessionOpen() 공개 메소드

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.
리턴 void

PropertiesListener() 공개 메소드

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