C# Class P2PStateServer.ServiceUnavailableResponse

Represents the ServiceUnavailableResponse message sent by a peer when it's shutting down
The ServiceUnavailableResponse message is sent by a peer in response to a SetTransferMessage if the peer is shutting down and cannot accept the transfer. This message is only transmitted between peers.
Inheritance: ServiceResponse
显示文件 Open project: tenor/p2pStateServer

Public Methods

Method Description
Process ( ) : void

Process the message

ServiceUnavailableResponse ( HTTPPartialData Data, StateServer Service ) : System

Initializes a new instance of the ServiceUnavailableResponse class

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

Process() public method

Process the message
public Process ( ) : void
return void

ServiceUnavailableResponse() public method

Initializes a new instance of the ServiceUnavailableResponse class
public ServiceUnavailableResponse ( HTTPPartialData Data, StateServer Service ) : System
Data HTTPPartialData The HTTPPartialData to create object from
Service StateServer State server instance
return System