TIBCO EMS .NET API 8.5
TIBCO EMS .NET API 8.5
TIBCO.EMS.UFO.TemporaryTopic Class Reference

A TemporaryTopic object is a unique Topic object created for the duration of a Connection. More...

Inheritance diagram for TIBCO.EMS.UFO.TemporaryTopic:
TIBCO.EMS.UFO.Topic TIBCO.EMS.UFO.Destination

Public Member Functions

override object Clone ()
 Throws a NotSupported Exception More...
 
void Delete ()
 Deletes this temporary topic. More...
 
- Public Member Functions inherited from TIBCO.EMS.UFO.Topic
 Topic (string address)
 Constructs a new Topic object with the given address. More...
 
 Topic (TIBCO.EMS.Topic topic)
 Constructs a new Topic object with the given TIBCO.EMS.Topic object. More...
 
override object Clone ()
 Implementation of ICloneable. Overrides the cloning process. More...
 
override bool Equals (object obj)
 Compare with another object for equality. More...
 
override int GetHashCode ()
 Returns a hashcode representing the current object More...
 
- Public Member Functions inherited from TIBCO.EMS.UFO.Destination
 Destination (TIBCO.EMS.Destination destination)
 Constructs a TIBCO.EMS.UFO Destination object with the given TIBCO.EMS.Destination object. More...
 
override string ToString ()
 Returns a string representation of the destination. More...
 
override bool Equals (object obj)
 Compare with another object for equality. More...
 
override int GetHashCode ()
 Returns a hashcode representing the current object More...
 

Properties

override string TopicName [get]
 Gets the name of the topic More...
 
- Properties inherited from TIBCO.EMS.UFO.Topic
virtual string TopicName [get]
 Gets the name of the topic More...
 

Detailed Description

A TemporaryTopic object is a unique Topic object created for the duration of a Connection.

A TemporaryTopic object can be created either at the Session or TopicSession level. Creating a TemporaryTopic at the Session level allows the TemporaryTopic to participate in the same transaction with objects from the PTP domain. If a TemporaryTopic is created at the TopicSession level, it will only be able participate in transactions with objects from the Pub/Sub domain

Programs can use temporary topics as reply destinations. A temporary topic exists only for the duration of the session's connection, and is available only within that connection. Only consumers associated with the same connection as the TemporaryTopic can consume messages from a TemporaryTopic.

Servers connected by routes exchange messages sent to TemporaryTopic.

Member Function Documentation

override object TIBCO.EMS.UFO.TemporaryTopic.Clone ( )
inlinevirtual

Throws a NotSupported Exception

Reimplemented from TIBCO.EMS.UFO.Destination.

void TIBCO.EMS.UFO.TemporaryTopic.Delete ( )
inline

Deletes this temporary topic.

When a client deletes a temporary topic, the server deletes any unconsumed messages in the topic.

If the client still has listeners or receivers for the topic, or is in the middle of a Receive call, then Delete throws an EMSException.

Property Documentation

override string TIBCO.EMS.UFO.TemporaryTopic.TopicName
get

Gets the name of the topic

Each topic has a name that is unique among all topics.

Returns
The name of the topic, if not set, null is returned

Copyright © Cloud Software Group, Inc. All rights reserved.