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

A HTTP/SOAP/XML server.
Inheritance: HTTPServer
ファイルを表示 Open project: Vanaheimr/Hermod Class Usage Examples

Public Properties

Property Type Description
DefaultSOAPContentType HTTPContentType

Public Methods

Method Description
RegisterSOAPDelegate ( HTTPHostname Hostname, String URITemplate, String Description, SOAPMatch SOAPMatch, SOAPBodyDelegate SOAPBodyDelegate ) : void

Register a SOAP delegate.

RegisterSOAPDelegate ( HTTPHostname Hostname, String URITemplate, String Description, SOAPMatch SOAPMatch, SOAPHeaderAndBodyDelegate SOAPHeaderAndBodyDelegate ) : void

Register a SOAP delegate.

SOAPServer ( IPPort TCPPort = null, String DefaultServerName = DefaultHTTPServerName, HTTPContentType SOAPContentType = null, X509Certificate2 X509Certificate = null, IEnumerable CallingAssemblies = null, String ServerThreadName = null, ThreadPriority ServerThreadPriority = ThreadPriority.AboveNormal, System.Boolean ServerThreadIsBackground = true, ConnectionIdBuilder ConnectionIdBuilder = null, ConnectionThreadsNameBuilder ConnectionThreadsNameBuilder = null, ConnectionThreadsPriorityBuilder ConnectionThreadsPriorityBuilder = null, System.Boolean ConnectionThreadsAreBackground = true, System.TimeSpan ConnectionTimeout = null, UInt32 MaxClientConnections = TCPServer.__DefaultMaxClientConnections, DNSClient DNSClient = null, System.Boolean Autostart = false ) : System

Initialize the SOAP server using the given parameters.

Method Details

RegisterSOAPDelegate() public method

Register a SOAP delegate.
public RegisterSOAPDelegate ( HTTPHostname Hostname, String URITemplate, String Description, SOAPMatch SOAPMatch, SOAPBodyDelegate SOAPBodyDelegate ) : void
Hostname HTTPHostname The HTTP Hostname.
URITemplate String The URI template.
Description String A description of this SOAP delegate.
SOAPMatch SOAPMatch A delegate to check whether this dispatcher matches the given XML.
SOAPBodyDelegate SOAPBodyDelegate A delegate to process a matching SOAP request.
return void

RegisterSOAPDelegate() public method

Register a SOAP delegate.
public RegisterSOAPDelegate ( HTTPHostname Hostname, String URITemplate, String Description, SOAPMatch SOAPMatch, SOAPHeaderAndBodyDelegate SOAPHeaderAndBodyDelegate ) : void
Hostname HTTPHostname The HTTP hostname.
URITemplate String The URI template.
Description String A description of this SOAP delegate.
SOAPMatch SOAPMatch A delegate to check whether this dispatcher matches the given XML.
SOAPHeaderAndBodyDelegate SOAPHeaderAndBodyDelegate A delegate to process a matching SOAP request.
return void

SOAPServer() public method

Initialize the SOAP server using the given parameters.
public SOAPServer ( IPPort TCPPort = null, String DefaultServerName = DefaultHTTPServerName, HTTPContentType SOAPContentType = null, X509Certificate2 X509Certificate = null, IEnumerable CallingAssemblies = null, String ServerThreadName = null, ThreadPriority ServerThreadPriority = ThreadPriority.AboveNormal, System.Boolean ServerThreadIsBackground = true, ConnectionIdBuilder ConnectionIdBuilder = null, ConnectionThreadsNameBuilder ConnectionThreadsNameBuilder = null, ConnectionThreadsPriorityBuilder ConnectionThreadsPriorityBuilder = null, System.Boolean ConnectionThreadsAreBackground = true, System.TimeSpan ConnectionTimeout = null, UInt32 MaxClientConnections = TCPServer.__DefaultMaxClientConnections, DNSClient DNSClient = null, System.Boolean Autostart = false ) : System
TCPPort IPPort An IP port to listen on.
DefaultServerName String The default HTTP servername, used whenever no HTTP Host-header had been given.
SOAPContentType HTTPContentType The default HTTP content type used for all SOAP requests/responses.
X509Certificate System.Security.Cryptography.X509Certificates.X509Certificate2 Use this X509 certificate for TLS.
CallingAssemblies IEnumerable A list of calling assemblies to include e.g. into embedded ressources lookups.
ServerThreadName String The optional name of the TCP server thread.
ServerThreadPriority ThreadPriority The optional priority of the TCP server thread.
ServerThreadIsBackground System.Boolean Whether the TCP server thread is a background thread or not.
ConnectionIdBuilder ConnectionIdBuilder An optional delegate to build a connection identification based on IP socket information.
ConnectionThreadsNameBuilder ConnectionThreadsNameBuilder An optional delegate to set the name of the TCP connection threads.
ConnectionThreadsPriorityBuilder ConnectionThreadsPriorityBuilder An optional delegate to set the priority of the TCP connection threads.
ConnectionThreadsAreBackground System.Boolean Whether the TCP connection threads are background threads or not (default: yes).
ConnectionTimeout System.TimeSpan The TCP client timeout for all incoming client connections in seconds (default: 30 sec).
MaxClientConnections System.UInt32 The maximum number of concurrent TCP client connections (default: 4096).
DNSClient DNSClient The DNS client to use.
Autostart System.Boolean Start the HTTP server thread immediately (default: no).
return System

Property Details

DefaultSOAPContentType public_oe static_oe property

The default HTTP content type used for all SOAP requests/responses.
public static HTTPContentType DefaultSOAPContentType
return HTTPContentType