Class FixMessageAdapter
Inheritance
System.Object
FixMessageAdapter
Implements
System.Collections.Generic.IList<
TagValue>
System.Collections.Generic.ICollection<
TagValue>
System.Collections.Generic.IEnumerable<
TagValue>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: FixAntenna.Message.dll
Syntax
public abstract class FixMessageAdapter : AbstractFixMessage, IList<TagValue>, ICollection<TagValue>, IEnumerable<TagValue>, IEnumerable
Constructors
FixMessageAdapter()
Declaration
protected FixMessageAdapter()
FixMessageAdapter(Boolean)
Declaration
protected FixMessageAdapter(bool isUserOwned)
Parameters
Type |
Name |
Description |
System.Boolean |
isUserOwned |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
Item[Int32]
Declaration
public TagValue this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
Index of the field.
|
Property Value
Methods
Add(FixMessage)
Declaration
public virtual void Add(FixMessage list)
Parameters
Add(Int32, TagValue)
Declaration
public virtual void Add(int index, TagValue element)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
TagValue |
element |
|
AddAll(ICollection<TagValue>)
Use addAllTags() instead of this
Declaration
public bool AddAll(ICollection<TagValue> c)
Parameters
Type |
Name |
Description |
System.Collections.Generic.ICollection<TagValue> |
c |
@return
|
Returns
Type |
Description |
System.Boolean |
|
AddAll(Int32, ICollection<TagValue>)
Declaration
public virtual bool AddAll(int index, ICollection<TagValue> c)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Collections.Generic.ICollection<TagValue> |
c |
|
Returns
Type |
Description |
System.Boolean |
|
AddAtIndex(Int32, TagValue)
Declaration
public void AddAtIndex(int addAtIndex, TagValue field)
Parameters
Type |
Name |
Description |
System.Int32 |
addAtIndex |
|
TagValue |
field |
|
Clear()
Declaration
public override void Clear()
Overrides
Contains(TagValue)
Declaration
public bool Contains(TagValue item)
Parameters
Returns
Type |
Description |
System.Boolean |
|
CopyTo(TagValue[], Int32)
Declaration
public void CopyTo(TagValue[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
TagValue[] |
array |
|
System.Int32 |
arrayIndex |
|
DeepCopy(IndexedStorage)
Declaration
protected override void DeepCopy(IndexedStorage source)
Parameters
Overrides
Parse repeating group in FIX message
Declaration
public IList<IDictionary<int, TagValue>> ExtractGroup(int rgTag, int rgFirstTag, int[] tagList)
Parameters
Type |
Name |
Description |
System.Int32 |
rgTag |
Group amount tag
|
System.Int32 |
rgFirstTag |
The first tag. Tag just after size tag.
|
System.Int32[] |
tagList |
List of expected tags
|
Returns
Type |
Description |
System.Collections.Generic.IList<System.Collections.Generic.IDictionary<System.Int32, TagValue>> |
Repeating group
|
GetEnumerator()
Declaration
public override IEnumerator<TagValue> GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<TagValue> |
|
Overrides
GetTag(Int32)
Gets TagValue field by provided TagId value.
Declaration
public TagValue GetTag(int tagId)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
Returns
Type |
Description |
TagValue |
Returns TagValue with specified TagId or null, if TagId was not found.
|
GetTag(Int32, Int32)
Declaration
public TagValue GetTag(int tagId, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tagId |
|
System.Int32 |
occurrence |
|
Returns
GetTagAsInt(Int32)
Declaration
public int GetTagAsInt(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagAsInt(Int32, Int32)
Declaration
public int GetTagAsInt(int tag, int occurrence)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
|
System.Int32 |
occurrence |
|
Returns
Type |
Description |
System.Int32 |
|
GetTagAsIntAtIndex(Int32)
Declaration
public int GetTagAsIntAtIndex(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Int32 |
|
IndexOf(TagValue)
Declaration
public int IndexOf(TagValue item)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Insert(Int32, TagValue)
Declaration
public void Insert(int index, TagValue item)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
TagValue |
item |
|
IsEmpty()
Declaration
public override sealed bool IsEmpty()
Returns
Type |
Description |
System.Boolean |
|
Overrides
OnEnlarge(Int32, Int32)
Declaration
protected override void OnEnlarge(int ratio, int newSize)
Parameters
Type |
Name |
Description |
System.Int32 |
ratio |
|
System.Int32 |
newSize |
|
Overrides
Remove(TagValue)
Declaration
public bool Remove(TagValue item)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Remove(Int32)
Declaration
public virtual TagValue Remove(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
RemoveTagAtIndex(Int32, Boolean)
Declaration
public override bool RemoveTagAtIndex(int tagIndex, bool shiftRg)
Parameters
Type |
Name |
Description |
System.Int32 |
tagIndex |
|
System.Boolean |
shiftRg |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
ReserveTagAtIndex(Int32, Int32)
Declaration
public override int ReserveTagAtIndex(int addAtIndex, int tagId)
Parameters
Type |
Name |
Description |
System.Int32 |
addAtIndex |
|
System.Int32 |
tagId |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
Size()
Declaration
Returns
Type |
Description |
System.Int32 |
|
SplitAsList(Int32)
Utility method that splits current message into the repeating
groups based on first mandatory tag in the repeating
group (always first tag in the repeating group).
Declaration
public IList<List<TagValue>> SplitAsList(int tag)
Parameters
Type |
Name |
Description |
System.Int32 |
tag |
the tag number
|
Returns
Type |
Description |
System.Collections.Generic.IList<System.Collections.Generic.List<TagValue>> |
List of repeating groups (each one is separate FixMessage)
|
TryGetLongByIndex(Int32, out Int64)
Declaration
public bool TryGetLongByIndex(int index, out long value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int64 |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override void UpdateCalendarValueAtIndex(int index, DateTimeOffset value, FixDateFormatterFactory.FixDateType type)
Parameters
Overrides
UpdateValueAtIndex(Int32, TagValue)
Declaration
public override void UpdateValueAtIndex(int index, TagValue value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
TagValue |
value |
|
Overrides
UpdateValueAtIndex(Int32, Boolean)
Declaration
public override void UpdateValueAtIndex(int index, bool value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Boolean |
value |
|
Overrides
UpdateValueAtIndex(Int32, Byte[])
Declaration
public override void UpdateValueAtIndex(int index, byte[] value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Byte[] |
value |
|
Overrides
UpdateValueAtIndex(Int32, Byte[], Int32, Int32)
Declaration
public override void UpdateValueAtIndex(int index, byte[] value, int offset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Byte[] |
value |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Overrides
UpdateValueAtIndex(Int32, Double, Int32)
Declaration
public override void UpdateValueAtIndex(int index, double value, int precision)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Double |
value |
|
System.Int32 |
precision |
|
Overrides
UpdateValueAtIndex(Int32, Int64)
Declaration
public override void UpdateValueAtIndex(int index, long value)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Int64 |
value |
|
Overrides
UpdateValueAtIndex(Int32, String)
Declaration
public override void UpdateValueAtIndex(int index, string str)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.String |
str |
|
Overrides
Explicit Interface Implementations
ICollection<TagValue>.Add(TagValue)
Declaration
void ICollection<TagValue>.Add(TagValue item)
Parameters
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable