C# 클래스 Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrd.PccrdServer

pccrd server
상속: IDisposable
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites 1 사용 예제들

공개 메소드들

메소드 설명
CreateProbeMatchMessage ( string relatesTo, string instanceId, uint messageNumber, CustomProbeMatchType matches ) : SoapEnvelope

Create Probematch message

Dispose ( ) : void

Release all resources

HandleRequest ( IPEndPoint sender, SoapEnvelope message ) : void

receive message

PccrdServer ( ) : System

Initializes a new instance of the PccrdServerclass without parameter

PccrdServer ( ILogPrinter logger ) : System

Initializes a new instance of the PccrdServerclass

SendUnicast ( SoapEnvelope message, string ipaddress, int port ) : void

send unicast message

StartListening ( ) : void

Start to listen incoming requests

StopListening ( ) : void

Stop to listen incoming requests

보호된 메소드들

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

Release all resources

메소드 상세

CreateProbeMatchMessage() 공개 메소드

Create Probematch message
public CreateProbeMatchMessage ( string relatesTo, string instanceId, uint messageNumber, CustomProbeMatchType matches ) : SoapEnvelope
relatesTo string The probe message relates to
instanceId string The instanceId of the probe message
messageNumber uint The messageNumber of probe message
matches CustomProbeMatchType The probe matches
리턴 Microsoft.Protocols.TestTools.StackSdk.WsDiscovery.SoapMessage.SoapEnvelope

Dispose() 공개 메소드

Release all resources
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Release all resources
protected Dispose ( bool disposing ) : void
disposing bool Indicate user or GC calling this method
리턴 void

HandleRequest() 공개 메소드

receive message
public HandleRequest ( IPEndPoint sender, SoapEnvelope message ) : void
sender System.Net.IPEndPoint The sender
message Microsoft.Protocols.TestTools.StackSdk.WsDiscovery.SoapMessage.SoapEnvelope The soap envelope message
리턴 void

PccrdServer() 공개 메소드

Initializes a new instance of the PccrdServerclass without parameter
public PccrdServer ( ) : System
리턴 System

PccrdServer() 공개 메소드

Initializes a new instance of the PccrdServerclass
public PccrdServer ( ILogPrinter logger ) : System
logger ILogPrinter The specified logger.
리턴 System

SendUnicast() 공개 메소드

send unicast message
public SendUnicast ( SoapEnvelope message, string ipaddress, int port ) : void
message Microsoft.Protocols.TestTools.StackSdk.WsDiscovery.SoapMessage.SoapEnvelope The soap envelope message
ipaddress string The remote ipaddress
port int The used port number for transporting
리턴 void

StartListening() 공개 메소드

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

StopListening() 공개 메소드

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