com.candle.roma.kxc
Class RomaSubject

java.lang.Object
  |
  +--com.candle.roma.kxc.RomaSubject

public final class RomaSubject
extends java.lang.Object

This class is used by applications to define the topic(s) for publish and subscribe operations. The format of a subject depends on the underlying transport conventions


Constructor Summary
RomaSubject(java.lang.String subject)
          Initialize a new Subject, specifying subject name
RomaSubject(java.lang.String subject, int style)
          Initialize a new Subject, specifying subject and style
 
Method Summary
 void setSubject(java.lang.String subject)
          Set the subject string
 void setSubjectStyle(int style)
          Set the subject style
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RomaSubject

public RomaSubject(java.lang.String subject)
Initialize a new Subject, specifying subject name

RomaSubject

public RomaSubject(java.lang.String subject,
                   int style)
Initialize a new Subject, specifying subject and style
Method Detail

setSubjectStyle

public void setSubjectStyle(int style)
Set the subject style

setSubject

public void setSubject(java.lang.String subject)
Set the subject string