Documentation Home
> Sun Java System Communications Services 6 2005Q4 Event Notification Service Guide
Sun Java System Communications Services 6 2005Q4 Event Notification Service Guide
Book Information
Index
A
C
D
E
I
L
M
N
P
R
S
U
Preface
Chapter 1 Introduction to Event Notification Service
Event Notification Service Overview
ENS in Calendar Server
ENS in Messaging Server
Event References
Calendar Server Event Reference Example
Messaging Server Event Reference Example
ENS Connection Pooling
Multiple Pool Extension
Event Notification Service Architecture
Notify
Subscribe
Unsubscribe
How Calendar Server Interacts with ENS
Calendar Server Alarm Queue
Calendar Server Daemons
Alarm Transfer Reliability
Calendar Server Example
How Messaging Server Interacts with ENS
Event Notification Service API Overview
ENS C API Overview
ENS Java API Overview
Building and Running Custom Applications
Location of Sample Code
Calendar Server
Messaging Server
Location of Include Files
Calendar Server
Messaging Server
Dynamically Linked/Shared Libraries
Calendar Server
Messaging Server
Runtime Library Path Variable
Calendar Server
Messaging Server
Chapter 2 Event Notification Service C API Reference
Publisher API Functions List
Subscriber API Functions List
Publish and Subscribe Dispatcher Functions List
Publisher API
publisher_t
Purpose.
Syntax
Parameters
Returns
publisher_cb_t
Purpose.
Syntax
Parameters
Returns
publisher_new_a
Purpose
Syntax
Parameters
Returns
publisher_new_s
Purpose
Syntax
Parameters
Returns
publish_a
Purpose
Syntax
Parameters
Returns
publish_s
Purpose
Syntax
Parameters
Returns
publisher_delete
Purpose
Syntax
Parameters
Returns
publisher_get_subscriber
Purpose
Syntax
Parameters
Returns
renl_create_publisher
Purpose
Syntax
Parameters
Returns
renl_cancel_publisher
Purpose
Syntax
Parameters
Returns
Subscriber API
subscriber_t
Purpose
Syntax
Parameters
Returns
subscription_t
Purpose
Syntax
Parameters
Returns
subscriber_cb_t
Purpose
Syntax
Parameters
Returns
subscriber_notify_cb_t
Purpose
Syntax
Parameters
Returns
subscriber_new_a
Purpose
Syntax
Parameters
Returns
subscriber_new_s
Purpose
Syntax
Parameters
Returns
subscribe_a
Purpose
Syntax
Parameters
Returns
unsubscribe_a
Purpose
Syntax
Parameters
Returns
subscriber_delete
Purpose
Syntax
Parameters
Returns.
subscriber_get_publisher
Purpose
Syntax
Parameters
Returns
renl_create_subscriber
Purpose
Syntax
Parameters
Returns
renl_cancel_subscriber
Purpose
Syntax
Parameters
Returns
Publish and Subscribe Dispatcher API
pas_dispatcher_t
Purpose
Syntax
Parameters
Returns
pas_dispatcher_new
Purpose
Syntax
Parameters
Returns
pas_dispatcher_delete
Purpose
Syntax
Parameters
Returns
pas_dispatch
Purpose
Syntax
Parameters
Returns
pas_shutdown
Purpose
Syntax
Parameters
Returns
Chapter 3 Event Notification Service Java (JMS) API Reference
Event Notification Service Java (JMS) API Implementation
Prerequisites to Use the Java API
Sample Java Programs
Instructions for Sample Programs
JmsSample Program
To compile the JmsSample program
To run the JmsSample program:
JBiff Sample Program
To compile the JBiff program
To run the JBiff sample program:
Java (JMS) API Overview
New Proprietary Methods
com.iplanet.ens.jms.EnsTopicConnFactory
About the method
Syntax
Arguments
com.iplanet.ens.jms.EnsTopic
About this method
Syntax
Arguments
Implementation Notes
Shortcomings of the Current Implementation
Notification Delivery
JMS Headers
Miscellaneous
Chapter 4 Messaging Server Specific Information
Event Notification Types and Parameters
Parameters
Payload
Examples
Sample Code
To use the sample code
Sample Publisher
Sample Subscriber
Implementation Notes
Chapter 5 Calendar Server Specific Information
Calendar Server Notifications
Alarm Notifications
Calendar Update Notifications
Advanced Topics
WCAP appid parameter and X-Tokens
ENS Sample Code for Calendar Server
Sample Publisher and Subscriber
Publisher Code Sample
Subscriber Code Sample
Reliable Publisher and Subscriber
Reliable Publisher Sample
Reliable Subscriber Sample
Appendix A Debugging ENS
Environment Variables
GAP_DEBUG
GAP_LOG_MODULES
GAP_LOGFILE
XENP_TRACE
ENS_DEBUG
ENS_LOG_MODULES
ENS_LOGFILE
ENS_STATS
SERVICEBUS_DEBUG
How to Enable Debug Tracing
To start tracing
Sample Debugging Sessions
Example 1: For Messaging Server
Set Environment Variables
Sample Trace Output
Short Commentary
Example 2: For Messaging Server
Set Environment Variables
Short Commentary
© 2010, Oracle Corporation and/or its affiliates