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
ファイルを表示 Open project: tenor/p2pStateServer

Public Methods

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

Initializes a new instance of the PreconditionFailedResponse class

Process ( ) : void

Process the message

Private Methods

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

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

Process() public method

Process the message
public Process ( ) : void
return void