Show / Hide Table of Contents

    Interface IDiscoveryAgent

    Inherited Members
    Apache.NMS.IStartable.Start()
    Apache.NMS.IStartable.IsStarted
    Apache.NMS.IStoppable.Stop()
    Namespace: Apache.NMS.ActiveMQ.Transport.Discovery
    Assembly: Apache.NMS.ActiveMQ.dll
    Syntax
    public interface IDiscoveryAgent : IStartable, IStoppable

    Properties

    | Improve this Doc View Source

    ServiceAdd

    Gets or sets the service add event handler

    Declaration
    ServiceAddHandler ServiceAdd { get; set; }
    Property Value
    Type Description
    ServiceAddHandler
    | Improve this Doc View Source

    ServiceRemove

    Gets or sets the service remove event handler.

    Declaration
    ServiceRemoveHandler ServiceRemove { get; set; }
    Property Value
    Type Description
    ServiceRemoveHandler

    Methods

    | Improve this Doc View Source

    RegisterService(String)

    Registers the service with the given name.

    Declaration
    void RegisterService(string name)
    Parameters
    Type Name Description
    System.String name
    | Improve this Doc View Source

    ServiceFailed(DiscoveryEvent)

    A process actively using a service may see it go down before the DiscoveryAgent notices the service's failure. That process can use this method to notify the IDiscoveryAgent of the failure so that other listeners of this IDiscoveryAgent can also be made aware of the failure.

    Declaration
    void ServiceFailed(DiscoveryEvent failedEvent)
    Parameters
    Type Name Description
    DiscoveryEvent failedEvent
    • Improve this Doc
    • View Source
    Back to top Copyright � 2005-2019 Apache Software Foundation project
    Generated by DocFX