MXP 0.6 transport layer design work

1 view
Skip to first unread message

Tommi Laukkanen

unread,
Dec 20, 2009, 3:06:16 AM12/20/09
to Metaverse eXchange Protocol
Hi

Here are some initial thoughts about transport layer design. It
presents one approach on layered design:

http://code.google.com/p/setp/downloads/list

The layers are in accordance with the design chapter in the
specification:

http://www.bubblecloud.org/wiki/-/wiki/Main/MXP%20UDP%20Transport%20Draft%200.6#section-MXP+UDP+Transport+Draft+0.6-Design

Input and output chains are driven by two dedicated threads and the
thread apartments are marked with colors. Gray color stands for shared
apartment i.e. multi threaded code requiring thread locking.

-tommi

Tommi Laukkanen

unread,
Dec 20, 2009, 4:44:35 AM12/20/09
to Metaverse eXchange Protocol
The class design aims to realize the layer model and allow for testing
of each functional component with minimum dependencies. For example
output assembler can be test by constructing the output assembler,
output message context and output packet context. Then output message
context is prepared with test message, assembler is executed and test
result is verified from output packet context.

The connection context layer consists of multiple context classes of
which only connection context and acknowledgement context and shared
thread apartment (multi threaded) classes.

-tommi

Reply all
Reply to author
Forward
0 new messages