Table of Contents

Enum DXEndpoint.Role

Namespace
DxFeed.Graal.Net.Api
Assembly
DxFeed.Graal.Net.dll

A list of endpoint roles.

public enum DXEndpoint.Role

Fields

Feed = 0

Feed endpoint connects to the remote data feed provider and is optimized for real-time or delayed data processing (this is a default role). GetFeed() method returns feed object that subscribes to the remote data feed provider and receives events from it. When event processing threads cannot keep up (don't have enough CPU time), data is dynamically conflated to minimize latency between received events and their processing time.

LocalHub = 5

LocalHub endpoint is a local hub without ability to establish network connections. Events that are published via GetPublisher() are delivered to local GetFeed() only.

OnDemandFeed = 1

OnDemandFeed endpoint is similar to Feed, but it is designed to be used with OnDemandService for historical data replay only.

Publisher = 3

Publisher endpoint connects to the remote publisher hub (also known as multiplexor) or creates a publisher on the local host. GetPublisher() method returns a publisher object that publishes events to all connected feeds.

StreamFeed = 2

StreamFeed endpoint is similar to Feed and also connects to the remote data feed provider, is designed for bulk parsing of data from files. GetFeed() method returns feed object that subscribes to the data from the opened files and receives events from them. Events from the files are not conflated, are not skipped, and are processed as fast as possible.

StreamPublisher = 4

StreamPublisher endpoint is similar to Publisher and also connects to the remote publisher hub, but is designed for bulk publishing of data. GetPublisher() method returns a publisher object that publishes events to all connected feeds. Published events are not conflated, are not skipped, and are processed as fast as possible.