C# Class 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.
Inheritance: ServiceResponse
Exibir arquivo Open project: tenor/p2pStateServer

Public Methods

Method Description
BadRequestResponse ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the BadRequestResponse class

Process ( ) : void

Process the message

Private Methods

Method Description
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

Method Details

BadRequestResponse() public method

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
return System

Process() public method

Process the message
public Process ( ) : void
return void