C# Class EventCentric.Transport.PollResponse

Afficher le fichier Open project: Narvalex/EventCentric Class Usage Examples

Méthodes publiques

Méthode Description
CreateErrorResponse ( string streamType ) : PollResponse
CreateInMemoryResponse ( bool errorDetected, bool newEventsWereFound, string streamType, IEnumerable events, long consumerVersion, long producerVersion ) : PollResponse
CreateSerializedResponse ( bool errorDetected, bool newEventsWereFound, string streamType, IEnumerable newRawEvents, long consumerVersion, long producerVersion ) : PollResponse
PollResponse ( ) : System.Collections.Generic

Private Methods

Méthode Description
CreateBaseResponse ( bool errorDetected, bool newEventsWereFound, string streamType, long consumerVersion, long producerVersion ) : PollResponse

Method Details

CreateErrorResponse() public static méthode

public static CreateErrorResponse ( string streamType ) : PollResponse
streamType string
Résultat PollResponse

CreateInMemoryResponse() public static méthode

public static CreateInMemoryResponse ( bool errorDetected, bool newEventsWereFound, string streamType, IEnumerable events, long consumerVersion, long producerVersion ) : PollResponse
errorDetected bool
newEventsWereFound bool
streamType string
events IEnumerable
consumerVersion long
producerVersion long
Résultat PollResponse

CreateSerializedResponse() public static méthode

public static CreateSerializedResponse ( bool errorDetected, bool newEventsWereFound, string streamType, IEnumerable newRawEvents, long consumerVersion, long producerVersion ) : PollResponse
errorDetected bool
newEventsWereFound bool
streamType string
newRawEvents IEnumerable
consumerVersion long
producerVersion long
Résultat PollResponse

PollResponse() public méthode

public PollResponse ( ) : System.Collections.Generic
Résultat System.Collections.Generic