C# Class SignalR.Stress.Program

Exibir arquivo Open project: Icenium/SignalR

Public Methods

Method Description
MeasureStats ( MessageBus bus ) : void
StressGroups ( ) : void

Private Methods

Method Description
GetPayload ( int n = 32 ) : string
LongPollingLoop ( MemoryHost host, string connectionId ) : void
Main ( string args ) : void
OnUnobservedTaskException ( object sender, System.Threading.Tasks.UnobservedTaskExceptionEventArgs e ) : void
ProcessRequest ( MemoryHost host, string transport, string connectionId ) : Task
ReceiveLoop ( ITransportConnection connection, string messageId ) : void
RunBusTest ( ) : void
RunConnectionReceiveLoopTest ( ) : void
RunConnectionTest ( ) : void
RunMemoryHost ( ) : MemoryHost
StartClientLoop ( MessageBus bus, ISubscriber subscriber ) : void
StartSendLoop ( string clientId, Func publish, string payload ) : void
Write ( Stream stream, string raw ) : void

Method Details

MeasureStats() public static method

public static MeasureStats ( MessageBus bus ) : void
bus MessageBus
return void

StressGroups() public static method

public static StressGroups ( ) : void
return void