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

A implementation of IPccrdClientAdapter.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IPccrdClientAdapter
Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Dispose managed resource and unmanaged resource.

Private Methods

Méthode 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 méthode

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

Initialize() public méthode

Initialize the adapter.
public Initialize ( ITestSite testSite ) : void
testSite ITestSite test site.
Résultat void

Reset() public méthode

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

SendProbeMatchMessage() public méthode

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

StartListening() public méthode

Start to listen requests.
public StartListening ( ) : void
Résultat void

StopListening() public méthode

Stop to listen requests.
public StopListening ( ) : void
Résultat void