MessageDispatchers

Overview

The MessageDispatchers class maintains a collection of dispatchers configured for a given server.

You will not create instances of this class yourself, but use the Dispatchers property of the server components to work with their list of dispatchers.

Location

 

constructor

Creaes a new instance of the MessageDispatchers class.

 

constructor

 

MessageDispatchers()

 

Sub New()

constructor (Int32)

 

constructor(capacity: Int32)

 

MessageDispatchers(Int32 capacity)

 

Sub New(capacity As Int32)

Parameters:

  • capacity:

constructor (IEnumerable<MessageDispatcher>)

 

constructor(collection: IEnumerable<MessageDispatcher>)

 

MessageDispatchers(IEnumerable<MessageDispatcher> collection)

 

Sub New(collection As IEnumerable<MessageDispatcher>)

Parameters:

  • collection:

Add

 

method Add(name: String; message: IMessage)

 

void Add(String name, IMessage message)

 

Sub Add(name As String, message As IMessage)

Parameters:

  • name:
  • message:

DefaultDispatcher

 

property DefaultDispatcher: MessageDispatcher read;

 

MessageDispatcher DefaultDispatcher { get; }

 

ReadOnly Property DefaultDispatcher() As MessageDispatcher

Item

 

property Item[name: String]: MessageDispatcher read;

 

MessageDispatcher Item[String name] { get; }

 

ReadOnly Property Item(name As String) As MessageDispatcher

 

DefaultDispatcher

 

property DefaultDispatcher: MessageDispatcher read;

 

MessageDispatcher DefaultDispatcher { get; }

 

ReadOnly Property DefaultDispatcher() As MessageDispatcher

Item

 

property Item[name: String]: MessageDispatcher read;

 

MessageDispatcher Item[String name] { get; }

 

ReadOnly Property Item(name As String) As MessageDispatcher

 

constructor

Creaes a new instance of the MessageDispatchers class.

 

constructor

 

MessageDispatchers()

 

Sub New()

constructor (Int32)

 

constructor(capacity: Int32)

 

MessageDispatchers(Int32 capacity)

 

Sub New(capacity As Int32)

Parameters:

  • capacity:

constructor (IEnumerable<MessageDispatcher>)

 

constructor(collection: IEnumerable<MessageDispatcher>)

 

MessageDispatchers(IEnumerable<MessageDispatcher> collection)

 

Sub New(collection As IEnumerable<MessageDispatcher>)

Parameters:

  • collection:

Add

 

method Add(name: String; message: IMessage)

 

void Add(String name, IMessage message)

 

Sub Add(name As String, message As IMessage)

Parameters:

  • name:
  • message: