Table of Contents

Namespace DxFeed.Graal.Net.Api

Classes

DXEndpoint

Manages network connections to DXFeed or DXPublisher.
Porting a Java class com.dxfeed.api.DXEndpoint.
For more details see Javadoc.
There are ready-to-use singleton instances that are available with GetInstance() and GetInstance(Role) methods as wel as factory methods Create() and Create(Role), and a number of configuration methods.
Advanced properties can be configured with DXEndpoint.Builder (creates with NewBuilder()).

Threads and locks

This class is thread-safe and can be used concurrently from multiple threads without external synchronization.

Lifetimes

This class will not be garbage-collected and its resources will not be freed until Dispose(), Close() or CloseAndAwaitTermination() methods are called. Calling these methods ensures that instance can be safely garbage-collected when all outside references to it are lost. If a reference to an instance of this class is lost before calling the above methods, it causes a memory/resource leak. This behavior was implemented intentionally. Inner instances of DXFeed and DXPublisher have the same lifetime as DXEndpoint. DXFeed and DXPublisher have no public resource release methods, and exist as long as DXEndpoint exists.

DXEndpoint.Builder

Builder class for DXEndpoint that supports additional configuration properties.
Porting a Java class com.dxfeed.api.DXEndpoint.Builder.
For more details see Javadoc.

Default properties file

The Build() method tries to load the default property file for the Feed, OnDemandFeed and Publisher role. The default properties file is loaded only if there are no system properties (SystemProperty) or user properties (WithProperty(string, string)) set with the same key (DXFeedPropertiesProperty, DXPublisherPropertiesProperty) and the file exists and is readable.
This file must be in the Java properties file format.

Endpoint name

If no endpoint name has been specified (WithName(string)), the default name will be used. The default name includes a counter that increments each time an endpoint is created ("qdnet", "qdnet-1", etc.). To get the name of the created endpoint, call the GetName() method.

Threads and locks

This class is thread-safe and can be used concurrently from multiple threads without external synchronization.

DXFeed

Main entry class for dxFeed API. This class is a wrapper for FeedNative.
Read it first Javadoc.

DXFeedSubscription

Subscription for a set of symbols and event types. This class is a wrapper for SubscriptionNative. For more details see Javadoc.

DXPublisher

Provides API for publishing of events to local or remote DXFeed. This class is a wrapper for DXPublisherHandle.
For more details see Javadoc.

Enums

DXEndpoint.Role

A list of endpoint roles.

DXEndpoint.State

A list of endpoint states.

Delegates

DXEndpoint.StateChangeListener

Notifies a change in the state of this endpoint.

DXFeedEventListener

The listener delegate for receiving events. Invoked when events of type are received.