C# 클래스 Microsoft.Protocols.TestSuites.Pccrd.PccrdClientAdapter

A implementation of IPccrdClientAdapter.
상속: Microsoft.Protocols.TestTools.ManagedAdapterBase, IPccrdClientAdapter
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites

공개 메소드들

메소드 설명
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.

보호된 메소드들

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

Dispose managed resource and unmanaged resource.

비공개 메소드들

메소드 설명
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

메소드 상세

Dispose() 보호된 메소드

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.
리턴 void

Initialize() 공개 메소드

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

Reset() 공개 메소드

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

SendProbeMatchMessage() 공개 메소드

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
리턴 void

StartListening() 공개 메소드

Start to listen requests.
public StartListening ( ) : void
리턴 void

StopListening() 공개 메소드

Stop to listen requests.
public StopListening ( ) : void
리턴 void