C# Класс Microsoft.Protocols.TestSuites.Pccrtp.PCCRTPClientAdapter

PCCRTP client adapter implementation to test client endpoint.
Наследование: Microsoft.Protocols.TestTools.ManagedAdapterBase, IPCCRTPClientAdapter
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
VerifyPccrtpRequestRequirements ( ) : void

Verify requirements about PCCRTP request.

Описание методов

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

ReceivePccrtpRequestMessage() публичный Метод

Receive a PCCRTP request message from the HTTP/1.1 client (SUT) when testing client endpoint.
public ReceivePccrtpRequestMessage ( ) : PccrtpRequest
Результат Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrtp.PccrtpRequest

Reset() публичный Метод

Reset the adapter.
public Reset ( ) : void
Результат void

SendPccrtpResponseMessage() публичный Метод

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. ///
Результат void