Show / Hide Table of Contents

# Class HttpDiscoveryAgent

##### Inheritance

System.Object
AbstractDiscoveryAgent
HttpDiscoveryAgent

##### Implements

IDiscoveryAgent
Apache.NMS.IStartable
Apache.NMS.IStoppable
System.IDisposable
ISuspendable

##### Inherited Members

AbstractDiscoveryAgent.DEFAULT_INITIAL_RECONNECT_DELAY
AbstractDiscoveryAgent.DEFAULT_BACKOFF_MULTIPLIER
AbstractDiscoveryAgent.DEFAULT_MAX_RECONNECT_DELAY
AbstractDiscoveryAgent.started
AbstractDiscoveryAgent.worker
AbstractDiscoveryAgent.executor
AbstractDiscoveryAgent.discoveredServices
AbstractDiscoveryAgent.discoveredServicesLock
AbstractDiscoveryAgent.BackOffMultiplier
AbstractDiscoveryAgent.InitialReconnectDelay
AbstractDiscoveryAgent.MaxReconnectAttempts
AbstractDiscoveryAgent.MaxReconnectDelay
AbstractDiscoveryAgent.UseExponentialBackOff
AbstractDiscoveryAgent.Group
AbstractDiscoveryAgent.ServiceAdd
AbstractDiscoveryAgent.ServiceRemove
AbstractDiscoveryAgent.DiscoveryURI
AbstractDiscoveryAgent.IsStarted
AbstractDiscoveryAgent.Start()
AbstractDiscoveryAgent.Stop()
AbstractDiscoveryAgent.Dispose()
AbstractDiscoveryAgent.RegisterService(String)
AbstractDiscoveryAgent.ServiceFailed(DiscoveryEvent)
AbstractDiscoveryAgent.FireServiceRemoveEvent(DiscoveryEvent)
AbstractDiscoveryAgent.FireServiceAddEvent(DiscoveryEvent)
AbstractDiscoveryAgent.ProcessLiveService(String, String)
AbstractDiscoveryAgent.ProcessDeadService(String)
AbstractDiscoveryAgent.IsTimeForRecovery(DiscoveredServiceData)
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)

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

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

##### Syntax

    public class HttpDiscoveryAgent : AbstractDiscoveryAgent, IDiscoveryAgent, IStartable, IStoppable, IDisposable, ISuspendable

### Constructors

| Improve this Doc View Source

#### HttpDiscoveryAgent()

##### Declaration

    public HttpDiscoveryAgent()

### Fields

| Improve this Doc View Source

#### DEFAULT_DISCOVERY_URI_STRING

##### Declaration

    public const string DEFAULT_DISCOVERY_URI_STRING = "http://localhost:8080/discovery-registry"

##### Field Value

Type | Description
--- | ---
System.String |

| Improve this Doc View Source

#### DEFAULT_GROUP

##### Declaration

    public const string DEFAULT_GROUP = "default"

##### Field Value

Type | Description
--- | ---
System.String |

### Properties

| Improve this Doc View Source

#### KeepAliveInterval

##### Declaration

    public override long KeepAliveInterval { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

##### Overrides

AbstractDiscoveryAgent.KeepAliveInterval

### Methods

| Improve this Doc View Source

#### DoAdvertizeSelf()

##### Declaration

    protected override void DoAdvertizeSelf()

##### Overrides

AbstractDiscoveryAgent.DoAdvertizeSelf()
| Improve this Doc View Source

#### DoDiscovery()

##### Declaration

    protected override void DoDiscovery()

##### Overrides

AbstractDiscoveryAgent.DoDiscovery()
| Improve this Doc View Source

#### DoStartAgent()

##### Declaration

    protected override void DoStartAgent()

##### Overrides

AbstractDiscoveryAgent.DoStartAgent()
| Improve this Doc View Source

#### DoStopAgent()

##### Declaration

    protected override void DoStopAgent()

##### Overrides

AbstractDiscoveryAgent.DoStopAgent()
| Improve this Doc View Source

#### Resume()

##### Declaration

    public void Resume()

| Improve this Doc View Source

#### Suspend()

##### Declaration

    public void Suspend()

| Improve this Doc View Source

#### ToString()

##### Declaration

    public override string ToString()

##### Returns

Type | Description
--- | ---
System.String |

##### Overrides

System.Object.ToString()

### Implements

IDiscoveryAgent
Apache.NMS.IStartable
Apache.NMS.IStoppable
System.IDisposable
ISuspendable