Show / Hide Table of Contents

# Interface IDiscoveryAgentFactory

Factory class interface for all DiscoveryAgent factories. Each agent factory should define its own factory attribute so that the agents can be found dynamically by the DiscoveryAgentFactory class.

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

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

##### Syntax

    public interface IDiscoveryAgentFactory

### Methods

| Improve this Doc View Source

#### CreateAgent(Uri)

##### Declaration

    IDiscoveryAgent CreateAgent(Uri uri)

##### Parameters

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

##### Returns

Type | Description
--- | ---
IDiscoveryAgent |