C# Class Microsoft.Protocols.TestSuites.Pccrd.PccrdClientAdapter

A implementation of IPccrdClientAdapter.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IPccrdClientAdapter
Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Methods

Method Description
Initialize ( ITestSite testSite ) : void

Initialize the adapter.

Reset ( ) : void

Reset the adapter.

SendProbeMatchMessage ( string relatesTo, string instanceId, uint messageNumber, ServiceProperty matches, string ip, int port ) : void

Sends ProbeMatch message.

StartListening ( ) : void

Start to listen requests.

StopListening ( ) : void

Stop to listen requests.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Dispose managed resource and unmanaged resource.

Private Methods

Method Description
CaptureClientRoleScopesElementRequirements ( ScopesType scopes ) : void

Capture requirements related to Scope structure

CaptureHeaderRequirements ( WsdHeader header ) : void

Capture requirements related with SOAP header in Probe message.

CaptureProbeRequirements ( ProbeType probe ) : void

Capture requirements related to Probe structure

Server_ReceiveProbeMessage ( IPEndPoint sender, SoapEnvelope message ) : void

receive message handler

Method Details

Dispose() protected method

Dispose managed resource and unmanaged resource.
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.
return void

Initialize() public method

Initialize the adapter.
public Initialize ( ITestSite testSite ) : void
testSite ITestSite test site.
return void

Reset() public method

Reset the adapter.
public Reset ( ) : void
return void

SendProbeMatchMessage() public method

Sends ProbeMatch message.
public SendProbeMatchMessage ( string relatesTo, string instanceId, uint messageNumber, ServiceProperty matches, string ip, int port ) : void
relatesTo string "relatesTo" field in soap header.
instanceId string instanceId field in soap identifier for the current /// instance of the device being published
messageNumber uint The message number
matches ServiceProperty The service property matches
ip string The remote ip address
port int The used port number for transporting
return void

StartListening() public method

Start to listen requests.
public StartListening ( ) : void
return void

StopListening() public method

Stop to listen requests.
public StopListening ( ) : void
return void