C# 클래스 Enyim.Membase.BucketConfigListener

파일 보기 프로젝트 열기: xianrendzw/LightFramework.Net 1 사용 예제들

공개 메소드들

메소드 설명
BucketConfigListener ( Uri poolUrls, string bucketName, string bucketPassword ) : System
Start ( ) : void

Starts listening for configuration data. This method blocks until the initial configuration is received. (Or until all sockIOPool urls fail.)

Stop ( ) : void

비공개 메소드들

메소드 설명
GetPooledListener ( ) : MessageStreamListener

Returns a MessageStreamListener instance based on this instance's configuratino (timeout, bucket name etc.) When multiple listeners are requested with the exact same parameters (usually when multiple clients are instantiated from the same configuration), the same listener will be returned each time.

HandleMessage ( string message ) : void
RaiseConfigChanged ( ClusterConfig config ) : void
ReleaseListener ( MessageStreamListener listener ) : void

Unsubscibes from a pooled listener, and destrpys it if no additionals subscribers are present.

ResolveBucketUri ( WebClientWithTimeout client, Uri root, string bucketName ) : Uri

메소드 상세

BucketConfigListener() 공개 메소드

public BucketConfigListener ( Uri poolUrls, string bucketName, string bucketPassword ) : System
poolUrls System.Uri
bucketName string
bucketPassword string
리턴 System

Start() 공개 메소드

Starts listening for configuration data. This method blocks until the initial configuration is received. (Or until all sockIOPool urls fail.)
public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void