C# Класс org.GraphDefined.Vanaheimr.Hermod.SOAP.SOAPServer

A HTTP/SOAP/XML server.
Наследование: HTTPServer
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DefaultSOAPContentType HTTPContentType

Открытые методы

Метод Описание
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.

Описание методов

RegisterSOAPDelegate() публичный Метод

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.
Результат void

RegisterSOAPDelegate() публичный Метод

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.
Результат void

SOAPServer() публичный Метод

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).
Результат System

Описание свойств

DefaultSOAPContentType публичное статическое свойство

The default HTTP content type used for all SOAP requests/responses.
public static HTTPContentType DefaultSOAPContentType
Результат HTTPContentType