Class SecuritiesMessage
Base class for the object model of all generic SWIFT Securities Markets messages.
Inheritance
System.Object
SecuritiesMessage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Subsembly.Sepa.dll
Syntax
public abstract class SecuritiesMessage : SecuritiesSequence, ISecuritiesSequence
Constructors
SecuritiesMessage(Int32)
Declaration
public SecuritiesMessage(int nMT)
Parameters
Type |
Name |
Description |
System.Int32 |
nMT |
The SWIFT message type number.
|
Properties
BlockName
Declaration
public override string BlockName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
MessageType
Declaration
public int MessageType { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
CreateMessageData()
Produces the binary data from this SWIFT message.
Declaration
public byte[] CreateMessageData()
Returns
Type |
Description |
System.Byte[] |
|
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