Class TopicInfoImpl
- java.lang.Object
-
- com.swiftmq.impl.topic.standard.announce.v400.TopicInfoImpl
-
-
Constructor Summary
Constructors Constructor Description TopicInfoImpl()
TopicInfoImpl(java.lang.String routerName, java.lang.String topicName, java.lang.String[] tokenizedPredicate, int numberSubscriptions)
TopicInfoImpl(java.lang.String destination, java.lang.String routerName, java.lang.String topicName, java.lang.String[] tokenizedPredicate, boolean creationInfo)
TopicInfoImpl(java.lang.String destination, java.lang.String routerName, java.lang.String topicName, java.lang.String[] tokenizedPredicate, int numberSubscriptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDestination()
int
getDumpId()
Returns a unique dump id for this object.int
getNumberSubscriptions()
java.lang.String
getRouterName()
java.lang.String[]
getTokenizedPredicate()
java.lang.String
getTopicName()
boolean
isCreationInfo()
void
readContent(java.io.DataInput in)
Read the content of this object from the stream.java.lang.String
toString()
void
writeContent(java.io.DataOutput out)
Write the content of this object to the stream.
-
-
-
Constructor Detail
-
TopicInfoImpl
public TopicInfoImpl(java.lang.String routerName, java.lang.String topicName, java.lang.String[] tokenizedPredicate, int numberSubscriptions)
-
TopicInfoImpl
public TopicInfoImpl(java.lang.String destination, java.lang.String routerName, java.lang.String topicName, java.lang.String[] tokenizedPredicate, int numberSubscriptions)
-
TopicInfoImpl
public TopicInfoImpl(java.lang.String destination, java.lang.String routerName, java.lang.String topicName, java.lang.String[] tokenizedPredicate, boolean creationInfo)
-
TopicInfoImpl
public TopicInfoImpl()
-
-
Method Detail
-
getDumpId
public int getDumpId()
Description copied from interface:Dumpable
Returns a unique dump id for this object.
-
writeContent
public void writeContent(java.io.DataOutput out) throws java.io.IOException
Description copied from interface:Dumpable
Write the content of this object to the stream.- Specified by:
writeContent
in interfaceDumpable
- Parameters:
out
- output stream- Throws:
java.io.IOException
- if an error occurs
-
readContent
public void readContent(java.io.DataInput in) throws java.io.IOException
Description copied from interface:Dumpable
Read the content of this object from the stream.- Specified by:
readContent
in interfaceDumpable
- Parameters:
in
- input stream- Throws:
java.io.IOException
- if an error occurs
-
getDestination
public java.lang.String getDestination()
- Specified by:
getDestination
in interfaceTopicInfo
-
getRouterName
public java.lang.String getRouterName()
- Specified by:
getRouterName
in interfaceTopicInfo
-
isCreationInfo
public boolean isCreationInfo()
- Specified by:
isCreationInfo
in interfaceTopicInfo
-
getTopicName
public java.lang.String getTopicName()
- Specified by:
getTopicName
in interfaceTopicInfo
-
getTokenizedPredicate
public java.lang.String[] getTokenizedPredicate()
- Specified by:
getTokenizedPredicate
in interfaceTopicInfo
-
getNumberSubscriptions
public int getNumberSubscriptions()
- Specified by:
getNumberSubscriptions
in interfaceTopicInfo
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-