Sun Java System Communications Services 6 2005Q4 Event Notification Service Guide

Parameters

disp

P&S thread pool context returned by pas_dispatcher_new.

worker

Application worker. If not NULL, grouped with existing workers created by ENS to service this publisher session. Used to prevent multiple threads from accessing the publisher data at the same time.

host

Notification server host name. 

port

Notification server port. 

cbdone

The callback invoked when the publisher has been successfully created, or could not be created. 

There are three Parameters to cbdone:

  • cbarg

    The first argument.

  • A status code.

    If non-zero, the publisher could not be created; value specifies cause of the failure.

  • The new active publisher.

cbarg

First argument of cbdone.