Class SecuritiesMessage
Base class for the object model of all generic SWIFT Securities Markets messages.
Inheritance
SecuritiesMessage
Assembly: Subsembly.Sepa.dll
Syntax
public abstract class SecuritiesMessage : SecuritiesSequence, ISecuritiesSequence
Constructors
SecuritiesMessage(int)
Declaration
public SecuritiesMessage(int nMT)
Parameters
Type |
Name |
Description |
int |
nMT |
The SWIFT message type number.
|
Properties
BlockName
Declaration
public override string BlockName { get; }
Property Value
Overrides
MessageType
Declaration
public int MessageType { get; }
Property Value
Methods
CreateMessageData()
Produces the binary data from this SWIFT message.
Declaration
public byte[] CreateMessageData()
Returns
Exceptions
DebugTrace()
Tries to produce the SWIFT Message Text and writes it to the Debug output.
Declaration
[Conditional("DEBUG")]
public void DebugTrace()
Parse(SwiftReader)
Declaration
public void Parse(SwiftReader aReader)
Parameters
ProcessField(SwiftField)
Invoked during parsing in order to let the derived class process a SWIFT field at
the root level. Usually a generic SWIFT message never has fields at the root level,
hence the default implementation just throws an
UnexpectedField exception.
Declaration
public override void ProcessField(SwiftField aField)
Parameters
Type |
Name |
Description |
SwiftField |
aField |
The field to process. The field type is either GenericField,
or NonGenericField. All other field types are already
processed internally by this class.
|
Overrides
Write(SwiftWriter)
Declaration
public void Write(SwiftWriter aWriter)
Parameters
Exceptions
WriteSequence(SwiftWriter)
Declaration
public override void WriteSequence(SwiftWriter aWriter)
Parameters
Overrides
Implements