Package com.swiftmq.jms
Class TopicImpl
java.lang.Object
com.swiftmq.jms.QueueImpl
com.swiftmq.jms.TopicImpl
- All Implemented Interfaces:
DestinationImpl
,Serializable
,javax.jms.Destination
,javax.jms.Queue
,javax.jms.Topic
,Referenceable
- Direct Known Subclasses:
TemporaryTopicImpl
Implementation of a Topic.
- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getType()
void
readContent
(DataInput in) void
setTopicName
(String topicName) toString()
Return a pretty printed version of the queue namevoid
void
writeContent
(DataOutput out) Methods inherited from class com.swiftmq.jms.QueueImpl
getQueueName, setQueueName
-
Constructor Details
-
TopicImpl
Creates a new TopicImpl.- Parameters:
topicName
- topic name.
-
TopicImpl
Creates a new TopicImpl.- Parameters:
queueName
- name of the topic queue.topicName
- topic name.
-
TopicImpl
public TopicImpl()Creates a new TopicImpl.
-
-
Method Details
-
getReference
- Specified by:
getReference
in interfaceReferenceable
- Overrides:
getReference
in classQueueImpl
- Throws:
NamingException
-
getType
public int getType()- Specified by:
getType
in interfaceDestinationImpl
- Overrides:
getType
in classQueueImpl
-
unfoldBuffers
public void unfoldBuffers()- Specified by:
unfoldBuffers
in interfaceDestinationImpl
- Overrides:
unfoldBuffers
in classQueueImpl
-
writeContent
- Specified by:
writeContent
in interfaceDestinationImpl
- Overrides:
writeContent
in classQueueImpl
- Throws:
IOException
-
readContent
- Specified by:
readContent
in interfaceDestinationImpl
- Overrides:
readContent
in classQueueImpl
- Throws:
IOException
-
getTopicName
- Specified by:
getTopicName
in interfacejavax.jms.Topic
- Throws:
javax.jms.JMSException
-
setTopicName
-
toString
Description copied from class:QueueImpl
Return a pretty printed version of the queue name
-