C# 클래스 Woopsa.WoopsaSubscriptionServiceImplementation

상속: IWoopsaSubscriptionService, IDisposable
파일 보기 프로젝트 열기: woopsa-protocol/Woopsa 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Channel_AfterWoopsaModelAccess void
Channel_BeforeWoopsaModelAccess void
_timerCheckChannelTimedOut_Elapsed void

공개 메소드들

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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
OnAfterWoopsaModelAccess ( ) : void
OnBeforeWoopsaModelAccess ( ) : void

비공개 메소드들

메소드 설명
Channel_AfterWoopsaModelAccess ( object sender, EventArgs e ) : void
Channel_BeforeWoopsaModelAccess ( object sender, EventArgs e ) : void
_timerCheckChannelTimedOut_Elapsed ( object sender, EventArgs e ) : void

메소드 상세

CreateSubscriptionChannel() 공개 메소드

public CreateSubscriptionChannel ( int notificationQueueSize ) : int
notificationQueueSize int
리턴 int

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

OnAfterWoopsaModelAccess() 보호된 메소드

protected OnAfterWoopsaModelAccess ( ) : void
리턴 void

OnBeforeWoopsaModelAccess() 보호된 메소드

protected OnBeforeWoopsaModelAccess ( ) : void
리턴 void

RegisterSubscription() 공개 메소드

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

Terminate() 공개 메소드

public Terminate ( ) : void
리턴 void

UnregisterSubscription() 공개 메소드

public UnregisterSubscription ( int subscriptionChannel, int subscriptionId ) : bool
subscriptionChannel int
subscriptionId int
리턴 bool

WaitNotification() 공개 메소드

public WaitNotification ( int subscriptionChannel, int lastNotificationId ) : WoopsaJsonData
subscriptionChannel int
lastNotificationId int
리턴 WoopsaJsonData

WoopsaSubscriptionServiceImplementation() 공개 메소드

public WoopsaSubscriptionServiceImplementation ( WoopsaContainer root, bool isServerSide ) : System
root WoopsaContainer
isServerSide bool
리턴 System