25 lines
567 B
C#
25 lines
567 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace BCG
|
|
{
|
|
/// <summary>
|
|
/// when a publisher sends transactional data to the pubsub server,
|
|
/// this is the first meta data, followed by pub messages. this indicated
|
|
/// the number of messages that are part of the transaction
|
|
/// </summary>
|
|
[Serializable]
|
|
public class TransactionMetaData
|
|
{
|
|
public int nMessages;
|
|
|
|
public TransactionMetaData() { }
|
|
|
|
public TransactionMetaData(int theNMessages)
|
|
{
|
|
nMessages = theNMessages;
|
|
}
|
|
}
|
|
}
|