dxFeed .Net API  5.13.0
dxFeed .Net API library intended to provide market data access for DX clients
Protected Member Functions | Package Functions | Static Package Functions | Package Attributes | Properties | Static Private Attributes
com.dxfeed.native.api.C Class Referenceabstract
Inheritance diagram for com.dxfeed.native.api.C:
[legend]
Collaboration diagram for com.dxfeed.native.api.C:
[legend]

Protected Member Functions

 C ()
 

Package Functions

delegate void dxf_event_listener_t (EventType event_type, IntPtr symbol, IntPtr data, int data_count, IntPtr user_data)
 
delegate void dxf_event_listener_v2_t (EventType event_type, IntPtr symbol, IntPtr data, int data_count, IntPtr event_params, IntPtr user_data)
 
delegate void dxf_conn_termination_notifier_t (IntPtr connection, IntPtr user_data)
 
delegate void dxf_conn_status_notifier_t (IntPtr connection, ConnectionStatus old_status, ConnectionStatus new_status, IntPtr user_data)
 
delegate int dxf_socket_thread_creation_notifier_t (IntPtr connection, IntPtr user_data)
 
delegate void dxf_socket_thread_destruction_notifier_t (IntPtr connection, IntPtr user_data)
 
delegate void dxf_snapshot_listener_t (IntPtr snapshotData, IntPtr userData)
 Snapshot listener prototype More...
 
delegate void dxf_price_level_book_listener_t (IntPtr price_level_book, IntPtr user_data)
 
delegate void dxf_regional_quote_listener_t (IntPtr symbol, IntPtr quote, int count, IntPtr user_data)
 
abstract int dxf_initialize_logger (string file_name, bool rewrite_file, bool show_time_zone_info, bool verbose)
 Initializes the internal logger. More...
 
abstract int dxf_initialize_logger_v2 (string file_name, bool rewrite_file, bool show_time_zone_info, bool verbose, bool log_data_transfer)
 Initializes the internal logger with data transfer logging. More...
 
abstract int dxf_create_connection (string address, dxf_conn_termination_notifier_t notifier, dxf_conn_status_notifier_t conn_status_notifier, dxf_socket_thread_creation_notifier_t stcn, dxf_socket_thread_destruction_notifier_t stdn, IntPtr user_data, out IntPtr connection)
 
abstract int dxf_create_connection_auth_basic (string address, string user, string password, dxf_conn_termination_notifier_t notifier, dxf_conn_status_notifier_t conn_status_notifier, dxf_socket_thread_creation_notifier_t stcn, dxf_socket_thread_destruction_notifier_t stdn, IntPtr user_data, out IntPtr connection)
 
abstract int dxf_create_connection_auth_bearer (string address, string token, dxf_conn_termination_notifier_t notifier, dxf_conn_status_notifier_t conn_status_notifier, dxf_socket_thread_creation_notifier_t stcn, dxf_socket_thread_destruction_notifier_t stdn, IntPtr user_data, out IntPtr connection)
 
abstract int dxf_create_connection_auth_custom (string address, string authscheme, string authdata, dxf_conn_termination_notifier_t notifier, dxf_conn_status_notifier_t conn_status_notifier, dxf_socket_thread_creation_notifier_t stcn, dxf_socket_thread_destruction_notifier_t stdn, IntPtr user_data, out IntPtr connection)
 
abstract int dxf_close_connection (IntPtr connection)
 
abstract int dxf_create_subscription (IntPtr connection, EventType event_types, out IntPtr subscription)
 
abstract int dxf_create_subscription_with_flags (IntPtr connection, EventType event_types, EventSubscriptionFlag subscr_flags, out IntPtr subscription)
 Creates a subscription with the specified parameters and the subscription flags. More...
 
abstract int dxf_create_subscription_timed (IntPtr connection, EventType event_types, Int64 time, out IntPtr subscription)
 
abstract int dxf_create_subscription_timed_with_flags (IntPtr connection, EventType event_types, Int64 time, EventSubscriptionFlag subscr_flags, out IntPtr subscription)
 Creates a timed subscription with the specified parameters and the subscription flags. More...
 
abstract int dxf_close_subscription (IntPtr subscription)
 
abstract int dxf_add_symbol (IntPtr subscription, String symbol)
 
abstract int dxf_add_symbols (IntPtr subscription, string[] symbols, int count)
 
abstract int dxf_add_candle_symbol (IntPtr subscription, IntPtr candle_attributes)
 
abstract int dxf_remove_candle_symbol (IntPtr subscription, IntPtr candle_attributes)
 
abstract int dxf_remove_symbol (IntPtr subcription, string symbol)
 
abstract int dxf_remove_symbols (IntPtr subscription, string[] symbols, int count)
 
abstract int dxf_get_symbols (IntPtr subscription, out IntPtr symbols, out int count)
 
abstract int dxf_set_symbols (IntPtr subscription, string[] symbols, int count)
 
abstract int dxf_clear_symbols (IntPtr subscription)
 
abstract int dxf_attach_event_listener (IntPtr subscription, dxf_event_listener_t event_listener, IntPtr user_data)
 
abstract int dxf_detach_event_listener (IntPtr subscription, dxf_event_listener_t listener)
 
abstract int dxf_attach_event_listener_v2 (IntPtr subscription, dxf_event_listener_v2_t event_listener, IntPtr user_data)
 
abstract int dxf_detach_event_listener_v2 (IntPtr subscription, dxf_event_listener_v2_t listener)
 
abstract int dxf_get_subscription_event_types (IntPtr subscription, out int event_types)
 
abstract int dxf_get_last_event (IntPtr connection, int event_type, string symbol, IntPtr event_data)
 
abstract int dxf_get_last_error (out int error_code, out IntPtr error_descr)
 
abstract int dxf_set_order_source (IntPtr subscription, byte[] source)
 
abstract int dxf_add_order_source (IntPtr subscription, byte[] source)
 
abstract int dxf_create_candle_symbol_attributes (string base_symbol, char exchange_code, double period_value, int period_type, int price, int session, int alignment, double price_level, out IntPtr candle_attributes)
 API that allows user to create candle symbol attributes More...
 
abstract int dxf_delete_candle_symbol_attributes (IntPtr candle_attributes)
 
abstract int dxf_create_snapshot (IntPtr connection, int event_id, string symbol, byte[] source, Int64 time, out IntPtr snapshot)
 
abstract int dxf_create_order_snapshot (IntPtr connection, string symbol, byte[] source, Int64 time, out IntPtr snapshot)
 
abstract int dxf_create_candle_snapshot (IntPtr connection, IntPtr candle_attributes, Int64 time, out IntPtr snapshot)
 
abstract int dxf_close_snapshot (IntPtr snapshot)
 
abstract int dxf_attach_snapshot_listener (IntPtr snapshot, dxf_snapshot_listener_t snapshotListener, IntPtr userData)
 
abstract int dxf_detach_snapshot_listener (IntPtr snapshot, dxf_snapshot_listener_t snapshotListener)
 
abstract int dxf_get_snapshot_symbol (IntPtr snapshot, out IntPtr symbol)
 
abstract int dxf_write_raw_data (IntPtr connection, byte[] raw_file_name)
 
abstract int dxf_get_connection_properties_snapshot (IntPtr connection, out IntPtr properties, out int count)
 
abstract int dxf_free_connection_properties_snapshot (IntPtr properties, int count)
 
abstract int dxf_get_current_connected_address (IntPtr connection, out IntPtr address)
 
abstract int dxf_get_current_connection_status (IntPtr connection, out ConnectionStatus status)
 
abstract int dxf_free (IntPtr pointer)
 
abstract int dxf_create_regional_book (IntPtr connection, string symbol, out IntPtr book)
 
abstract int dxf_close_regional_book (IntPtr book)
 
abstract int dxf_attach_regional_book_listener (IntPtr book, dxf_price_level_book_listener_t book_listener, IntPtr user_data)
 
abstract int dxf_detach_regional_book_listener (IntPtr book, dxf_price_level_book_listener_t book_listener)
 
abstract int dxf_attach_regional_book_listener_v2 (IntPtr book, dxf_regional_quote_listener_t listener, IntPtr user_data)
 
abstract int dxf_detach_regional_book_listener_v2 (IntPtr book, dxf_regional_quote_listener_t listener)
 

Static Package Functions

static void CheckOk (int returnCode)
 Helper method to check error codes Throws NativeDxException if return_code != DX_OK More...
 

Package Attributes

const int DX_OK = 1
 
const int DX_ERR = 0
 

Properties

static C Instance [get]
 

Static Private Attributes

static C instance
 
static object syncRoot = new Object()
 

Constructor & Destructor Documentation

◆ C()

com.dxfeed.native.api.C.C ( )
inlineprotected

Member Function Documentation

◆ CheckOk()

static void com.dxfeed.native.api.C.CheckOk ( int  returnCode)
inlinestaticpackage

Helper method to check error codes Throws NativeDxException if return_code != DX_OK

Parameters
returnCode
Exceptions
NativeDxException

◆ dxf_add_candle_symbol()

abstract int com.dxfeed.native.api.C.dxf_add_candle_symbol ( IntPtr  subscription,
IntPtr  candle_attributes 
)
packagepure virtual

◆ dxf_add_order_source()

abstract int com.dxfeed.native.api.C.dxf_add_order_source ( IntPtr  subscription,
byte []  source 
)
packagepure virtual

◆ dxf_add_symbol()

abstract int com.dxfeed.native.api.C.dxf_add_symbol ( IntPtr  subscription,
String  symbol 
)
packagepure virtual

◆ dxf_add_symbols()

abstract int com.dxfeed.native.api.C.dxf_add_symbols ( IntPtr  subscription,
string []  symbols,
int  count 
)
packagepure virtual

◆ dxf_attach_event_listener()

abstract int com.dxfeed.native.api.C.dxf_attach_event_listener ( IntPtr  subscription,
dxf_event_listener_t  event_listener,
IntPtr  user_data 
)
packagepure virtual

◆ dxf_attach_event_listener_v2()

abstract int com.dxfeed.native.api.C.dxf_attach_event_listener_v2 ( IntPtr  subscription,
dxf_event_listener_v2_t  event_listener,
IntPtr  user_data 
)
packagepure virtual

◆ dxf_attach_regional_book_listener()

abstract int com.dxfeed.native.api.C.dxf_attach_regional_book_listener ( IntPtr  book,
dxf_price_level_book_listener_t  book_listener,
IntPtr  user_data 
)
packagepure virtual

◆ dxf_attach_regional_book_listener_v2()

abstract int com.dxfeed.native.api.C.dxf_attach_regional_book_listener_v2 ( IntPtr  book,
dxf_regional_quote_listener_t  listener,
IntPtr  user_data 
)
packagepure virtual

◆ dxf_attach_snapshot_listener()

abstract int com.dxfeed.native.api.C.dxf_attach_snapshot_listener ( IntPtr  snapshot,
dxf_snapshot_listener_t  snapshotListener,
IntPtr  userData 
)
packagepure virtual

◆ dxf_clear_symbols()

abstract int com.dxfeed.native.api.C.dxf_clear_symbols ( IntPtr  subscription)
packagepure virtual

◆ dxf_close_connection()

abstract int com.dxfeed.native.api.C.dxf_close_connection ( IntPtr  connection)
packagepure virtual

◆ dxf_close_regional_book()

abstract int com.dxfeed.native.api.C.dxf_close_regional_book ( IntPtr  book)
packagepure virtual

◆ dxf_close_snapshot()

abstract int com.dxfeed.native.api.C.dxf_close_snapshot ( IntPtr  snapshot)
packagepure virtual

◆ dxf_close_subscription()

abstract int com.dxfeed.native.api.C.dxf_close_subscription ( IntPtr  subscription)
packagepure virtual

◆ dxf_conn_status_notifier_t()

delegate void com.dxfeed.native.api.C.dxf_conn_status_notifier_t ( IntPtr  connection,
ConnectionStatus  old_status,
ConnectionStatus  new_status,
IntPtr  user_data 
)
package

◆ dxf_conn_termination_notifier_t()

delegate void com.dxfeed.native.api.C.dxf_conn_termination_notifier_t ( IntPtr  connection,
IntPtr  user_data 
)
package

◆ dxf_create_candle_snapshot()

abstract int com.dxfeed.native.api.C.dxf_create_candle_snapshot ( IntPtr  connection,
IntPtr  candle_attributes,
Int64  time,
out IntPtr  snapshot 
)
packagepure virtual

◆ dxf_create_candle_symbol_attributes()

abstract int com.dxfeed.native.api.C.dxf_create_candle_symbol_attributes ( string  base_symbol,
char  exchange_code,
double  period_value,
int  period_type,
int  price,
int  session,
int  alignment,
double  price_level,
out IntPtr  candle_attributes 
)
packagepure virtual

API that allows user to create candle symbol attributes

Parameters
base_symbolThe base symbol
exchange_codeExchange attribute of this symbol (A-Z)
period_valueAggregation period value of this symbol
period_typeAggregation period type of this symbol
pricePrice ("price" key) type attribute of this symbol
sessionSession ("tho" key) attribute of this symbol
alignmentAlignment ("a" key) attribute of this symbol
price_levelPrice level ("pl" key) attribute of this symbol. The candle price level defines additional axis to split candles within particular price corridor in addition to candle period attribute with the default value NAN.
candle_attributesPointer to the configured candle attributes struct
Returns
DX_OK (1) if candle attributes have been created successfully or DX_ERR (0) on error. dxf_get_last_error can be used to retrieve the error code and description in case of failure; candle_attributes are returned via output parameter

Implemented in com.dxfeed.native.api.C32, and com.dxfeed.native.api.C64.

◆ dxf_create_connection()

abstract int com.dxfeed.native.api.C.dxf_create_connection ( string  address,
dxf_conn_termination_notifier_t  notifier,
dxf_conn_status_notifier_t  conn_status_notifier,
dxf_socket_thread_creation_notifier_t  stcn,
dxf_socket_thread_destruction_notifier_t  stdn,
IntPtr  user_data,
out IntPtr  connection 
)
packagepure virtual

◆ dxf_create_connection_auth_basic()

abstract int com.dxfeed.native.api.C.dxf_create_connection_auth_basic ( string  address,
string  user,
string  password,
dxf_conn_termination_notifier_t  notifier,
dxf_conn_status_notifier_t  conn_status_notifier,
dxf_socket_thread_creation_notifier_t  stcn,
dxf_socket_thread_destruction_notifier_t  stdn,
IntPtr  user_data,
out IntPtr  connection 
)
packagepure virtual

◆ dxf_create_connection_auth_bearer()

abstract int com.dxfeed.native.api.C.dxf_create_connection_auth_bearer ( string  address,
string  token,
dxf_conn_termination_notifier_t  notifier,
dxf_conn_status_notifier_t  conn_status_notifier,
dxf_socket_thread_creation_notifier_t  stcn,
dxf_socket_thread_destruction_notifier_t  stdn,
IntPtr  user_data,
out IntPtr  connection 
)
packagepure virtual

◆ dxf_create_connection_auth_custom()

abstract int com.dxfeed.native.api.C.dxf_create_connection_auth_custom ( string  address,
string  authscheme,
string  authdata,
dxf_conn_termination_notifier_t  notifier,
dxf_conn_status_notifier_t  conn_status_notifier,
dxf_socket_thread_creation_notifier_t  stcn,
dxf_socket_thread_destruction_notifier_t  stdn,
IntPtr  user_data,
out IntPtr  connection 
)
packagepure virtual

◆ dxf_create_order_snapshot()

abstract int com.dxfeed.native.api.C.dxf_create_order_snapshot ( IntPtr  connection,
string  symbol,
byte []  source,
Int64  time,
out IntPtr  snapshot 
)
packagepure virtual

◆ dxf_create_regional_book()

abstract int com.dxfeed.native.api.C.dxf_create_regional_book ( IntPtr  connection,
string  symbol,
out IntPtr  book 
)
packagepure virtual

◆ dxf_create_snapshot()

abstract int com.dxfeed.native.api.C.dxf_create_snapshot ( IntPtr  connection,
int  event_id,
string  symbol,
byte []  source,
Int64  time,
out IntPtr  snapshot 
)
packagepure virtual

◆ dxf_create_subscription()

abstract int com.dxfeed.native.api.C.dxf_create_subscription ( IntPtr  connection,
EventType  event_types,
out IntPtr  subscription 
)
packagepure virtual

◆ dxf_create_subscription_timed()

abstract int com.dxfeed.native.api.C.dxf_create_subscription_timed ( IntPtr  connection,
EventType  event_types,
Int64  time,
out IntPtr  subscription 
)
packagepure virtual

◆ dxf_create_subscription_timed_with_flags()

abstract int com.dxfeed.native.api.C.dxf_create_subscription_timed_with_flags ( IntPtr  connection,
EventType  event_types,
Int64  time,
EventSubscriptionFlag  subscr_flags,
out IntPtr  subscription 
)
packagepure virtual

Creates a timed subscription with the specified parameters and the subscription flags.

Parameters
connectionA handle of a previously created connection which the subscription will be using
event_typesA bitmask of the subscription event types. See: EventType
timeUTC time in the past (unix time in milliseconds)
subscr_flagsA bitmask of the subscription event flags. See: EventSubscriptionFlag
subscriptionA handle of the created subscription
Returns
DX_OK (1) on successful subscription creation or DX_ERR (0) on error; dxf_get_last_error can be used to retrieve the error code and description in case of failure; a handle to newly created subscription is returned via subscription out parameter

Implemented in com.dxfeed.native.api.C32, and com.dxfeed.native.api.C64.

◆ dxf_create_subscription_with_flags()

abstract int com.dxfeed.native.api.C.dxf_create_subscription_with_flags ( IntPtr  connection,
EventType  event_types,
EventSubscriptionFlag  subscr_flags,
out IntPtr  subscription 
)
packagepure virtual

Creates a subscription with the specified parameters and the subscription flags.

Parameters
connectionA handle of a previously created connection which the subscription will be using
event_typesA bitmask of the subscription event types. See: EventType
subscr_flagsA bitmask of the subscription event flags. See: EventSubscriptionFlag
subscriptionA handle of the created subscription
Returns
DX_OK (1) on successful subscription creation or DX_ERR (0) on error; dxf_get_last_error can be used to retrieve the error code and description in case of failure; a handle to newly created subscription is returned via subscription out parameter

Implemented in com.dxfeed.native.api.C32, and com.dxfeed.native.api.C64.

◆ dxf_delete_candle_symbol_attributes()

abstract int com.dxfeed.native.api.C.dxf_delete_candle_symbol_attributes ( IntPtr  candle_attributes)
packagepure virtual

◆ dxf_detach_event_listener()

abstract int com.dxfeed.native.api.C.dxf_detach_event_listener ( IntPtr  subscription,
dxf_event_listener_t  listener 
)
packagepure virtual

◆ dxf_detach_event_listener_v2()

abstract int com.dxfeed.native.api.C.dxf_detach_event_listener_v2 ( IntPtr  subscription,
dxf_event_listener_v2_t  listener 
)
packagepure virtual

◆ dxf_detach_regional_book_listener()

abstract int com.dxfeed.native.api.C.dxf_detach_regional_book_listener ( IntPtr  book,
dxf_price_level_book_listener_t  book_listener 
)
packagepure virtual

◆ dxf_detach_regional_book_listener_v2()

abstract int com.dxfeed.native.api.C.dxf_detach_regional_book_listener_v2 ( IntPtr  book,
dxf_regional_quote_listener_t  listener 
)
packagepure virtual

◆ dxf_detach_snapshot_listener()

abstract int com.dxfeed.native.api.C.dxf_detach_snapshot_listener ( IntPtr  snapshot,
dxf_snapshot_listener_t  snapshotListener 
)
packagepure virtual

◆ dxf_event_listener_t()

delegate void com.dxfeed.native.api.C.dxf_event_listener_t ( EventType  event_type,
IntPtr  symbol,
IntPtr  data,
int  data_count,
IntPtr  user_data 
)
package

◆ dxf_event_listener_v2_t()

delegate void com.dxfeed.native.api.C.dxf_event_listener_v2_t ( EventType  event_type,
IntPtr  symbol,
IntPtr  data,
int  data_count,
IntPtr  event_params,
IntPtr  user_data 
)
package

◆ dxf_free()

abstract int com.dxfeed.native.api.C.dxf_free ( IntPtr  pointer)
packagepure virtual

◆ dxf_free_connection_properties_snapshot()

abstract int com.dxfeed.native.api.C.dxf_free_connection_properties_snapshot ( IntPtr  properties,
int  count 
)
packagepure virtual

◆ dxf_get_connection_properties_snapshot()

abstract int com.dxfeed.native.api.C.dxf_get_connection_properties_snapshot ( IntPtr  connection,
out IntPtr  properties,
out int  count 
)
packagepure virtual

◆ dxf_get_current_connected_address()

abstract int com.dxfeed.native.api.C.dxf_get_current_connected_address ( IntPtr  connection,
out IntPtr  address 
)
packagepure virtual

◆ dxf_get_current_connection_status()

abstract int com.dxfeed.native.api.C.dxf_get_current_connection_status ( IntPtr  connection,
out ConnectionStatus  status 
)
packagepure virtual

◆ dxf_get_last_error()

abstract int com.dxfeed.native.api.C.dxf_get_last_error ( out int  error_code,
out IntPtr  error_descr 
)
packagepure virtual

◆ dxf_get_last_event()

abstract int com.dxfeed.native.api.C.dxf_get_last_event ( IntPtr  connection,
int  event_type,
string  symbol,
IntPtr  event_data 
)
packagepure virtual

◆ dxf_get_snapshot_symbol()

abstract int com.dxfeed.native.api.C.dxf_get_snapshot_symbol ( IntPtr  snapshot,
out IntPtr  symbol 
)
packagepure virtual

◆ dxf_get_subscription_event_types()

abstract int com.dxfeed.native.api.C.dxf_get_subscription_event_types ( IntPtr  subscription,
out int  event_types 
)
packagepure virtual

◆ dxf_get_symbols()

abstract int com.dxfeed.native.api.C.dxf_get_symbols ( IntPtr  subscription,
out IntPtr  symbols,
out int  count 
)
packagepure virtual

◆ dxf_initialize_logger()

abstract int com.dxfeed.native.api.C.dxf_initialize_logger ( string  file_name,
bool  rewrite_file,
bool  show_time_zone_info,
bool  verbose 
)
packagepure virtual

Initializes the internal logger.

Various actions and events, including the errors, are being logged throughout the library. They may be stored into the file.

C-API: DXFEED_API ERRORCODE dxf_initialize_logger(const char* file_name, int rewrite_file, int show_timezone_info, int verbose);

Parameters
file_nameA full path to the file where the log is to be stored
rewrite_fileA flag defining the file open mode; if it's nonzero then the log file will be rewritten
show_time_zone_infoA flag defining the time display option in the log file; if it's nonzero then the time will be displayed with the timezone suffix
verboseA flag defining the logging mode; if it's nonzero then the verbose logging will be enabled
Returns
DXF_SUCCESS on successful logger initialization or DXF_FAILURE on error; link dxf_get_last_error can be used to retrieve the error code and description in case of failure;

Implemented in com.dxfeed.native.api.C32, and com.dxfeed.native.api.C64.

◆ dxf_initialize_logger_v2()

abstract int com.dxfeed.native.api.C.dxf_initialize_logger_v2 ( string  file_name,
bool  rewrite_file,
bool  show_time_zone_info,
bool  verbose,
bool  log_data_transfer 
)
packagepure virtual

Initializes the internal logger with data transfer logging.

Various actions and events, including the errors, are being logged throughout the library. They may be stored into the file.

C-API: DXFEED_API ERRORCODE dxf_initialize_logger_v2(const char* file_name, int rewrite_file, int show_timezone_info, int verbose, int log_data_transfer);

Parameters
file_nameA full path to the file where the log is to be stored
rewrite_fileA flag defining the file open mode; if it's nonzero then the log file will be rewritten
show_time_zone_infoA flag defining the time display option in the log file; if it's nonzero then the time will be displayed with the timezone suffix
verboseA flag defining the logging mode; if it's nonzero then the verbose logging will be enabled
log_data_transferA flag defining the logging mode; if it's nonzero then the data transfer (portions of received and sent data) logging will be enabled
Returns
DXF_SUCCESS on successful logger initialization or DXF_FAILURE on error; link dxf_get_last_error can be used to retrieve the error code and description in case of failure;

Implemented in com.dxfeed.native.api.C32, and com.dxfeed.native.api.C64.

◆ dxf_price_level_book_listener_t()

delegate void com.dxfeed.native.api.C.dxf_price_level_book_listener_t ( IntPtr  price_level_book,
IntPtr  user_data 
)
package

◆ dxf_regional_quote_listener_t()

delegate void com.dxfeed.native.api.C.dxf_regional_quote_listener_t ( IntPtr  symbol,
IntPtr  quote,
int  count,
IntPtr  user_data 
)
package

◆ dxf_remove_candle_symbol()

abstract int com.dxfeed.native.api.C.dxf_remove_candle_symbol ( IntPtr  subscription,
IntPtr  candle_attributes 
)
packagepure virtual

◆ dxf_remove_symbol()

abstract int com.dxfeed.native.api.C.dxf_remove_symbol ( IntPtr  subcription,
string  symbol 
)
packagepure virtual

◆ dxf_remove_symbols()

abstract int com.dxfeed.native.api.C.dxf_remove_symbols ( IntPtr  subscription,
string []  symbols,
int  count 
)
packagepure virtual

◆ dxf_set_order_source()

abstract int com.dxfeed.native.api.C.dxf_set_order_source ( IntPtr  subscription,
byte []  source 
)
packagepure virtual

◆ dxf_set_symbols()

abstract int com.dxfeed.native.api.C.dxf_set_symbols ( IntPtr  subscription,
string []  symbols,
int  count 
)
packagepure virtual

◆ dxf_snapshot_listener_t()

delegate void com.dxfeed.native.api.C.dxf_snapshot_listener_t ( IntPtr  snapshotData,
IntPtr  userData 
)
package

Snapshot listener prototype

Parameters
snapshotDatapointer to the received snapshot data
userDatapointer to user struct, use NULL by default

◆ dxf_socket_thread_creation_notifier_t()

delegate int com.dxfeed.native.api.C.dxf_socket_thread_creation_notifier_t ( IntPtr  connection,
IntPtr  user_data 
)
package

◆ dxf_socket_thread_destruction_notifier_t()

delegate void com.dxfeed.native.api.C.dxf_socket_thread_destruction_notifier_t ( IntPtr  connection,
IntPtr  user_data 
)
package

◆ dxf_write_raw_data()

abstract int com.dxfeed.native.api.C.dxf_write_raw_data ( IntPtr  connection,
byte []  raw_file_name 
)
packagepure virtual

Field Documentation

◆ DX_ERR

const int com.dxfeed.native.api.C.DX_ERR = 0
package

◆ DX_OK

const int com.dxfeed.native.api.C.DX_OK = 1
package

◆ instance

C com.dxfeed.native.api.C.instance
staticprivate

◆ syncRoot

object com.dxfeed.native.api.C.syncRoot = new Object()
staticprivate

Property Documentation

◆ Instance

C com.dxfeed.native.api.C.Instance
staticgetpackage

The documentation for this class was generated from the following file: