C# Class EventCentric.Publishing.PublisherBase

Inheritance: MicroserviceWorker
Mostra file Open project: Narvalex/EventCentric

Protected Properties

Property Type Description
eventsToPushMaxCount int
longPollingTimeout System.TimeSpan
store IEventStore
streamType string

Public Methods

Method Description
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

Method Details

PollEvents() public method

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

PollEvents() public method

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

PublisherBase() public method

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
return System

Property Details

eventsToPushMaxCount protected_oe property

protected int eventsToPushMaxCount
return int

longPollingTimeout protected_oe property

protected TimeSpan,System longPollingTimeout
return System.TimeSpan

store protected_oe property

protected IEventStore store
return IEventStore

streamType protected_oe property

protected string streamType
return string