PreCache NetInjector Documentation Center : PreCache NetInjector Application Development

Basic Case, Subscription — C

   







Callback Function

— the publisher's audience


In order to retrieve a notification, the application must define a callback function. The callback function is called whenever a notification matches the subscription.

void notify(PC_evn_Notification notification,
void* pClosure)

{

      printf("Incoming notification \n");

};

notification —
the newly received notification

pClosure —
the closure associated with the subscription for which the notification should be delivered