beautypg.com

Joltreply class, Joltmessage class, Joltreply methods – HP NonStop G-Series User Manual

Page 129

background image

bound to a single session.

Usage This constructor subscribes the specific asynchronous notification. An asynchronous notification may be an
unsolicited notification or event notification. If the expr is JoltUserEvent.UNSOLMSG, the filter must be null. Otherwise,
the filter can be either null or a Boolean expression (see Fboolco() in the TUXEDO System Reference Manual).

This constructor will return a JoltUserEvent object, which will provide notification when the event identified by the
parameter event occurs.

Throws

SessionException.

Invalid session or a session error.

EventException.

Filter for unsolicited subscription is not null, or event subscription failed.

JoltReply Class

java.lang.Object
|
+----bea.jolt.JoltReply

The JoltReply class extends the java.lang.Object. JoltReply is a place holder of the message for unsolicited messages or
event notifications. This class provides the application with access to any message received with a TUXEDO event or
notification.

public class JoltReply
Message getMessage()

JoltReply Methods

The following method is used with the JoltReply class.

getMessage

Gets the response message.

Message getMessage()

Usage The getMessage() method returns a JoltMessage object. The returned object provides the application with access to
any data that is associated with the event or notification.

Returns The getMessage() method returns a message object.

JoltMessage Class

java.lang.Object
|
+----bea.jolt.Message
|
+----bea.jolt.JoltMessage

The JoltMessage class extends java.lang.Object. This class implements the Message class, which encapsulates the
attribute-value pair data for the application protocol. This class allows the user to get an output attribute to the message.
For more information, refer also to the JoltReply classes.

public class JoltMessage