Class FinXmlOrder

Namespace
Subsembly.FinTS
Assembly
Subsembly.FinTS.Core.dll

Handles orders in XML format based on the FinTransmogrifier.

public class FinXmlOrder : FinOrder
Inheritance
FinXmlOrder
Inherited Members

Remarks

The XML syntax description required to transmogrify the HIRMS segment is already hard coded in this class and thus must not be supplied by the client application.

Constructors

FinXmlOrder(XmlElement, FinTransmogrifier, FinTransmogrifier)

public FinXmlOrder(XmlElement xmlOrderSegment, FinTransmogrifier aOrderTransmogrifier, FinTransmogrifier aResponseTransmogrifier)

Parameters

xmlOrderSegment XmlElement

The order in XML format.

aOrderTransmogrifier FinTransmogrifier

A FinTransmogrifier instance that is capable of transmogrifying the given XML order into a FinSegment.

aResponseTransmogrifier FinTransmogrifier

Optional FinTransmogrifier instance that is capable of transmogrifying any response segments of this order to XML. If this type of order does not receive any response data segments, then this can be null.

Exceptions

ArgumentNullException

The xmlOrderSegment parameter or the aOrderTransmogrifier parameter was null.

FinTransmogrifierException

The order segment could not be transmogrified.

Properties

ResponseXml

Provides the complete response data including the status in XML format.

public XmlDocument ResponseXml { get; }

Property Value

XmlDocument

Exceptions

InvalidOperationException

The FinOrder was not Executed, yet. Thus no response data can exist.

Methods

OnExecuteComplete(FinDialog)

If the order was executed, this method converts the response data into XML.

protected override void OnExecuteComplete(FinDialog aDialog)

Parameters

aDialog FinDialog