C# Class TaskBroker.MessageTypeClassificator

Afficher le fichier Open project: skipme/TaskMQ Class Usage Examples

Méthodes publiques

Свойство Type Description
Anterooms ChannelAnteroom>.Dictionary
Connections QueueConnectionParameters>.Dictionary
MChannelsList List
MessageChannels int>.Dictionary
MessageTypes int>.Dictionary

Méthodes publiques

Méthode Description
AddConnection ( QueueConnectionParameters conParameters ) : void
AddMessageChannel ( MessageChannel mc ) : void
AssignMessageTypeToChannel ( string channelName, TItemModel m, string moduleName ) : void

assume now for one message type we have only one channel

GetAnteroom ( string name ) : TaskBroker.ChannelAnteroom
GetAnteroomByMessage ( string mtName ) : TaskBroker.ChannelAnteroom
GetChannelForMessage ( string mtName ) : MessageChannel
GetInstanceByName ( string name ) : MessageChannel
GetStatistics ( bool input = false ) : IEnumerable
MessageTypeClassificator ( ) : System

Method Details

AddConnection() public méthode

public AddConnection ( QueueConnectionParameters conParameters ) : void
conParameters TaskQueue.Providers.QueueConnectionParameters
Résultat void

AddMessageChannel() public méthode

public AddMessageChannel ( MessageChannel mc ) : void
mc MessageChannel
Résultat void

AssignMessageTypeToChannel() public méthode

assume now for one message type we have only one channel
public AssignMessageTypeToChannel ( string channelName, TItemModel m, string moduleName ) : void
channelName string
m TaskQueue.Providers.TItemModel
moduleName string For exception information if occured model conflicts
Résultat void

GetAnteroom() public méthode

public GetAnteroom ( string name ) : TaskBroker.ChannelAnteroom
name string
Résultat TaskBroker.ChannelAnteroom

GetAnteroomByMessage() public méthode

public GetAnteroomByMessage ( string mtName ) : TaskBroker.ChannelAnteroom
mtName string
Résultat TaskBroker.ChannelAnteroom

GetChannelForMessage() public méthode

public GetChannelForMessage ( string mtName ) : MessageChannel
mtName string
Résultat MessageChannel

GetInstanceByName() public méthode

public GetInstanceByName ( string name ) : MessageChannel
name string
Résultat MessageChannel

GetStatistics() public méthode

public GetStatistics ( bool input = false ) : IEnumerable
input bool
Résultat IEnumerable

MessageTypeClassificator() public méthode

public MessageTypeClassificator ( ) : System
Résultat System

Property Details

Anterooms public_oe property

public Dictionary Anterooms
Résultat ChannelAnteroom>.Dictionary

Connections public_oe property

public Dictionary Connections
Résultat QueueConnectionParameters>.Dictionary

MChannelsList public_oe property

public List MChannelsList
Résultat List

MessageChannels public_oe property

public Dictionary MessageChannels
Résultat int>.Dictionary

MessageTypes public_oe property

public Dictionary MessageTypes
Résultat int>.Dictionary