Cat Feeder  1.0.0
The Cat feeder project
Loading...
Searching...
No Matches
backend.src.server_main.Main Class Reference
Inheritance diagram for backend.src.server_main.Main:
Inheritance graph
Collaboration diagram for backend.src.server_main.Main:
Collaboration graph

Public Member Functions

None __init__ (self, int success=0, int error=84)
 
None process_args (self)
 
None main (self)
 

Data Fields

 argc = len(argv)
 
str host = "0.0.0.0"
 
int port = 5000
 
int success = success
 
int error = error
 
str app_name = "Asperguide"
 
bool debug = False or CONST.DEBUG
 
int host = 1
 

Detailed Description

_summary_
This class is a bootstrapper for launching the server in standalone mode.

Definition at line 35 of file server_main.py.

Constructor & Destructor Documentation

◆ __init__()

None backend.src.server_main.Main.__init__ ( self,
int success = 0,
int error = 84 )

Definition at line 40 of file server_main.py.

Member Function Documentation

◆ main()

None backend.src.server_main.Main.main ( self)
_summary_
This method is the entry point of the server.

Definition at line 119 of file server_main.py.

◆ process_args()

None backend.src.server_main.Main.process_args ( self)
_summary_
Check the arguments that are input (if any)

Definition at line 49 of file server_main.py.

Field Documentation

◆ app_name

str backend.src.server_main.Main.app_name = "Asperguide"

Definition at line 46 of file server_main.py.

◆ argc

backend.src.server_main.Main.argc = len(argv)

Definition at line 41 of file server_main.py.

◆ debug

bool backend.src.server_main.Main.debug = False or CONST.DEBUG

Definition at line 47 of file server_main.py.

◆ error

int backend.src.server_main.Main.error = error

Definition at line 45 of file server_main.py.

◆ host [1/2]

str backend.src.server_main.Main.host = "0.0.0.0"

Definition at line 42 of file server_main.py.

◆ host [2/2]

int backend.src.server_main.Main.host = 1

Definition at line 89 of file server_main.py.

◆ port

int backend.src.server_main.Main.port = 5000

Definition at line 43 of file server_main.py.

◆ success

int backend.src.server_main.Main.success = success

Definition at line 44 of file server_main.py.


The documentation for this class was generated from the following file: