C# Класс EventCentric.Publishing.PublisherBase

Наследование: MicroserviceWorker
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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