mirror of
https://github.com/berkeleydb/libdb.git
synced 2024-11-17 09:36:24 +00:00
39 lines
751 B
C#
39 lines
751 B
C#
/*-
|
|
* 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; }
|
|
}
|
|
}
|
|
}
|