C# 클래스 P2PStateServer.GetRequest

Represents the GetExclusiveRequest message.
This message is sent from a client (web server) to a state server to request session data non-exclusively. This message is only transmitted from client to state server.
상속: ServiceRequest
파일 보기 프로젝트 열기: tenor/p2pStateServer

공개 메소드들

메소드 설명
GetRequest ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the GetRequest class

Process ( ) : void

Process the message

보호된 메소드들

메소드 설명
BuildResponse ( Type ResponseType, string ResponseMessage, ISessionResponseInfo ResponseInfo, byte Content ) : ResponseData

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

비공개 메소드들

메소드 설명
CompleteReadRequest ( 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

GetRequest() 공개 메소드

Initializes a new instance of the GetRequest class
public GetRequest ( 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