Package deltavsoft :: Module rcfproto :: Class RcfProtoServer |
[frames] | no frames]

# Class RcfProtoServer

source code

    _object --+
              |
             RcfProtoServer

Serves up Protocol Buffer-based services to clients, over one or more server transports.

Instance Methods
__init__(self, *args) | source code
Start(self) Starts the RCFProto server. | source code
Stop(self) Stops the RCFProto server. | source code
SetThreadPool(self, *args) Sets the thread pool the server will use. | source code
GetThreadPool(self) Returns the thread pool the server is using. | source code
AddEndpoint(self, *args) Adds a transport endpoint to the server. | source code
SetSupportedTransportProtocols(self, *args) Sets the list of supported protocols the server supports. | source code
GetSupportedTransportProtocols(self) Returns the list of supported protocols for the server. | source code
SetSessionTimeoutMs(self, *args) Sets the session timeout value, in milliseconds. | source code
GetSessionTimeoutMs(self) Returns the session timeout value, in milliseconds. | source code
SetSessionHarvestingIntervalMs(self, *args) Sets the session harvesting interval, in milliseconds. | source code
GetSessionHarvestingIntervalMs(self) Returns the session harvesting interval, in milliseconds. | source code
SetCertificate(self, *args) Sets the SSL certificate of the server. | source code
GetCertificate(self) Gets the SSL certificate of the server. | source code
SetOpenSslCipherSuite(self, *args) Sets the OpenSSL cipher suite. | source code
GetOpenSslCipherSuite(self) Gets the OpenSSL cipher suite. | source code
SetCaCertificate(self, *args) Sets the SSL certificate authority of the server. | source code
GetCaCertificate(self) Gets the SSL certificate authority of the server. | source code
SetEnableSchannelCertificateValidation(self, *args) Sets the Schannel certificate validation setting. | source code
GetEnableSchannelCertificateValidation(self) Gets the Schannel certificate validation setting. | source code
SetSslImplementation(self, *args) | source code
GetSslImplementation(self) Gets the SSL implementation of the server. | source code
BindService(self, svc) | source code

Method Details

### SetThreadPool(self, *args) | source code
Sets the thread pool the server will use. Thread pools can also be assigned to individual transports.

### SetSupportedTransportProtocols(self, *args) | source code
Sets the list of supported protocols the server supports. Clients that connect without using one of the supported protocols are dropped. If the list of supported protocols is empty, all protocols are allowed. Note that supported protocols can also be specified on a server transport, in which case the server transport setting overrides the server setting.

### SetSessionTimeoutMs(self, *args) | source code
Sets the session timeout value, in milliseconds. Client connections that are idle for this amount of time will be dropped by the server.

### SetSessionHarvestingIntervalMs(self, *args) | source code
Sets the session harvesting interval, in milliseconds. This setting determines how often the server will scan for idle client connections.

### SetOpenSslCipherSuite(self, *args) | source code
Sets the OpenSSL cipher suite. Only applicable when OpenSSL is used as the SSL implementation.

### SetEnableSchannelCertificateValidation(self, *args) | source code
Sets the Schannel certificate validation setting. Only applicable when using Schannel as the SSL implementation. If this setting is non-empty, it will be used by Schannel to automatically validate peer certificates.