Commit 730418fe authored by Taddeüs Kroes's avatar Taddeüs Kroes

Telematica ass1: Fixed typo's in report.

parent 10ebfad0
...@@ -45,15 +45,15 @@ event-oriented and provides various event callback functions: ...@@ -45,15 +45,15 @@ event-oriented and provides various event callback functions:
Because those function callbacks have self-documenting names, the callbacks are Because those function callbacks have self-documenting names, the callbacks are
not further discussed here (for more information about those callbacks, see the not further discussed here (for more information about those callbacks, see the
implementation in *async.py* and *asyncbase.py*). This event callback mechanism implementation in *async.py* and *asyncbase.py*). This event callback mechanism
allowed us to easily built an interactive user interface on top of the allowed us to easily build an interactive user interface on top of the
connection. Those various callback functions will handle the connection-specific connection. Those various callback functions will handle the connection-specific
logic and triggers a new UI event based on the event occurred. logic and triggers a new UI event based on the occurred event.
For example, if an authentication response is sent to the client (when the For example, if an authentication response is sent to the client (after the
client sent **USER foo\\r\\n** to the server), the function **handle_read()** is client has sent **USER foo\\r\\n** to the server), the function **handle_read()** is
called. This callback will parse the response and, if the authentication is done called. This callback will parse the response and, if the authentication is
successfully, trigger an *authenticated* UI event (which will be received by the successful, trigger an *authenticated* UI event (which will be received by the
text-based user interface). This event mechanism allows a developer to built text-based user interface). This event mechanism allows a developer to build
different user interfaces on top to a client connection, instead of developing different user interfaces on top to a client connection, instead of developing
the response handling over and over again. the response handling over and over again.
...@@ -82,8 +82,8 @@ Text-based interface (using curses) ...@@ -82,8 +82,8 @@ Text-based interface (using curses)
The designed text-based user interface consists of four major components: The designed text-based user interface consists of four major components:
1. **Main chat window.** This window displays all notifications sent from the 1. **Main chat window.** This window displays all notifications sent from the
server and will show all chat messages sent and received. This window is server and will show all chat messages that have been sent or received. This
shown at the top of the interface. window is shown at the top of the interface.
2. **Debug log window.** Information regarding the chat protocol, incoming and 2. **Debug log window.** Information regarding the chat protocol, incoming and
outgoing protocol messages and raised exceptions are displayed in this outgoing protocol messages and raised exceptions are displayed in this
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment