|
def | Server.main () |
| Load Configuration and Start the Server. More...
|
|
def | Server.handle_connection (connection, client_address) |
| Handle a connection from a client. More...
|
|
def | Server.handle_request (connection, data) |
| Handle a request. More...
|
|
def | Server.broadcast_message (connection, message) |
| Broadcast a message to all the users connected except to the sender of the request. More...
|
|
def | Server.user_list_active (connection) |
| Send the list of enable user. More...
|
|
def | Server.user_list_away (connection) |
| Send the list of disable user. More...
|
|
def | Server.change_name (connection, pseudo) |
| Change the nickname of the user. More...
|
|
def | Server.new_name (connection, pseudo) |
| Affect the nickname of the user for the first time. More...
|
|
def | Server.ask_private_message (connection, pseudo) |
| Ask for a private discussion between the sender of the request and the pseudo. More...
|
|
def | Server.accept_private_message (connection, pseudo) |
| Accept a private discussion. More...
|
|
def | Server.reject_private_message (connection, pseudo) |
| Reject a private discussion. More...
|
|
def | Server.private_message (connection, pseudo, msg) |
| Send a private message if a private discussion had been accepted. More...
|
|
def | Server.ask_file (connection, pseudo, file) |
| Ask for a file transfer between the sender of the request and the pseudo. More...
|
|
def | Server.accept_file (connection, pseudo, file, port) |
| Accept a file transfer. More...
|
|
def | Server.reject_file (connection, pseudo, file) |
| Reject a file transfer. More...
|
|
def | Server.enable_user (connection) |
| Enable user. More...
|
|
def | Server.disable_user (connection) |
| Disable user. More...
|
|
def | Server.quit_user (connection) |
| Disconnect user. More...
|
|
def | Server.get_connection_by_pseudo (pseudo) |
| Get the socket descriptor by a pseudo. More...
|
|