Allows the caller to efficiently subscribe to many topics More...
Inherits IDisposable.
Inherited by MyChannels.Nirvana.BatchedTopicSubscription.
Public Member Functions | |
IConsumer | CreateConsumer (string name, string filter=null, long eventId=0, bool subscribeToPurge=false) |
Creates a Topic consumer. More... | |
void | Execute () |
Subscribe to all of the consumers in the batch More... | |
Allows the caller to efficiently subscribe to many topics
IConsumer MyChannels.Nirvana.IBatchedSubscription.CreateConsumer | ( | string | name, |
string | filter = null , |
||
long | eventId = 0 , |
||
bool | subscribeToPurge = false |
||
) |
Creates a Topic consumer.
name | The name of the topic |
filter | The event filter (channel key) |
eventId | The event id you would like to start at. |
subscribeToPurge | The consumer will receive purge events |
void MyChannels.Nirvana.IBatchedSubscription.Execute | ( | ) |
Subscribe to all of the consumers in the batch