Sun Java Communications Suite 5 Event Notification Service Guide

publisher_get_subscriber

Purpose

Creates a subscriber using the credentials of the publisher.

Syntax

struct subscriber_struct * publisher_get_subscriber(publisher_t *publisher);

Parameters

publisher

The publisher whose credentials are used to create the subscriber. 

Returns

The subscriber, or NULL if the creation failed. If the creation failed, use the subscriber_new to create the subscriber.