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
Afficher le fichier Open project: tenor/p2pStateServer

Protected Properties

Свойство Type Description
actionFlags string
aspNetVersion string
assocID Guid?

Méthodes publiques

Méthode Description
ServiceResponse ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the ServiceResponse class

Méthodes protégées

Méthode 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 méthode

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

ServiceResponse() public méthode

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

Validate() protected méthode

Validates a ServiceResponse message
protected Validate ( ) : bool
Résultat bool

Property Details

actionFlags protected_oe property

The response ActionFlags value
protected string actionFlags
Résultat string

aspNetVersion protected_oe property

The version of the state server that sent the response
protected string aspNetVersion
Résultat string

assocID protected_oe property

The request ID associated with the response
protected Guid? assocID
Résultat Guid?