C# Class org.GraphDefined.Vanaheimr.Hermod.SOAP.ASOAPServer

A HTTP/SOAP/XML server API.
Afficher le fichier Open project: Vanaheimr/Hermod

Méthodes publiques

Свойство Type Description
DefaultContentType HTTPContentType
DefaultHTTPServerPort IPPort
DefaultRequestTimeout System.TimeSpan

Méthodes publiques

Méthode Description
ASOAPServer ( SOAPServer SOAPServer, String URIPrefix = DefaultURIPrefix ) : System

Use the given HTTP server for the HTTP/SOAP/XML Server API.

ASOAPServer ( String HTTPServerName = DefaultHTTPServerName, IPPort TCPPort = null, String URIPrefix = DefaultURIPrefix, HTTPContentType SOAPContentType = null, System.Boolean RegisterHTTPRootService = true, DNSClient DNSClient = null, System.Boolean AutoStart = false ) : System

Initialize a new HTTP server for the HTTP/SOAP/XML Server API using IPAddress.Any.

Shutdown ( String Message = null, System.Boolean Wait = true ) : void

Stop the SOAP API.

Start ( ) : void

Start the SOAP API.

Méthodes protégées

Méthode Description
RegisterURITemplates ( ) : void

Register all URI templates for this SOAP API.

Private Methods

Méthode Description
RegisterRootService ( ) : void

Method Details

ASOAPServer() public méthode

Use the given HTTP server for the HTTP/SOAP/XML Server API.
public ASOAPServer ( SOAPServer SOAPServer, String URIPrefix = DefaultURIPrefix ) : System
SOAPServer SOAPServer A SOAP server.
URIPrefix String An optional URI prefix for the SOAP URI templates.
Résultat System

ASOAPServer() public méthode

Initialize a new HTTP server for the HTTP/SOAP/XML Server API using IPAddress.Any.
public ASOAPServer ( String HTTPServerName = DefaultHTTPServerName, IPPort TCPPort = null, String URIPrefix = DefaultURIPrefix, HTTPContentType SOAPContentType = null, System.Boolean RegisterHTTPRootService = true, DNSClient DNSClient = null, System.Boolean AutoStart = false ) : System
HTTPServerName String An optional identification string for the HTTP server.
TCPPort IPPort An optional TCP port for the HTTP server.
URIPrefix String An optional prefix for the HTTP URIs.
SOAPContentType HTTPContentType The HTTP content type for SOAP messages.
RegisterHTTPRootService System.Boolean Register HTTP root services for sending a notice to clients connecting via HTML or plain text.
DNSClient DNSClient An optional DNS client to use.
AutoStart System.Boolean Start the server immediately.
Résultat System

RegisterURITemplates() protected abstract méthode

Register all URI templates for this SOAP API.
protected abstract RegisterURITemplates ( ) : void
Résultat void

Shutdown() public méthode

Stop the SOAP API.
public Shutdown ( String Message = null, System.Boolean Wait = true ) : void
Message String An optional shutdown message.
Wait System.Boolean Wait for a clean shutdown of the API.
Résultat void

Start() public méthode

Start the SOAP API.
public Start ( ) : void
Résultat void

Property Details

DefaultContentType public_oe static_oe property

The default HTTP/SOAP/XML content type.
public static HTTPContentType DefaultContentType
Résultat HTTPContentType

DefaultHTTPServerPort public_oe static_oe property

The default HTTP/SOAP/XML server TCP port.
public static IPPort DefaultHTTPServerPort
Résultat IPPort

DefaultRequestTimeout public_oe static_oe property

The default request timeout.
public static TimeSpan,System DefaultRequestTimeout
Résultat System.TimeSpan