C# Class P2PStateServer.PreconditionFailedResponse

Represents the PreconditionFailedResponse message.
The PreconditionFailedResponse message is sent by a peer in response to a SetTransferMessage if the peer already has the transferred resource and so cannot accept the transfer. This message is only transmitted between peers.
Inheritance: ServiceResponse
Afficher le fichier Open project: tenor/p2pStateServer

Méthodes publiques

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

Initializes a new instance of the PreconditionFailedResponse class

Process ( ) : void

Process the message

Private Methods

Méthode Description
AppendResponse ( StringBuilder sb, string Message, System.Guid AssociatedRequestID, string ASPNETVersion ) : void

Appends the raw response data to a string builder

Method Details

PreconditionFailedResponse() public méthode

Initializes a new instance of the PreconditionFailedResponse class
public PreconditionFailedResponse ( HTTPPartialData Data, StateServer Service ) : System
Data HTTPPartialData The HTTPPartialData class to load this instance from
Service StateServer State server instance
Résultat System

Process() public méthode

Process the message
public Process ( ) : void
Résultat void