C# Class 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.
Inheritance: ServiceMessage
显示文件 Open project: tenor/p2pStateServer

Protected Properties

Property Type Description
actionFlags string
aspNetVersion string
assocID Guid?

Public Methods

Method Description
ServiceResponse ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the ServiceResponse class

Protected Methods

Method Description
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

Method Details

ProcessFailureResponse() protected method

Processes an unexpected/bad response. This method also calls the Failure event for BeginAuthRequest\CompleteAuthRequest and SetTransferRequest
protected ProcessFailureResponse ( ) : void
return void

ServiceResponse() public method

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
return System

Validate() protected method

Validates a ServiceResponse message
protected Validate ( ) : bool
return bool

Property Details

actionFlags protected_oe property

The response ActionFlags value
protected string actionFlags
return string

aspNetVersion protected_oe property

The version of the state server that sent the response
protected string aspNetVersion
return string

assocID protected_oe property

The request ID associated with the response
protected Guid? assocID
return Guid?