Show / Hide Table of Contents

# Class FailoverTransportFactory

##### Inheritance

System.Object
FailoverTransportFactory
DiscoveryTransportFactory

##### Implements

ITransportFactory

##### Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

###### Namespace: Apache.NMS.ActiveMQ.Transport.Failover

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    [ActiveMQTransportFactory("failover")]
    public class FailoverTransportFactory : ITransportFactory

### Methods

| Improve this Doc View Source

#### CompositeConnect(Uri)

##### Declaration

    public ITransport CompositeConnect(Uri location)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Uri | location |

##### Returns

Type | Description
--- | ---
ITransport |

| Improve this Doc View Source

#### CreateTransport(URISupport.CompositeData)

Virtual transport create method which can be overriden by subclasses to provide an alternate FailoverTransport implementation. All transport creation methods in this factory calls through this method to create the ITransport instance so this is the only method that needs to be overriden.

##### Declaration

    public virtual ITransport CreateTransport(URISupport.CompositeData compositData)

##### Parameters

Type | Name | Description
--- | --- | ---
Apache.NMS.Util.URISupport.CompositeData | compositData |

##### Returns

Type | Description
--- | ---
ITransport |

| Improve this Doc View Source

#### CreateTransport(StringDictionary)

##### Declaration

    protected FailoverTransport CreateTransport(StringDictionary parameters)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Collections.Specialized.StringDictionary | parameters |

##### Returns

Type | Description
--- | ---
FailoverTransport |

| Improve this Doc View Source

#### CreateTransport(Uri)

##### Declaration

    public ITransport CreateTransport(Uri location)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Uri | location |

##### Returns

Type | Description
--- | ---
ITransport |

### Implements

ITransportFactory