C# Class Woopsa.WoopsaSubscriptionServiceImplementation

Inheritance: IWoopsaSubscriptionService, IDisposable
Mostrar archivo Open project: woopsa-protocol/Woopsa Class Usage Examples

Private Properties

Property Type Description
Channel_AfterWoopsaModelAccess void
Channel_BeforeWoopsaModelAccess void
_timerCheckChannelTimedOut_Elapsed void

Public Methods

Method Description
CreateSubscriptionChannel ( int notificationQueueSize ) : int
Dispose ( ) : void
RegisterSubscription ( int subscriptionChannelId, string woopsaPropertyPath, System.TimeSpan monitorInterval, System.TimeSpan publishInterval ) : int
Terminate ( ) : void
UnregisterSubscription ( int subscriptionChannel, int subscriptionId ) : bool
WaitNotification ( int subscriptionChannel, int lastNotificationId ) : WoopsaJsonData
WoopsaSubscriptionServiceImplementation ( WoopsaContainer root, bool isServerSide ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnAfterWoopsaModelAccess ( ) : void
OnBeforeWoopsaModelAccess ( ) : void

Private Methods

Method Description
Channel_AfterWoopsaModelAccess ( object sender, EventArgs e ) : void
Channel_BeforeWoopsaModelAccess ( object sender, EventArgs e ) : void
_timerCheckChannelTimedOut_Elapsed ( object sender, EventArgs e ) : void

Method Details

CreateSubscriptionChannel() public method

public CreateSubscriptionChannel ( int notificationQueueSize ) : int
notificationQueueSize int
return int

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

OnAfterWoopsaModelAccess() protected method

protected OnAfterWoopsaModelAccess ( ) : void
return void

OnBeforeWoopsaModelAccess() protected method

protected OnBeforeWoopsaModelAccess ( ) : void
return void

RegisterSubscription() public method

public RegisterSubscription ( int subscriptionChannelId, string woopsaPropertyPath, System.TimeSpan monitorInterval, System.TimeSpan publishInterval ) : int
subscriptionChannelId int
woopsaPropertyPath string
monitorInterval System.TimeSpan
publishInterval System.TimeSpan
return int

Terminate() public method

public Terminate ( ) : void
return void

UnregisterSubscription() public method

public UnregisterSubscription ( int subscriptionChannel, int subscriptionId ) : bool
subscriptionChannel int
subscriptionId int
return bool

WaitNotification() public method

public WaitNotification ( int subscriptionChannel, int lastNotificationId ) : WoopsaJsonData
subscriptionChannel int
lastNotificationId int
return WoopsaJsonData

WoopsaSubscriptionServiceImplementation() public method

public WoopsaSubscriptionServiceImplementation ( WoopsaContainer root, bool isServerSide ) : System
root WoopsaContainer
isServerSide bool
return System