C# Class Apache.NMS.ActiveMQ.Commands.ActiveMQDestination

Summary description for ActiveMQDestination.
Inheritance: BaseDataStructure, IDestination
ファイルを表示 Open project: ThorTech/apache-nms Class Usage Examples

Private Properties

Property Type Description
setPhysicalName void

Public Methods

Method Description
Clone ( ) : Object
CompareTo ( ActiveMQDestination that ) : int

Lets sort by name first then lets sort topics greater than queues

CompareTo ( Object o ) : int

CreateDestination ( String name ) : ActiveMQDestination

Factory method to create a child destination if this destination is a composite

CreateDestination ( int type, String pyhsicalName ) : ActiveMQDestination

Create a Destination

CreateTemporaryName ( String clientId ) : String

Create a temporary name from the clientId

Equals ( Object obj ) : bool

if the object passed in is equivalent, return true

GetClientId ( ActiveMQDestination destination ) : String

From a temporary destination find the clientId of the Connection that created it

GetDestinationType ( ) : int

GetHashCode ( ) : int

GetOrderedTarget ( ) : String

Inspect ( ActiveMQDestination destination ) : String

A helper method to return a descriptive string for the topic or queue

IsAdvisory ( ) : bool

IsConnectionAdvisory ( ) : bool

IsConsumerAdvisory ( ) : bool

IsExclusive ( ) : bool

IsOrdered ( ) : bool

IsProducerAdvisory ( ) : bool

IsWildcard ( ) : bool

SetAdvisory ( bool advisory ) : void

SetExclusive ( bool exclusive ) : void

SetOrdered ( bool ordered ) : void

SetOrderedTarget ( String orderedTarget ) : void

ToString ( ) : String

Transform ( IDestination destination ) : ActiveMQDestination

Protected Methods

Method Description
ActiveMQDestination ( ) : System

The Default Constructor

ActiveMQDestination ( String name ) : System

Construct the Destination with a defined physical name;

Private Methods

Method Description
setPhysicalName ( string name ) : void

Method Details

ActiveMQDestination() protected method

The Default Constructor
protected ActiveMQDestination ( ) : System
return System

ActiveMQDestination() protected method

Construct the Destination with a defined physical name;
protected ActiveMQDestination ( String name ) : System
name String
return System

Clone() public method

public Clone ( ) : Object
return Object

CompareTo() public method

Lets sort by name first then lets sort topics greater than queues
public CompareTo ( ActiveMQDestination that ) : int
that ActiveMQDestination another destination to compare against
return int

CompareTo() public method

public CompareTo ( Object o ) : int
o Object object to compare
return int

CreateDestination() public abstract method

Factory method to create a child destination if this destination is a composite
public abstract CreateDestination ( String name ) : ActiveMQDestination
name String
return ActiveMQDestination

CreateDestination() public static method

Create a Destination
public static CreateDestination ( int type, String pyhsicalName ) : ActiveMQDestination
type int
pyhsicalName String
return ActiveMQDestination

CreateTemporaryName() public static method

Create a temporary name from the clientId
public static CreateTemporaryName ( String clientId ) : String
clientId String
return String

Equals() public method

if the object passed in is equivalent, return true
public Equals ( Object obj ) : bool
obj Object the object to compare
return bool

GetClientId() public static method

From a temporary destination find the clientId of the Connection that created it
public static GetClientId ( ActiveMQDestination destination ) : String
destination ActiveMQDestination
return String

GetDestinationType() public abstract method

public abstract GetDestinationType ( ) : int
return int

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetOrderedTarget() public method

public GetOrderedTarget ( ) : String
return String

Inspect() public static method

A helper method to return a descriptive string for the topic or queue
public static Inspect ( ActiveMQDestination destination ) : String
destination ActiveMQDestination
return String

IsAdvisory() public method

public IsAdvisory ( ) : bool
return bool

IsConnectionAdvisory() public method

public IsConnectionAdvisory ( ) : bool
return bool

IsConsumerAdvisory() public method

public IsConsumerAdvisory ( ) : bool
return bool

IsExclusive() public method

public IsExclusive ( ) : bool
return bool

IsOrdered() public method

public IsOrdered ( ) : bool
return bool

IsProducerAdvisory() public method

public IsProducerAdvisory ( ) : bool
return bool

IsWildcard() public method

public IsWildcard ( ) : bool
return bool

SetAdvisory() public method

public SetAdvisory ( bool advisory ) : void
advisory bool The advisory to set.
return void

SetExclusive() public method

public SetExclusive ( bool exclusive ) : void
exclusive bool The exclusive to set.
return void

SetOrdered() public method

public SetOrdered ( bool ordered ) : void
ordered bool The ordered to set.
return void

SetOrderedTarget() public method

public SetOrderedTarget ( String orderedTarget ) : void
orderedTarget String The orderedTarget to set.
return void

ToString() public method

public ToString ( ) : String
return String

Transform() public static method

public static Transform ( IDestination destination ) : ActiveMQDestination
destination IDestination
return ActiveMQDestination