C# Class Apache.NMS.Commands.Destination

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

Private Properties

Property Type Description
setPhysicalName void

Public Methods

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

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

CompareTo ( Object o ) : int

CreateDestination ( String name ) : Destination

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

CreateDestination ( int type, String pyhsicalName ) : Destination

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 ( Destination destination ) : String

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

GetDestinationType ( ) : int

GetHashCode ( ) : int

ToString ( ) : String

Transform ( IDestination destination ) : Destination

Protected Methods

Method Description
Destination ( ) : System

The Default Constructor

Destination ( String name ) : System

Construct the Destination with a defined physical name;

Private Methods

Method Description
setPhysicalName ( string name ) : void

Method Details

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 ( Destination that ) : int
that Destination 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 ) : Destination
name String
return Destination

CreateDestination() public static method

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

CreateTemporaryName() public static method

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

Destination() protected method

The Default Constructor
protected Destination ( ) : System
return System

Destination() protected method

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

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 ( Destination destination ) : String
destination Destination
return String

GetDestinationType() public abstract method

public abstract GetDestinationType ( ) : int
return int

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : String
return String

Transform() public static method

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