C# 클래스 EventCentric.Transport.LongPoller

상속: EventCentric.Messaging.Worker, ILongPoller
파일 보기 프로젝트 열기: Narvalex/EventCentric

공개 메소드들

메소드 설명
LongPoller ( IBus bus, ILogger log, System.TimeSpan timeout, string pollerName, IInMemoryEventPublisher inMemoryPublisher ) : System
PollSubscription ( string streamType, string url, string token, long fromVersion ) : void

비공개 메소드들

메소드 설명
CreateHttpClient ( string token ) : HttpClient

More info on credentials: http://stackoverflow.com/questions/14627399/setting-authorization-header-of-httpclient

PollFromHttp ( string streamType, string url, string token, long fromVersion ) : void
PollInMemory ( string streamType, long fromVersion ) : void
PublishPollResponse ( PollResponse response ) : void

메소드 상세

LongPoller() 공개 메소드

public LongPoller ( IBus bus, ILogger log, System.TimeSpan timeout, string pollerName, IInMemoryEventPublisher inMemoryPublisher ) : System
bus IBus
log ILogger
timeout System.TimeSpan
pollerName string
inMemoryPublisher IInMemoryEventPublisher
리턴 System

PollSubscription() 공개 메소드

public PollSubscription ( string streamType, string url, string token, long fromVersion ) : void
streamType string
url string
token string
fromVersion long
리턴 void