Server¶
-
class
server.Server(_server_param)¶ Bases:
objectThe Antoano - Server combines TCP, UDP, Websocket and REST connectivitiy to all Antano - Clients.It is ultra reliable and performant as it selects the best way for connection for each use-case. Further more it is easily scaleable and prepared to run in a cluster.
Keyword Arguments: - {Dict ServerParams} -- Contains a dict with all ServerParameter (_server_param) –
- {dict <string, string>} -- current loaded config (_config) –
- {db cursor} -- current hot db cursor (_cur) –
Methods Summary
get_version()get_version returns the current version of the server init_logging(_log_level)Inits all logging features to our server Methods Documentation
-
static
get_version()¶ get_version returns the current version of the server
Returns: [string] – [version string]
-
static
init_logging(_log_level)¶ Inits all logging features to our server
Parameters: {[int]} -- [a specific logging_level] (_log_level) –