com.scalagent.kjoram.TemporaryTopic Class Reference

Inherits com.scalagent.kjoram.Topic.

Inheritance diagram for com.scalagent.kjoram.TemporaryTopic:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TemporaryTopic (String agentId, Connection cnx)
 TemporaryTopic ()
String toString ()
void delete () throws JMSException
Hashtable code ()

Static Public Member Functions

static Object decode (Hashtable h)

Package Functions

Connection getCnx ()

Detailed Description

Definition at line 35 of file TemporaryTopic.java.


Constructor & Destructor Documentation

com.scalagent.kjoram.TemporaryTopic.TemporaryTopic ( String  agentId,
Connection  cnx 
)

Constructs a temporary topic.

Parameters:
agentId Identifier of the topic agent.
cnx The connection the queue belongs to, null if not known.

Definition at line 47 of file TemporaryTopic.java.

com.scalagent.kjoram.TemporaryTopic.TemporaryTopic (  ) 

Constructs an empty temporary topic.

Definition at line 56 of file TemporaryTopic.java.

Referenced by com.scalagent.kjoram.TemporaryTopic.decode().


Member Function Documentation

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

Returns a String image of the topic.

Reimplemented from com.scalagent.kjoram.Topic.

Definition at line 60 of file TemporaryTopic.java.

References com.scalagent.kjoram.Destination.agentId.

void com.scalagent.kjoram.TemporaryTopic.delete (  )  throws JMSException

API method.

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

Definition at line 71 of file TemporaryTopic.java.

References com.scalagent.kjoram.Destination.agentId, com.scalagent.kjoram.Session.consumers, com.scalagent.kjoram.Connection.sessions, com.scalagent.kjoram.Connection.syncRequest(), and com.scalagent.kjoram.MessageConsumer.targetName.

Here is the call graph for this function:

Connection com.scalagent.kjoram.TemporaryTopic.getCnx (  )  [package]

Returns the connection this temporary topic belongs to, null if not known.

Definition at line 104 of file TemporaryTopic.java.

Hashtable com.scalagent.kjoram.TemporaryTopic.code (  ) 

Codes a Destination as a Hashtable for travelling through the SOAP protocol.

Reimplemented from com.scalagent.kjoram.Topic.

Definition at line 109 of file TemporaryTopic.java.


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