C# 클래스 EventCentric.Publishing.PublisherBase

상속: MicroserviceWorker
파일 보기 프로젝트 열기: Narvalex/EventCentric

보호된 프로퍼티들

프로퍼티 타입 설명
eventsToPushMaxCount int
longPollingTimeout System.TimeSpan
store IEventStore
streamType string

공개 메소드들

메소드 설명
PollEvents ( System.Guid streamId, long consumerVersion, string consumerName ) : PollResponse
PollEvents ( long consumerVersion, string consumerName ) : PollResponse Timeout implementation inspired by: http://stackoverflow.com/questions/5018921/implement-c-sharp-timeout
PublisherBase ( string streamType, IEventStore store, IBus bus, ILogger log, System.TimeSpan pollTimeout, int eventsToPushMaxCount ) : System

메소드 상세

PollEvents() 공개 메소드

public PollEvents ( System.Guid streamId, long consumerVersion, string consumerName ) : PollResponse
streamId System.Guid
consumerVersion long
consumerName string
리턴 EventCentric.Transport.PollResponse

PollEvents() 공개 메소드

Timeout implementation inspired by: http://stackoverflow.com/questions/5018921/implement-c-sharp-timeout
public PollEvents ( long consumerVersion, string consumerName ) : PollResponse
consumerVersion long
consumerName string
리턴 EventCentric.Transport.PollResponse

PublisherBase() 공개 메소드

public PublisherBase ( string streamType, IEventStore store, IBus bus, ILogger log, System.TimeSpan pollTimeout, int eventsToPushMaxCount ) : System
streamType string
store IEventStore
bus IBus
log ILogger
pollTimeout System.TimeSpan
eventsToPushMaxCount int
리턴 System

프로퍼티 상세

eventsToPushMaxCount 보호되어 있는 프로퍼티

protected int eventsToPushMaxCount
리턴 int

longPollingTimeout 보호되어 있는 프로퍼티

protected TimeSpan,System longPollingTimeout
리턴 System.TimeSpan

store 보호되어 있는 프로퍼티

protected IEventStore store
리턴 IEventStore

streamType 보호되어 있는 프로퍼티

protected string streamType
리턴 string