Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
730418fe
Commit
730418fe
authored
Mar 11, 2011
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Telematica ass1: Fixed typo's in report.
parent
10ebfad0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
telematica/ass1/doc/implementation.rst
telematica/ass1/doc/implementation.rst
+9
-9
No files found.
telematica/ass1/doc/implementation.rst
View file @
730418fe
...
...
@@ -45,15 +45,15 @@ event-oriented and provides various event callback functions:
Because those function callbacks have self-documenting names, the callbacks are
not further discussed here (for more information about those callbacks, see the
implementation in *async.py* and *asyncbase.py*). This event callback mechanism
allowed us to easily buil
t
an interactive user interface on top of the
allowed us to easily buil
d
an interactive user interface on top of the
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
client 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
successful
ly
, trigger an *authenticated* UI event (which will be received by the
text-based user interface). This event mechanism allows a developer to buil
t
For example, if an authentication response is sent to the client (
after
the
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
successful, trigger an *authenticated* UI event (which will be received by the
text-based user interface). This event mechanism allows a developer to buil
d
different user interfaces on top to a client connection, instead of developing
the response handling over and over again.
...
...
@@ -82,8 +82,8 @@ Text-based interface (using curses)
The designed text-based user interface consists of four major components:
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
shown at the top of the interface.
server and will show all chat messages
that have been sent or received. Th
is
window is
shown at the top of the interface.
2. **Debug log window.** Information regarding the chat protocol, incoming and
outgoing protocol messages and raised exceptions are displayed in this
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment