C# Класс P2PStateServer.ServiceResponse

Represents a ServiceResponse message
The ServiceResponse class represents a response message from a peer to another or from a state server to a client (web server) in response to a request. Response messages should be derived from the ServiceResponse class.
Наследование: ServiceMessage
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
actionFlags string
aspNetVersion string
assocID Guid?

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

Метод Описание
ServiceResponse ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the ServiceResponse class

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

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

Processes an unexpected/bad response. This method also calls the Failure event for BeginAuthRequest\CompleteAuthRequest and SetTransferRequest

Validate ( ) : bool

Validates a ServiceResponse message

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

ProcessFailureResponse() защищенный Метод

Processes an unexpected/bad response. This method also calls the Failure event for BeginAuthRequest\CompleteAuthRequest and SetTransferRequest
protected ProcessFailureResponse ( ) : void
Результат void

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

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

Validate() защищенный Метод

Validates a ServiceResponse message
protected Validate ( ) : bool
Результат bool

Описание свойств

actionFlags защищенное свойство

The response ActionFlags value
protected string actionFlags
Результат string

aspNetVersion защищенное свойство

The version of the state server that sent the response
protected string aspNetVersion
Результат string

assocID защищенное свойство

The request ID associated with the response
protected Guid? assocID
Результат Guid?