Class WildcardSymbol
Represents [wildcard] subscription to all events of the specific event type.
The All constant can be added to any
DXFeedSubscription instance with AddSymbols(params object[]) method
to the effect of subscribing to all possible event symbols. The corresponding subscription will start
receiving all published events of the corresponding types.
For more details see Javadoc.
public class WildcardSymbol
- Inheritance
-
WildcardSymbol
- Inherited Members
Fields
All
Represents [wildcard] subscription to all events of the specific event type.
NOTE:
Wildcard subscription can create extremely high network and CPU load for certain kinds of
high-frequency events like quotes. It requires a special arrangement on the side of upstream data provider and
is disabled by default in upstream feed configuration.
Make that sure you have adequate resources and understand the impact before using it.
It can be used for low-frequency events only (like Forex quotes), because each instance
of DXFeedSubscription processes events in a single thread
and there is no provision to load-balance wildcard
subscription amongst multiple threads.
public static readonly WildcardSymbol All
Field Value
ReservedPrefix
Symbol prefix that is reserved for wildcard subscriptions. Any subscription starting with "*" is ignored with the exception of WildcardSymbol subscription.
public const string ReservedPrefix = "*"
Field Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
- bool
true
if the specified object is equal to the current object; otherwise,false
.
GetHashCode()
Returns a hash code value for this object.
public override int GetHashCode()
Returns
- int
A hash code value for this object.
ToString()
public override string ToString()