WBI BrokersTM
Config Manager Proxy API

com.ibm.broker.config.proxy
Class TopicProxy.QoP

java.lang.Object
  extended bycom.ibm.broker.config.proxy.TopicProxy.QoP
Enclosing class:
TopicProxy

public static class TopicProxy.QoP
extends Object

A small structure that represents all the possible types of a topic's quality of protection. Follows the TypeDef-Enum pattern.


Field Summary
static TopicProxy.QoP channelIntegrity
          Defines Channel Integrity QoP.
static TopicProxy.QoP encrypted
          Defines Encrypted QoP.
static TopicProxy.QoP messageIntegrity
          Defines Message Integrity QoP.
static TopicProxy.QoP none
          States that QoP is not applied.
static TopicProxy.QoP unknown
          Defines an unknown QoP.
 
Method Summary
static TopicProxy.QoP getQualityOfProtectionFromString(String qop)
          Returns a QoP value given a property String.
 String toString()
          Returns the String representation of the QoP.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

unknown

public static TopicProxy.QoP unknown
Defines an unknown QoP.


none

public static TopicProxy.QoP none
States that QoP is not applied. This is the default value.


channelIntegrity

public static TopicProxy.QoP channelIntegrity
Defines Channel Integrity QoP.


messageIntegrity

public static TopicProxy.QoP messageIntegrity
Defines Message Integrity QoP.


encrypted

public static TopicProxy.QoP encrypted
Defines Encrypted QoP.

Method Detail

toString

public String toString()
Returns the String representation of the QoP.


getQualityOfProtectionFromString

public static TopicProxy.QoP getQualityOfProtectionFromString(String qop)
Returns a QoP value given a property String.

Parameters:
qop - String taken from data supplied by the Config Manager
Returns:
QoP That corresponds to the supplied String, or unknown if the String was not understood.

WBI BrokersTM
Config Manager Proxy API