MyChannels.Nirvana.IProducer Interface Reference

Defines an object that can publish messages to the realm. More...

Inherited by MyChannels.Nirvana.Producer.


Public Member Functions

ITransaction CreateTransaction (TimeSpan commitTimeout)
 Create a transaction.
ITransaction CreateTransaction ()
 Create a transaction.
void Send (IMessage message)
 Send a message (non-transactional).

Properties

IDestination Destination [get]
 The destination of the messages.

Detailed Description

Defines an object that can publish messages to the realm.

Member Function Documentation

ITransaction MyChannels.Nirvana.IProducer.CreateTransaction ( TimeSpan  commitTimeout  ) 

Create a transaction.

Parameters:
commitTimeout Amount of time allowed to elapse before the transaction will timeout

ITransaction MyChannels.Nirvana.IProducer.CreateTransaction (  ) 

Create a transaction.

Returns:

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

Send a message (non-transactional).

Parameters:
message The message


Property Documentation

IDestination MyChannels.Nirvana.IProducer.Destination [get]

The destination of the messages.