activemq/openwire-dotnet/comms-library/amqnet/ActiveMQTopic.cs

29 lines
524 B
C#
Executable File

using System;
namespace ActiveMQ
{
/// <summary>
/// Summary description for ActiveMQTopic.
/// </summary>
public class ActiveMQTopic : ActiveMQDestination
{
public ActiveMQTopic(): base() {}
public ActiveMQTopic(String name):base(name){}
public String getTopicName()
{
return super.getPhysicalName();
}
public override int getDestinationType()
{
return ACTIVEMQ_TOPIC;
}
public override ActiveMQDestination createDestination(String name)
{
return new ActiveMQTopic(name);
}
}
}