MyChannels.Nirvana.IRegisteredEvent Interface Reference

Defines an object that can be used to commit changes to an event that is stored in the realm server. More...

Inherited by MyChannels.Nirvana.RegisteredEvent.

Public Member Functions

void CommitChanges ()
 Commit changes More...
 
void CommitChanges (bool replace)
 Commit changes, replacing the entire event on the server. More...
 

Properties

int ChangeCount [get]
 The number of changes since last commit More...
 
IDestination Destination [get]
 The destination of the registered event More...
 
byte[] Payload [get, set]
 Binary payload More...
 
string PrimaryKeyName [get]
 The primary key name More...
 
object PrimaryKeyValue [get]
 The primary key value More...
 
IProperties Properties [get]
 Message properties More...
 
string Tag [get, set]
 Message tag More...
 
TimeSpan TimeSinceLastCommit [get]
 Time elapsed since last commit More...
 

Detailed Description

Defines an object that can be used to commit changes to an event that is stored in the realm server.

Member Function Documentation

void MyChannels.Nirvana.IRegisteredEvent.CommitChanges ( )

Commit changes

void MyChannels.Nirvana.IRegisteredEvent.CommitChanges ( bool  replace)

Commit changes, replacing the entire event on the server.

Client will receive the entire message.

Parameters
replace

Property Documentation

int MyChannels.Nirvana.IRegisteredEvent.ChangeCount
get

The number of changes since last commit

IDestination MyChannels.Nirvana.IRegisteredEvent.Destination
get

The destination of the registered event

byte [] MyChannels.Nirvana.IRegisteredEvent.Payload
getset

Binary payload

string MyChannels.Nirvana.IRegisteredEvent.PrimaryKeyName
get

The primary key name

object MyChannels.Nirvana.IRegisteredEvent.PrimaryKeyValue
get

The primary key value

IProperties MyChannels.Nirvana.IRegisteredEvent.Properties
get

Message properties

string MyChannels.Nirvana.IRegisteredEvent.Tag
getset

Message tag

TimeSpan MyChannels.Nirvana.IRegisteredEvent.TimeSinceLastCommit
get

Time elapsed since last commit