C# Class P2PStateServer.OKResponse

Represents the OKResponse message
This message is sent by a state server to a client (web server) or from one peer to another to indicate that the requested action was successful. This message is transmitted from state server to client or between peers.
Inheritance: ServiceResponse
显示文件 Open project: tenor/p2pStateServer

Protected Properties

Property Type Description
authInfo_cnonce string
authInfo_ncount int
authInfo_qop string
authInfo_rspauth string

Public Methods

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

Initializes a new instance of the OKResponse class

Process ( ) : void

Process the message

Private Methods

Method Description
AppendResponse ( StringBuilder sb, string Message, System.Guid AssociatedRequestID, string ASPNETVersion, int ActionFlags ) : void

Appends the raw response data to a string builder. Used to reply to all messages except CompleteAuthRequest, GetExclusiveRequest and GetRequest messages

AppendResponse ( StringBuilder sb, string Message, string ASPNETVersion, ISessionResponseInfo ResponseInfo ) : void

Appends the raw response data to a string builder. Used to reply to GetExclusiveRequest and GetRequest messages

AppendResponse ( StringBuilder sb, string Message, string ASPNETVersion, string ClientNonce, string ResponseDigest ) : void

Appends the raw response data to a string builder. Used to reply to CompleteAuthRequest messages

Method Details

OKResponse() public method

Initializes a new instance of the OKResponse class
public OKResponse ( 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

Property Details

authInfo_cnonce protected_oe property

protected string authInfo_cnonce
return string

authInfo_ncount protected_oe property

protected int authInfo_ncount
return int

authInfo_qop protected_oe property

protected string authInfo_qop
return string

authInfo_rspauth protected_oe property

protected string authInfo_rspauth
return string