Inheritance diagram for com.scalagent.kjoram.TopicSession:


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 | |
Definition at line 30 of file TopicSession.java.
| com.scalagent.kjoram.TopicSession.TopicSession | ( | Connection | cnx, | |
| boolean | transacted, | |||
| int | acknowledgeMode | |||
| ) | throws JMSException [package] |
Constructs a topic session.
| cnx | The connection the session belongs to. | |
| transacted | true for a transacted session. | |
| acknowledgeMode | 1 (auto), 2 (client) or 3 (dups ok). |
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| IllegalStateException | Systematically. |
Reimplemented from com.scalagent.kjoram.Session.
Definition at line 138 of file TopicSession.java.
1.5.0