Example #1
0
 private static extern int __dxf_detach_event_listener(IntPtr subscription, dxf_event_listener_t listener);
Example #2
0
 internal override int dxf_attach_event_listener(IntPtr subscription, dxf_event_listener_t event_listener,
                                                 IntPtr user_data)
 {
     return(__dxf_attach_event_listener(subscription, event_listener, user_data));
 }
Example #3
0
 private static extern int __dxf_attach_event_listener(IntPtr subscription, dxf_event_listener_t event_listener,
                                                       IntPtr user_data);
Example #4
0
 /*
  *  Detaches a listener from the subscription.
  *  No error occurs if it's attempted to detach a listener which wasn't previously attached.
  *
  *  subscription - a handle of the subscription from which a listener is to be detached
  *  event_listener - a listener callback function pointer
  */
 //DXFEED_API ERRORCODE dxf_detach_event_listener (dxf_subscription_t subscription, dxf_event_listener_t event_listener);
 //[DllImport(DXFEED_DLL, CallingConvention = CallingConvention.Cdecl)]
 internal abstract int dxf_detach_event_listener(IntPtr subscription, dxf_event_listener_t listener);
Example #5
0
 /*
  *  Attaches a listener callback to the subscription.
  *  This callback will be invoked when the new event data for the subscription symbols arrives.
  *  No error occurs if it's attempted to attach the same listener twice or more.
  *
  *  subscription - a handle of the subscription to which a listener is to be attached
  *  event_listener - a listener callback function pointer
  */
 //DXFEED_API ERRORCODE dxf_attach_event_listener (dxf_subscription_t subscription, dxf_event_listener_t event_listener, void* user_data);
 //[DllImport(DXFEED_DLL, CallingConvention = CallingConvention.Cdecl)]
 internal abstract int dxf_attach_event_listener(IntPtr subscription, dxf_event_listener_t event_listener,
                                                 IntPtr user_data);
Example #6
0
 internal override int dxf_detach_event_listener(IntPtr subscription, dxf_event_listener_t listener)
 {
     return(__dxf_detach_event_listener(subscription, listener));
 }