C# Class SimpleGrains.StreamerInGrain

Inheritance: Orleans.Grain, IStreamerInGrain
Show file Open project: OrleansContrib/Orleans.StorageProviders.SimpleSQLServerStorage

Public Methods

Method Description
BecomeConsumer ( System.Guid streamId, string streamNamespace, string providerToUse ) : Task>
ClearNumberConsumed ( ) : System.Threading.Tasks.Task
Deactivate ( ) : System.Threading.Tasks.Task
GetAllSubscriptions ( System.Guid streamId, string streamNamespace, string providerToUse ) : Task>>
GetNumberConsumed ( ) : Task,Tuple>>
OnActivateAsync ( ) : System.Threading.Tasks.Task
Resume ( StreamSubscriptionHandle handle ) : Task>
StopConsuming ( StreamSubscriptionHandle handle ) : System.Threading.Tasks.Task
StreamerInGrain ( ) : SimpleGrainInterfaces

Private Methods

Method Description
OnError ( Exception e, int countCapture, Counter error ) : System.Threading.Tasks.Task
OnNext ( int e, StreamSequenceToken token, int countCapture, Counter count ) : System.Threading.Tasks.Task

Method Details

BecomeConsumer() public method

public BecomeConsumer ( System.Guid streamId, string streamNamespace, string providerToUse ) : Task>
streamId System.Guid
streamNamespace string
providerToUse string
return Task>

ClearNumberConsumed() public method

public ClearNumberConsumed ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Deactivate() public method

public Deactivate ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

GetAllSubscriptions() public method

public GetAllSubscriptions ( System.Guid streamId, string streamNamespace, string providerToUse ) : Task>>
streamId System.Guid
streamNamespace string
providerToUse string
return Task>>

GetNumberConsumed() public method

public GetNumberConsumed ( ) : Task,Tuple>>
return Task,Tuple>>

OnActivateAsync() public method

public OnActivateAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Resume() public method

public Resume ( StreamSubscriptionHandle handle ) : Task>
handle StreamSubscriptionHandle
return Task>

StopConsuming() public method

public StopConsuming ( StreamSubscriptionHandle handle ) : System.Threading.Tasks.Task
handle StreamSubscriptionHandle
return System.Threading.Tasks.Task

StreamerInGrain() public method

public StreamerInGrain ( ) : SimpleGrainInterfaces
return SimpleGrainInterfaces