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

# Class ServerTransport

source code

    _object --+
              |
             ServerTransport

Base class for all server transports.

Instance Methods
__init__(self, *args, **kwargs) | source code
GetTransportType(self) Returns the transport type of this server transport. | source code
SetMaxIncomingMessageLength(self, *args) Sets maximum incoming message length. | source code
GetMaxIncomingMessageLength(self) Returns maximum incoming message length. | source code
SetConnectionLimit(self, *args) Sets the maximum number of simultaneous connections to the server transport. | source code
GetConnectionLimit(self) Returns the maximum number of simultaneous connections to the server transport. | source code
SetInitialNumberOfConnections(self, *args) Sets the initial number of listening connections that are created when the server transport starts. | source code
GetInitialNumberOfConnections(self) Returns the initial number of listening connections that are created when the server transport starts. | source code
SetThreadPool(self, *args) Sets the thread pool that the server transport will use. | source code
SetSupportedProtocols(self, *args) Sets the list of supported protocols the server transport supports. | source code
GetSupportedProtocols(self) | source code

Method Details

### SetMaxIncomingMessageLength(self, *args) | source code
Sets maximum incoming message length. Incoming messages that are larger than this size will be dropped.

### SetSupportedProtocols(self, *args) | source code
Sets the list of supported protocols the server transport 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.