using System;
namespace Krs.Ats.IBNet
{
///
/// Receive Financial Advisor Event Arguments
///
[Serializable()]
public class ReceiveFAEventArgs : EventArgs
{
private FADataType faDataType;
private string xml;
///
/// Full Constructor
///
/// Specifies the type of Financial Advisor configuration data being received from TWS.
/// The XML string containing the previously requested FA configuration information.
public ReceiveFAEventArgs(FADataType faDataType, string xml)
{
this.faDataType = faDataType;
this.xml = xml;
}
///
/// Uninitialized Constructor for Serialization
///
public ReceiveFAEventArgs()
{
}
///
/// Specifies the type of Financial Advisor configuration data being received from TWS.
///
/// Valid values include:
/// 1 = GROUPS
/// 2 = PROFILE
/// 3 = ACCOUNT ALIASES
///
public FADataType FADataType
{
get { return faDataType; }
set { faDataType = value; }
}
///
/// The XML string containing the previously requested FA configuration information.
///
public string Xml
{
get { return xml; }
set { xml = value; }
}
}
}