libdb/examples/csharp/excs_txn/PayloadData.cs

40 lines
751 B
C#
Raw Normal View History

2011-09-13 17:44:24 +00:00
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2009, 2011 Oracle and/or its affiliates. All rights reserved.
*
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace excs_txn {
[Serializable()]
public class PayloadData {
private int oID;
private string threadName;
private double doubleData;
public PayloadData(int id, string name, double data) {
oID = id;
threadName = name;
doubleData = data;
}
public double DoubleData {
get { return doubleData; }
set { doubleData = value; }
}
public int ID {
get { return oID; }
set { oID = value; }
}
public string ThreadName {
get { return threadName; }
set { threadName = value; }
}
}
}