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

pccrd server
Inheritance: IDisposable
Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Release all resources

Method Details

CreateProbeMatchMessage() public méthode

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

Dispose() public méthode

Release all resources
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

HandleRequest() public méthode

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

PccrdServer() public méthode

Initializes a new instance of the PccrdServerclass without parameter
public PccrdServer ( ) : System
Résultat System

PccrdServer() public méthode

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

SendUnicast() public méthode

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

StartListening() public méthode

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

StopListening() public méthode

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