Sun Java Communications Suite 5 Event Notification Service Guide

subscriber_get_publisher

Purpose

Creates a publisher, using the credentials of the subscriber.

Syntax

struct publisher_struct *subscriber_get_publisher (subscriber_t  
*subscriber);

Parameters

subscriber

The subscriber whose credentials are used to create the publisher. 

Returns

The publisher, or NULL if creation failed. In case the creation fails, use the publisher_new.