C# Class Microsoft.AspNet.SignalR.Stress.Stress.StressRunBase

Inheritance: IRun
Show file Open project: SignalR/SignalR

Public Methods

Method Description
Dispose ( ) : void
Initialize ( ) : void

Step 1: Initialize the run. For example, initialize the performance counters.

Run ( ) : void
RunTest ( ) : void

Step 2: Run the test by scheduling multiple background threads to send the messages to the server.

StressRunBase ( RunData runData ) : System

Protected Methods

Method Description
CreateReceiver ( int sendIndex ) : IDisposable
Dispose ( bool disposing ) : void
GetContractName ( ) : string
Send ( int senderIndex, string source ) : Task

Private Methods

Method Description
Sender ( object state ) : void

Method Details

CreateReceiver() protected abstract method

protected abstract CreateReceiver ( int sendIndex ) : IDisposable
sendIndex int
return IDisposable

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetContractName() protected method

protected GetContractName ( ) : string
return string

Initialize() public method

Step 1: Initialize the run. For example, initialize the performance counters.
public Initialize ( ) : void
return void

Run() public method

public Run ( ) : void
return void

RunTest() public method

Step 2: Run the test by scheduling multiple background threads to send the messages to the server.
public RunTest ( ) : void
return void

Send() protected abstract method

protected abstract Send ( int senderIndex, string source ) : Task
senderIndex int
source string
return Task

StressRunBase() public method

public StressRunBase ( RunData runData ) : System
runData RunData
return System