C# 클래스 org.GraphDefined.Vanaheimr.Hermod.SOAP.SOAPServer

A HTTP/SOAP/XML server.
상속: HTTPServer
파일 보기 프로젝트 열기: Vanaheimr/Hermod 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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