Subscribe(String,EventSummaryCallback,IntPtr)

Subscribes to the event channel whose reduce operation is named id.

The callback parameter specifies the function to call when data is available.

The userData is a generic IntPtr that will be sent to callback when it is invoked.

The call is synchronous.

See CheckForEvents.

Parameters

  • id : string : Name id of the subscribe.
  • callback : EventSummaryCallback : The EventSummaryCallback that specifies the function to call when the data is available.
  • userData : IntPtr : The userData that is sent to the callback when invoked.

Return

Status : Status to indicate if the operation was a success.