C# Класс Microsoft.AspNet.SignalR.Stress.Stress.StressRunBase

Наследование: IRun
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
CreateReceiver ( int sendIndex ) : IDisposable
Dispose ( bool disposing ) : void
GetContractName ( ) : string
Send ( int senderIndex, string source ) : Task

Приватные методы

Метод Описание
Sender ( object state ) : void

Описание методов

CreateReceiver() защищенный абстрактный Метод

protected abstract CreateReceiver ( int sendIndex ) : IDisposable
sendIndex int
Результат IDisposable

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GetContractName() защищенный Метод

protected GetContractName ( ) : string
Результат string

Initialize() публичный Метод

Step 1: Initialize the run. For example, initialize the performance counters.
public Initialize ( ) : void
Результат void

Run() публичный Метод

public Run ( ) : void
Результат void

RunTest() публичный Метод

Step 2: Run the test by scheduling multiple background threads to send the messages to the server.
public RunTest ( ) : void
Результат void

Send() защищенный абстрактный Метод

protected abstract Send ( int senderIndex, string source ) : Task
senderIndex int
source string
Результат Task

StressRunBase() публичный Метод

public StressRunBase ( RunData runData ) : System
runData RunData
Результат System