C# Класс P2PStateServer.BadRequestResponse

Represents the BadRequestResponse message
This message is sent by a state server to a client (web server) or from one peer to another to indicate that the requested action could not be performed due to an error. This message is transmitted from state server to client or between peers.
Наследование: ServiceResponse
Показать файл Открыть проект

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

Метод Описание
BadRequestResponse ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the BadRequestResponse class

Process ( ) : void

Process the message

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

Метод Описание
AppendResponse ( StringBuilder sb, string Message, System.Guid AssociatedRequestID, string ASPNETVersion ) : void

Appends the raw response data to a string builder

AppendResponse ( StringBuilder sb, string Message, string ASPNETVersion ) : void

Appends the raw response data to a string builder

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

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

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

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

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