C# Class AspComet.MessageHandlers.ForwardingHandler

A message handler which fowards messages through to any clients subscribed to the channel of the request message
Inheritance: IMessageHandler
Datei anzeigen Open project: nmosafi/aspComet

Public Methods

Method Description
ForwardingHandler ( IClientRepository clientRepository ) : System.Collections.Generic
HandleMessage ( Message request ) : MessageHandlerResult

Private Methods

Method Description
GetForwardMessage ( Message request ) : Message
GetForwardingFailedResponse ( Message request, string cancellationReason ) : Message
PublishPublishingEvent ( Message request ) : PublishingEvent
SendMessageToRecipients ( Message request, Message forwardMessage ) : bool

Method Details

ForwardingHandler() public method

public ForwardingHandler ( IClientRepository clientRepository ) : System.Collections.Generic
clientRepository IClientRepository
return System.Collections.Generic

HandleMessage() public method

public HandleMessage ( Message request ) : MessageHandlerResult
request Message
return MessageHandlerResult