C# Class NLog.Targets.SignalR.AspNetServer.SignalR.MessengerHub.MessengerHub

Inheritance: Hub
Exibir arquivo Open project: Hdesai/NLogToSignalR

Public Methods

Method Description
AddToGroup ( string group ) : void
BroadCastMessage ( dynamic message, string group ) : void

Broads the cast message.

GetAllMessages ( ) : IEnumerable

Gets all messages.

Heartbeat ( string fromWho ) : void
MessengerHub ( ) : System
MessengerHub ( Messenger messenger ) : System

Initializes a new instance of the MessengerHub class.

Method Details

AddToGroup() public method

public AddToGroup ( string group ) : void
group string
return void

BroadCastMessage() public method

Broads the cast message.
public BroadCastMessage ( dynamic message, string group ) : void
message dynamic The message.
group string
return void

GetAllMessages() public method

Gets all messages.
public GetAllMessages ( ) : IEnumerable
return IEnumerable

Heartbeat() public method

public Heartbeat ( string fromWho ) : void
fromWho string
return void

MessengerHub() public method

public MessengerHub ( ) : System
return System

MessengerHub() public method

Initializes a new instance of the MessengerHub class.
public MessengerHub ( Messenger messenger ) : System
messenger Messenger The messenger.
return System