C# Класс P2PStateServer.UnknownRequest

Represents the UnknownRequest message.
This class represents a message that was classified as a request, but could not be identified.
Наследование: ServiceRequest
Показать файл Открыть проект

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

Метод Описание
Process ( ) : void

Process the message

UnknownRequest ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the UnknownRequest class

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

Метод Описание
BuildResponse ( Type ResponseType, string ResponseMessage, ISessionResponseInfo ResponseInfo, byte Content ) : ResponseData

Generates an appropriate ResponseData object for this message, filled with supplied data

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

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

Generates an appropriate ResponseData object for this message, filled with supplied data
protected BuildResponse ( Type ResponseType, string ResponseMessage, ISessionResponseInfo ResponseInfo, byte Content ) : ResponseData
ResponseType System.Type The Type of the Response message
ResponseMessage string The HTTP response reason phrase
ResponseInfo ISessionResponseInfo The session response information
Content byte The response data
Результат ResponseData

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

Process the message
public Process ( ) : void
Результат void

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

Initializes a new instance of the UnknownRequest class
public UnknownRequest ( HTTPPartialData Data, StateServer Service ) : System
Data HTTPPartialData The HTTPPartialData class to load this instance from
Service StateServer State server instance
Результат System