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
Afficher le fichier Open project: tenor/p2pStateServer

Méthodes publiques

Méthode Description
BadRequestResponse ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the BadRequestResponse class

Process ( ) : void

Process the message

Private Methods

Méthode 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 méthode

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
Résultat System

Process() public méthode

Process the message
public Process ( ) : void
Résultat void