Table of Contents

Class DXPublisher

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

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

public class DXPublisher
Inheritance
DXPublisher
Inherited Members

Methods

GetInstance()

Gets a default application-wide singleton instance of DXPublisher.

public static DXPublisher GetInstance()

Returns

DXPublisher

The DXPublisher.

PublishEvents(params IEventType[])

Publishes events to the corresponding feed. If the DXEndpoint of this publisher has Publisher role and it is connected, the published events will be delivered to the remote endpoints. Local GetFeed() will always receive published events.

public void PublishEvents(params IEventType[] events)

Parameters

events IEventType[]

The list of events to publish.

PublishEvents(IEnumerable<IEventType>)

Publishes events to the corresponding feed. If the DXEndpoint of this publisher has Publisher role and it is connected, the published events will be delivered to the remote endpoints. Local GetFeed() will always receive published events.

public void PublishEvents(IEnumerable<IEventType> events)

Parameters

events IEnumerable<IEventType>

The collection of events to publish.