|
Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
|

Public Member Functions | |
| None | __init__ (self, int error=84, int success=0) |
| None | __del__ (self) |
| int | main (self) |
Data Fields | |
| argc | |
| global_variables | |
| server | |
Protected Member Functions | |
| int | _process_arguments (self) |
| None | _check_team_name (self) |
This is the main class of the program.
This class is responsible for calling the three main steps of the program.
These steps are:
* Initialisation:
* Check arguments
* Create listener on a new thread
* Create sender on a new thread
* Launch mainloop (skipped if error occurs before this step)
* When the program ends:
* If the reason was an error:
* Display the error
* Free any allocated ressource that was not freed
* Exit with the status contained in GlobalVariables
| None main.Main.__init__ | ( | self, | |
| int | error = 84, | ||
| int | success = 0 ) |
| None main.Main.__del__ | ( | self | ) |
|
protected |
|
protected |
| int main.Main.main | ( | self | ) |