MyChannels.Nirvana.IDataGroup Interface Reference

Defines a Data Group. More...

Inherited by MyChannels.Nirvana.DataGroup, and MyChannels.Nirvana.RootDataGroup.


Public Member Functions

IDataGroup CreateDataGroup (string name, ConflationBehaviour behaviour, TimeSpan interval)
 Create a conflated data group & automatically add it to this group.
IDataGroup CreateDataGroup (string name)
 Create a new data group & automatically add it to this group.
IRegisteredEvent CreateRegisteredEvent ()
 Create a registered event for this data group.
void Send (IMessage message)
 Send a message (non-transactional).

Properties

IEnumerable< IDataGroupChildren [get]
 Messages published to this Data Group will also be published to it's children.
string Name [get]
 The name of this Data Group.
IEnumerable< IDataGroupParents [get]
 Messages published the parent(s) will also be published to this Data Group.
IEnumerable< string > Publishers [get]
 List of subjects that are allow to publish messages to this Data Group.
IEnumerable< IDataStream > Streams [get]
 List of streams listening to this Data Group.

Detailed Description

Defines a Data Group.


Member Function Documentation

IDataGroup MyChannels.Nirvana.IDataGroup.CreateDataGroup ( string  name,
ConflationBehaviour  behaviour,
TimeSpan  interval 
)

Create a conflated data group & automatically add it to this group.

Parameters:
name The name of the data group
behaviour The conflation behaviour
interval The conflation interval
Returns:
The new data group

IDataGroup MyChannels.Nirvana.IDataGroup.CreateDataGroup ( string  name  ) 

Create a new data group & automatically add it to this group.

Parameters:
name The name of the data group
Returns:
The new data group

IRegisteredEvent MyChannels.Nirvana.IDataGroup.CreateRegisteredEvent (  ) 

Create a registered event for this data group.

Returns:
The registered event

void MyChannels.Nirvana.IDataGroup.Send ( IMessage  message  ) 

Send a message (non-transactional).

Parameters:
message The message