C# Class P2PStateServer.RemoveRequest

Represents the RemoveRequest message.
This message is sent from a client (web server) to a state server to request the deletion of a session. This message is only transmitted from client to state server.
Inheritance: ServiceRequest
Afficher le fichier Open project: tenor/p2pStateServer

Méthodes publiques

Méthode Description
Process ( ) : void

Process the message

RemoveRequest ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the RemoveRequest class

Méthodes protégées

Méthode Description
BuildResponse ( Type ResponseType, string ResponseMessage, ISessionResponseInfo ResponseInfo, byte Content ) : ResponseData

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

Method Details

BuildResponse() protected méthode

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

Process() public méthode

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

RemoveRequest() public méthode

Initializes a new instance of the RemoveRequest class
public RemoveRequest ( HTTPPartialData Data, StateServer Service ) : System
Data HTTPPartialData The HTTPPartialData class to load this instance from
Service StateServer State server instance
Résultat System