AvailableMessage

Overview

This class is used by the ServerMultiMessage class to get information about messages to use (see ServerMultiMessage for more details).

Location

Properties


Message

Message instance.

Note: The setter of this property automatically sets the Name property, too, if it is null to Message.DefaultDispatcherName.

 

property Message: IMessage read write;

 

IMessage Message { get; set; }

 

Property Message() As IMessage

Name

The name of the AvailableMessaqe instance. It is used by ServerMultiMessage to define which excact message instance should handle the incoming request.

 

property Name: String read write;

 

String Name { get; set; }

 

Property Name() As String

Instance Methods


constructor

Creates a new instance of the AvailableMessaqe class and sets the Name and Message properties according to the parameters provided.

 

constructor

 

AvailableMessage()

 

Sub New()

constructor (String, IMessage)

 

constructor(name: String; message: IMessage)

 

AvailableMessage(String name, IMessage message)

 

Sub New(name As String, message As IMessage)

Parameters:

  • name:
  • message: