C# Класс Stumps.StumpsServer

A class that represents a Stumps server.
Наследование: IStumpsServer
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddNewStump ( string stumpId ) : Stump

Adds a new T:Stumps.Stump with a specified identifier to the collection.

AddStump ( Stump stump ) : void

Adds a new T:Stumps.Stump to the collection.

DeleteStump ( string stumpId ) : void

Deletes the specified stump from the collection.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

FindStump ( string stumpId ) : Stump

Finds an existing stump.

A null value is returned if a Stump is not found.

Shutdown ( ) : void

Stops this instance of the Stumps server.

Start ( ) : void

Starts this instance of the Stumps server.

StumpsServer ( ) : System

Initializes a new instance of the T:Stumps.StumpsServer class.

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

Метод Описание
ServerRequestFinished ( object sender, StumpsContextEventArgs e ) : void

Handles the requestFinishing event of the server instance.

ServerRequestProcessed ( object sender, StumpsContextEventArgs e ) : void

Handles the RequestProcessed event of the server instance.

ServerRequestStarted ( object sender, StumpsContextEventArgs e ) : void

Handles the RequestStarted event of the server instance.

UpdateStumpsEnabledFlag ( bool enabled ) : void

Updates the enabled flag of the Stumps handler.

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

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

Adds a new T:Stumps.Stump with a specified identifier to the collection.
is null. A with the same identifier already exists.
public AddNewStump ( string stumpId ) : Stump
stumpId string The unique identifier for the .
Результат Stump

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

Adds a new T:Stumps.Stump to the collection.
is null. A with the same identifier already exists.
public AddStump ( Stump stump ) : void
stump Stump The to add to the collection.
Результат void

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

Deletes the specified stump from the collection.
public DeleteStump ( string stumpId ) : void
stumpId string The unique identifier for the stump to remove.
Результат void

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

Finds an existing stump.
A null value is returned if a Stump is not found.
public FindStump ( string stumpId ) : Stump
stumpId string The unique identifier for the Stump.
Результат Stump

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

Stops this instance of the Stumps server.
public Shutdown ( ) : void
Результат void

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

Starts this instance of the Stumps server.
public Start ( ) : void
Результат void

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

Initializes a new instance of the T:Stumps.StumpsServer class.
public StumpsServer ( ) : System
Результат System