dxFeed Graal Native SDK 3.12.0
Loading...
Searching...
No Matches
dxfg_v4_ondemand.h File Reference

The v4 functions of dxfg_ondemand.h and the v4 names of its types (see the group OnDemand (v4)). More...

#include "dxfg_ondemand.h"
#include "dxfg_v4_common.h"
#include "dxfg_v4_endpoint.h"
#include "dxfg_v4_javac.h"

Go to the source code of this file.

Typedefs

typedef dxfg_java_object_handler dxfg_v4_java_object_handler
 The handle of a Java object: the reference by which the C code refers to an object that lives in Java.
typedef dxfg_on_demand_service_t dxfg_v4_on_demand_service_t
 A handle of a Java OnDemandService object; release it with dxfg_JavaObjectHandler_release().

Functions

int32_t dxfg_v4_OnDemandService_getInstance (graal_isolatethread_t *thread, DXFG_OUT dxfg_v4_on_demand_service_t **onDemandService)
 Returns the on-demand service of the default endpoint with the DXFG_ENDPOINT_ROLE_ON_DEMAND_FEED role.
int32_t dxfg_v4_OnDemandService_getInstanceByEndpoint (graal_isolatethread_t *thread, dxfg_v4_endpoint_t *endpoint, DXFG_OUT dxfg_v4_on_demand_service_t **onDemandService)
 Returns the on-demand service of the specified endpoint.
int32_t dxfg_v4_OnDemandService_getEndpoint (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service, DXFG_OUT dxfg_v4_endpoint_t **endpoint)
 Returns the endpoint that is associated with the service.
int32_t dxfg_v4_OnDemandService_isReplaySupported (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service, DXFG_OUT int32_t *replaySupported)
 Tells whether the on-demand historical data replay mode is supported.
int32_t dxfg_v4_OnDemandService_isReplay (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service, DXFG_OUT int32_t *replay)
 Tells whether the service is in the replay mode.
int32_t dxfg_v4_OnDemandService_isClear (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service, DXFG_OUT int32_t *clear)
 Tells whether the service is in the clear mode.
int32_t dxfg_v4_OnDemandService_getTime (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service, DXFG_OUT int64_t *time)
 Returns the current or the last replay time.
int32_t dxfg_v4_OnDemandService_getSpeed (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service, DXFG_OUT double *speed)
 Returns the replay speed.
int32_t dxfg_v4_OnDemandService_replay (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service, int64_t time)
 Turns the replay mode on from the specified time with the real-time speed (1).
int32_t dxfg_v4_OnDemandService_replayWithSpeed (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service, int64_t time, double speed)
 Turns the replay mode on from the specified time with the specified speed.
int32_t dxfg_v4_OnDemandService_pause (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service)
 Pauses the replay and keeps the data snapshot.
int32_t dxfg_v4_OnDemandService_stopAndResume (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service)
 Stops the replay and resumes the ordinary data feed.
int32_t dxfg_v4_OnDemandService_stopAndClear (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service)
 Stops the incoming data and clears it without resuming the data updates.
int32_t dxfg_v4_OnDemandService_setSpeed (graal_isolatethread_t *thread, dxfg_v4_on_demand_service_t *service, double speed)
 Changes the replay speed and continues the replay at the current time.

Detailed Description

The v4 functions of dxfg_ondemand.h and the v4 names of its types (see the group OnDemand (v4)).