MyChannels.Nirvana.IBatch Interface Reference

Allows the caller to perform a batch of operations on Nirvana resources. More...

Inheritance diagram for MyChannels.Nirvana.IBatch:
MyChannels.Nirvana.IDataGroupBatch

Public Member Functions

void Execute (bool waitForResponse=true)
 Execute all the operations in the batch. More...
 
void Send (IMessage message)
 Send a message to a resource. More...
 
void Send (string resource, IMessage message)
 Send a message to a resource. More...
 

Detailed Description

Allows the caller to perform a batch of operations on Nirvana resources.

Member Function Documentation

void MyChannels.Nirvana.IBatch.Execute ( bool  waitForResponse = true)

Execute all the operations in the batch.

Parameters
waitForResponseTrue: synchronous, False: asynchronous
void MyChannels.Nirvana.IBatch.Send ( IMessage  message)

Send a message to a resource.

Parameters
messageThe message
void MyChannels.Nirvana.IBatch.Send ( string  resource,
IMessage  message 
)

Send a message to a resource.

Parameters
resourceThe resource identifier
messageThe message