com.scalagent.kjoram.TopicSession Class Reference

Inherits com.scalagent.kjoram.Session.

Inheritance diagram for com.scalagent.kjoram.TopicSession:

Inheritance graph
[legend]
Collaboration diagram for com.scalagent.kjoram.TopicSession:

Collaboration graph
[legend]
List of all members.

Public Member Functions

String toString ()
TopicPublisher createPublisher (Topic topic) throws JMSException
TopicSubscriber createSubscriber (Topic topic, String selector, boolean noLocal) throws JMSException
TopicSubscriber createSubscriber (Topic topic) throws JMSException
QueueBrowser createBrowser (Queue queue, String selector) throws JMSException
QueueBrowser createBrowser (Queue queue) throws JMSException
Queue createQueue (String queueName) throws JMSException
TemporaryQueue createTemporaryQueue () throws JMSException

Package Functions

 TopicSession (Connection cnx, boolean transacted, int acknowledgeMode) throws JMSException

Detailed Description

Definition at line 30 of file TopicSession.java.


Constructor & Destructor Documentation

com.scalagent.kjoram.TopicSession.TopicSession ( Connection  cnx,
boolean  transacted,
int  acknowledgeMode 
) throws JMSException [package]

Constructs a topic session.

Parameters:
cnx The connection the session belongs to.
transacted true for a transacted session.
acknowledgeMode 1 (auto), 2 (client) or 3 (dups ok).
Exceptions:
JMSException In case of an invalid acknowledge mode.

Definition at line 41 of file TopicSession.java.

References com.scalagent.kjoram.Session.acknowledgeMode, com.scalagent.kjoram.Session.cnx, and com.scalagent.kjoram.Session.transacted.


Member Function Documentation

String com.scalagent.kjoram.TopicSession.toString (  ) 

Returns a String image of this session.

Reimplemented from com.scalagent.kjoram.Session.

Definition at line 49 of file TopicSession.java.

References com.scalagent.kjoram.Session.ident.

TopicPublisher com.scalagent.kjoram.TopicSession.createPublisher ( Topic  topic  )  throws JMSException

API method.

Exceptions:
IllegalStateException If the session is closed or if the connection is broken.
JMSException If the creation fails for any other reason.

Definition at line 62 of file TopicSession.java.

TopicSubscriber com.scalagent.kjoram.TopicSession.createSubscriber ( Topic  topic,
String  selector,
boolean  noLocal 
) throws JMSException

API method.

Exceptions:
IllegalStateException If the session is closed or if the connection is broken.
JMSException If the creation fails for any other reason.

Definition at line 75 of file TopicSession.java.

References com.scalagent.kjoram.Session.closed.

TopicSubscriber com.scalagent.kjoram.TopicSession.createSubscriber ( Topic  topic  )  throws JMSException

API method.

Exceptions:
IllegalStateException If the session is closed or if the connection is broken.
JMSException If the creation fails for any other reason.

Definition at line 92 of file TopicSession.java.

References com.scalagent.kjoram.Session.closed.

QueueBrowser com.scalagent.kjoram.TopicSession.createBrowser ( Queue  queue,
String  selector 
) throws JMSException

API method.

Exceptions:
IllegalStateException Systematically.

Reimplemented from com.scalagent.kjoram.Session.

Definition at line 106 of file TopicSession.java.

QueueBrowser com.scalagent.kjoram.TopicSession.createBrowser ( Queue  queue  )  throws JMSException

API method.

Exceptions:
IllegalStateException Systematically.

Reimplemented from com.scalagent.kjoram.Session.

Definition at line 117 of file TopicSession.java.

Queue com.scalagent.kjoram.TopicSession.createQueue ( String  queueName  )  throws JMSException

API method.

Exceptions:
IllegalStateException Systematically.

Reimplemented from com.scalagent.kjoram.Session.

Definition at line 128 of file TopicSession.java.

TemporaryQueue com.scalagent.kjoram.TopicSession.createTemporaryQueue (  )  throws JMSException

API method.

Exceptions:
IllegalStateException Systematically.

Reimplemented from com.scalagent.kjoram.Session.

Definition at line 138 of file TopicSession.java.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:15:28 2008 for joram by  doxygen 1.5.0