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

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

public static class TopicProxy.QoP
extends java.lang.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(java.lang.String qop)
          Returns a QoP value given a property String.
 java.lang.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 java.lang.String toString()
Returns the String representation of the QoP.

Overrides:
toString in class java.lang.Object

getQualityOfProtectionFromString

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

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