C# Class Microsoft.Protocols.TestSuites.Pccrtp.PCCRTPClientAdapter

PCCRTP client adapter implementation to test client endpoint.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IPCCRTPClientAdapter
Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites

Méthodes publiques

Méthode Description
Initialize ( ITestSite testSite ) : void

Initialize adapter.

ReceivePccrtpRequestMessage ( ) : PccrtpRequest

Receive a PCCRTP request message from the HTTP/1.1 client (SUT) when testing client endpoint.

Reset ( ) : void

Reset the adapter.

SendPccrtpResponseMessage ( string requestFileFullPath ) : void

Generate and send an PCCRTP response message to the HTTP/1.1 client (SUT) when testing client endpoint.

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
VerifyPccrtpRequestRequirements ( ) : void

Verify requirements about PCCRTP request.

Method Details

Dispose() protected méthode

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. ///
Résultat void

Initialize() public méthode

Initialize adapter.
public Initialize ( ITestSite testSite ) : void
testSite ITestSite The test site instance associated with the current adapter.
Résultat void

ReceivePccrtpRequestMessage() public méthode

Receive a PCCRTP request message from the HTTP/1.1 client (SUT) when testing client endpoint.
public ReceivePccrtpRequestMessage ( ) : PccrtpRequest
Résultat Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrtp.PccrtpRequest

Reset() public méthode

Reset the adapter.
public Reset ( ) : void
Résultat void

SendPccrtpResponseMessage() public méthode

Generate and send an PCCRTP response message to the HTTP/1.1 client (SUT) when testing client endpoint.
public SendPccrtpResponseMessage ( string requestFileFullPath ) : void
requestFileFullPath string Indicate that local full path of the requested file on the driver computer. ///
Résultat void