cern::cmw::mom::util::TopicAdminHelper Class Reference

Collaboration diagram for cern::cmw::mom::util::TopicAdminHelper:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static boolean validateTopic (String topic, String username, int reason)

Static Public Attributes

static final String ROOT = "CMW"
static final int FOR_PUBLISHING = 0
static final int FOR_SUBSCRIBING = 1

Detailed Description

Util class. Helper class for topic namespace handling.

Version:
1.0 23 Jan 2001
Author:
Controls Middleware Project

Member Function Documentation

static boolean cern::cmw::mom::util::TopicAdminHelper::validateTopic ( String  topic,
String  username,
int  reason 
) [inline, static]

Check the topic validity with respect to the username.

Returns:
boolean true if the topic is valid.
Parameters:
topic The topic name.
username The username.
reason The reason why the topic is about to be created.

References FOR_PUBLISHING.


Member Data Documentation

Validate topic creation for publication.

Referenced by validateTopic().

Validate topic creation for subscription.

final String cern::cmw::mom::util::TopicAdminHelper::ROOT = "CMW" [static]

The root cmw topic namespace


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2