Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.DiffusionCore.Messaging.Topic.TopicListenerImpl Class Reference

The class responsible for topic listener invocations. More...

Public Member Functions

 TopicListenerImpl (Action< TopicMessageImpl > function, Regex pattern, TopicSet topics, object context)
 Constructor. More...
 

Public Attributes

Action< TopicMessageImplFunction
 The delegate to call when a topic is matched. More...
 

Properties

Regex Pattern [get, set]
 The regex representing the topic selection pattern. More...
 
TopicSet Topics [get, set]
 The topic set representing the Diffusion topic selection pattern. More...
 
int Handle [get, set]
 A unique identifier for this TopicListener. More...
 
object Context [get, set]
 The object which created this TopicListener. More...
 

Detailed Description

The class responsible for topic listener invocations.

Constructor & Destructor Documentation

PushTechnology.DiffusionCore.Messaging.Topic.TopicListenerImpl.TopicListenerImpl ( Action< TopicMessageImpl function,
Regex  pattern,
TopicSet  topics,
object  context 
)

Constructor.

Parameters
function
pattern
topics
context

Member Data Documentation

Action<TopicMessageImpl> PushTechnology.DiffusionCore.Messaging.Topic.TopicListenerImpl.Function

The delegate to call when a topic is matched.

Property Documentation

object PushTechnology.DiffusionCore.Messaging.Topic.TopicListenerImpl.Context
getset

The object which created this TopicListener.

int PushTechnology.DiffusionCore.Messaging.Topic.TopicListenerImpl.Handle
getset

A unique identifier for this TopicListener.

Regex PushTechnology.DiffusionCore.Messaging.Topic.TopicListenerImpl.Pattern
getset

The regex representing the topic selection pattern.

TopicSet PushTechnology.DiffusionCore.Messaging.Topic.TopicListenerImpl.Topics
getset

The topic set representing the Diffusion topic selection pattern.