C# 클래스 Microsoft.Protocols.TestSuites.Pccrtp.PCCRTPServerAdapter

Verify server adapter requirements about MS-PCCRTP.
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites

공개 메소드들

메소드 설명
Initialize ( ITestSite testSite ) : void

Initialize adapter.

Reset ( ) : void

Reset the adapter.

SendPccrtpRequestMessage ( HttpVersionType httpVersion, bool isRequestPartialContent, string uri ) : PccrtpResponse

Send a PCCRTP request message and receive a PCCRTP response message.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed.

비공개 메소드들

메소드 설명
GetProperty ( string propName ) : string

Get the value of property in ptfconfig file.

VerifyContentInfomationStructure ( PccrtpResponse pccrtpResponse ) : void

Verify requirements about content information structure.

VerifyContentSegmentsBlocks ( PccrtpResponse pccrtpResponse ) : void

Verify Content, Segments, and Blocks defined in section 2.1.

VerifyDataStructure ( PccrtpResponse pccrtpResponse ) : void

Verify Data Structure of Content Information defined in section 2.3.

VerifyPccrtpResponse ( PccrtpResponse pccrtpResponse ) : void

This class is used to verify the requirements related to PCCRTP response.

VerifySegmentContentBlocks ( PccrtpResponse pccrtpResponse ) : void

Verify SegmentContentBlocks defined in section 2.3.1.2.

VerifySegmentDescription ( PccrtpResponse pccrtpResponse ) : void

Verify SegmentDescription defined in section 2.3.1.1.

VerifySegmentIdentifiersAndKeys ( PccrtpResponse pccrtpResponse ) : void

Verify Segment Identifiers (HoHoDK) and Keys defined in section 2.2.

메소드 상세

Dispose() 보호된 메소드

Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed.
protected Dispose ( bool disposing ) : void
disposing bool /// If disposing equals false, the method has been called by the /// runtime from inside the finalizer and you should not reference /// other objects. Only unmanaged resources can be disposed. ///
리턴 void

Initialize() 공개 메소드

Initialize adapter.
public Initialize ( ITestSite testSite ) : void
testSite ITestSite The test site instance associated with the current adapter.
리턴 void

Reset() 공개 메소드

Reset the adapter.
public Reset ( ) : void
리턴 void

SendPccrtpRequestMessage() 공개 메소드

Send a PCCRTP request message and receive a PCCRTP response message.
public SendPccrtpRequestMessage ( HttpVersionType httpVersion, bool isRequestPartialContent, string uri ) : PccrtpResponse
httpVersion HttpVersionType Indicates the HTTP version type used.
isRequestPartialContent bool Indicates it is requesting partical content or not.
uri string Indicates the URI on the SUT requested by the client.
리턴 Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrtp.PccrtpResponse