C# Class Woopsa.WoopsaClientSubscriptionChannel

Afficher le fichier Open project: woopsa-protocol/Woopsa Class Usage Examples

Méthodes publiques

Свойство Type Description
ReconnectionInterval System.TimeSpan

Private Properties

Свойство Type Description
CloseChannel void
CreateSubscriptionChannel int
CreateWoopsaSubscriptionServiceMethods void
EnsureServiceThreadStarted void
ExecuteNotifications void
ManageSubscriptions void
OpenChannel void
ProcessNotifications void
RegisterSubscriptions bool
RequestAllUnregistration void
RetrieveNotification int
Subscribe WoopsaClientSubscription
UnregisterLostSubscriptions bool
UnregisterSubscriptions bool
WaitNotification WoopsaJsonData
executeServiceNotifications void
executeServiceSubscriptions void

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetFailedSubscriptions ( ) : List
Subscribe ( string path, EventHandler handler ) : WoopsaClientSubscription
Subscribe ( string path, EventHandler handler, System.TimeSpan monitorInterval, System.TimeSpan publishInterval ) : WoopsaClientSubscription
Terminate ( ) : void
WoopsaClientSubscriptionChannel ( WoopsaClient client, WoopsaUnboundClientObject woopsaRoot, int notificationQueueSize ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CloseChannel ( ) : void
CreateSubscriptionChannel ( int notificationQueueSize ) : int
CreateWoopsaSubscriptionServiceMethods ( ) : void
EnsureServiceThreadStarted ( ) : void
ExecuteNotifications ( WoopsaClientNotifications notifications ) : void
ManageSubscriptions ( ) : void
OpenChannel ( ) : void
ProcessNotifications ( ) : void
RegisterSubscriptions ( List subscriptions ) : bool
RequestAllUnregistration ( ) : void
RetrieveNotification ( WoopsaClientNotifications &notificationsResult, int lastNotificationId ) : int
Subscribe ( string servicePath, string relativePath, EventHandler handler, System.TimeSpan monitorInterval, System.TimeSpan publishInterval ) : WoopsaClientSubscription
UnregisterLostSubscriptions ( IEnumerable lostSubscriptionIds ) : bool
UnregisterSubscriptions ( IEnumerable unsubscriptions ) : bool
WaitNotification ( int subscriptionChannel, int lastNotificationId ) : WoopsaJsonData
executeServiceNotifications ( ) : void
executeServiceSubscriptions ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetFailedSubscriptions() public méthode

public GetFailedSubscriptions ( ) : List
Résultat List

Subscribe() public méthode

public Subscribe ( string path, EventHandler handler ) : WoopsaClientSubscription
path string
handler EventHandler
Résultat WoopsaClientSubscription

Subscribe() public méthode

public Subscribe ( string path, EventHandler handler, System.TimeSpan monitorInterval, System.TimeSpan publishInterval ) : WoopsaClientSubscription
path string
handler EventHandler
monitorInterval System.TimeSpan
publishInterval System.TimeSpan
Résultat WoopsaClientSubscription

Terminate() public méthode

public Terminate ( ) : void
Résultat void

WoopsaClientSubscriptionChannel() public méthode

public WoopsaClientSubscriptionChannel ( WoopsaClient client, WoopsaUnboundClientObject woopsaRoot, int notificationQueueSize ) : System
client WoopsaClient
woopsaRoot WoopsaUnboundClientObject
notificationQueueSize int
Résultat System

Property Details

ReconnectionInterval public_oe static_oe property

public static TimeSpan,System ReconnectionInterval
Résultat System.TimeSpan