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

Inheritance: IRun
Afficher le fichier Open project: SignalR/SignalR

Méthodes publiques

Méthode 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

Méthodes protégées

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

Private Methods

Méthode Description
Sender ( object state ) : void

Method Details

CreateReceiver() protected abstract méthode

protected abstract CreateReceiver ( int sendIndex ) : IDisposable
sendIndex int
Résultat IDisposable

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetContractName() protected méthode

protected GetContractName ( ) : string
Résultat string

Initialize() public méthode

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

Run() public méthode

public Run ( ) : void
Résultat void

RunTest() public méthode

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

Send() protected abstract méthode

protected abstract Send ( int senderIndex, string source ) : Task
senderIndex int
source string
Résultat Task

StressRunBase() public méthode

public StressRunBase ( RunData runData ) : System
runData RunData
Résultat System