M.Sc Thesis

M.Sc StudentDvinsky Alexander
SubjectCameleon-A Group Communication Framework for Smartphones
DepartmentDepartment of Electrical and Computers Engineering
Supervisor PROF. Roy Friedman
Full Thesis textFull thesis text - English Version


Chameleon is a highly portable and adaptable group communication framework for smartphones. These features are obtained through a combination of:

• Support for standard XML-based header format, enabling automatic, error resistant generation of efficient serialization code in any platform.

• Reliance only on J2ME library, which serves as least common denominator for Java dialects.

• Having flexible membership models.

• Supporting multiple concurrent protocol stacks.

            Through a single code-base, Chameleon is currently available as an open source project for J2ME, J2SE, Android, .NET CF, and .NET.

            Chameleon is easily extendable and is bundled with tools, configurations and third party code tuned in a way that allows lifting some of the burden normally associated with multi-platform development for smartphones. The techniques employed by Chameleon both in sense of header generation from XML and automatic translation to .NET are readily available to an application based on it.

            Chameleon’s threading model separates between execution of internal layers’ and application’s code and by that protects one from the other. It simplifies layers’ development and allows protocol stack to easily block application calls when this is required by internal algorithms. Additionally, this model simplifies testing and an extensive testing framework is supplied along with Chameleon, which is usable for testing of application-specific layers.

            This dissertation describes Chameleon, details its internals, shows usage examples with runnable code snippets and reports its benchmarked performance.