C# Класс P2PStateServer.ResetTimeoutRequest

Represents the ResetTimeoutRequest message.
This message is sent from a client (web server) to a state server to request an extension to the expiration time of a session. This message is only transmitted from client to state server.
Наследование: ServiceRequest
Показать файл Открыть проект

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

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

Process the message

ResetTimeoutRequest ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the ResetTimeoutRequest class

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

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

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

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

Метод Описание
CompleteResetTimeoutRequest ( ISessionObject Session, object StateObject ) : void

Called by the SessionDictionary.Read() method to complete processing the request, if the requested session was found and read

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

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

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

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