com.scalagent.kjoram.QueueReceiver Class Reference

Inherits com.scalagent.kjoram.MessageConsumer.

Inheritance diagram for com.scalagent.kjoram.QueueReceiver:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

String toString ()
Queue getQueue () throws JMSException

Package Functions

 QueueReceiver (QueueSession sess, Queue queue, String selector) throws JMSException

Detailed Description

Definition at line 30 of file QueueReceiver.java.


Constructor & Destructor Documentation

com.scalagent.kjoram.QueueReceiver.QueueReceiver ( QueueSession  sess,
Queue  queue,
String  selector 
) throws JMSException [package]

Constructs a receiver.

Parameters:
sess The session the receiver belongs to.
queue The queue the receiver consumes on.
selector The selector for filtering messages.
Exceptions:
IllegalStateException If the connection is broken.
JMSException If the creation fails for any other reason.

Definition at line 42 of file QueueReceiver.java.

References com.scalagent.kjoram.MessageConsumer.sess.


Member Function Documentation

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

Returns a string view of this receiver.

Reimplemented from com.scalagent.kjoram.MessageConsumer.

Definition at line 49 of file QueueReceiver.java.

References com.scalagent.kjoram.Session.ident, and com.scalagent.kjoram.MessageConsumer.sess.

Queue com.scalagent.kjoram.QueueReceiver.getQueue (  )  throws JMSException

API method.

Exceptions:
IllegalStateException If the receiver is closed.

Definition at line 59 of file QueueReceiver.java.

References com.scalagent.kjoram.MessageConsumer.closed, and com.scalagent.kjoram.MessageConsumer.dest.


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