C# Class Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pccrd.PccrdServer

pccrd server
Inheritance: IDisposable
Datei anzeigen Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Methods

Method Description
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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Release all resources

Method Details

CreateProbeMatchMessage() public method

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
return Microsoft.Protocols.TestTools.StackSdk.WsDiscovery.SoapMessage.SoapEnvelope

Dispose() public method

Release all resources
public Dispose ( ) : void
return void

Dispose() protected method

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

HandleRequest() public method

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
return void

PccrdServer() public method

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

PccrdServer() public method

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

SendUnicast() public method

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
return void

StartListening() public method

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

StopListening() public method

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