Home |
MultiXTpm Simple SystemOpen Source/Free Software |
MultiXTpm Simple System is a prototype application built on top MultiXTpm Application Server. Its purpose is to demonstrate the use of MultiX Simplified API. MultiX API provides the developer with the ability to develop complex applications that use variety of resources and communicate with other applications in different ways and protocols. There are times where the entire MultiX API is too big and complex in order to implement simple Client/Server applications, and most of the features it provides are not required for the specific requirments, especially when there is a need to develop simple client/server applications that usually send messages sequentially in one direction and receive responses in the other direction. For these simple cases, MultiX Simplified API provides a simple set of functions that enables the development of Client/Server applications using as few as 3-4 function calls. This MultiX Simplified API frees the developer from the burden of learning the entire API before starting the implementation of his/her first applications. |
ArchitectureMultiXTpm Simple System runtime environment comprises of 3 processes at the minimum:
|
MultiX Echo ClientThis application is started from the command line with/without arguments.When it is started, it initiates a connection to MultiXTpm. After the connection is established, it scans its command line arguments and it sends them to the server, one argument at time. For each sent argument, it waits for a response from MultiXTpm. When the response is received, it is printed it to the screen. When all arguments have been sent, it terminates. Click here to view the source code for MultiX Echo Client |
MultiX Echo ServerThis application is automatically started by MultiXTpm.After it is started, it initiates a connection to MultiXTpm and once the connection is established, it enters an endless loop of waiting for incoming requests. When a new request arrives, it echoes back the request + some other information to the sender. If it does not receive any message in 10 minutes or the connection with MultiXTpm is dropped or disconnected for some reason, it terminates. Click here to view the source code for MultiX Echo Server |
MultiXTpmThis is the main process within this architecture. When it starts, it reads a preconfigured XML file where all configuration data is stored in. Among other things, it starts the first instances of the other processes. When the other processes are started, it provides them with some configuration data.MultiXTpm's main responsibilities are:
|
Following is a description of the Data Flow in MultiXTpm Simple System. Each request passes thru few phases starting from connection establishment and ending with the connection closing. Between these two phases the Client is said to be "in a session". Following is a brief description of the various phases. |
|
Simple Server ConfigurationMultiXTpm Simple Server configuration is done thru the xml file located in the runtime directory. Its default name is "TpmConfig.xml".A description of this file and how to configure it can be found here. I |
Building and Using MultiXTpm Simple System.Before using MultiXTpm Simple System you must do the followings:
|
Testing MultiXTpm Simple System
|
Download informationMultiXTpm Application Server is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.MultiXTpm Application Server is distributed in source code format and it supports: Windows OS, Linux, Solaris and HP Nonstop Server OSS. The source code is packed in ZIP file and can be downloaded from SourceForge.net. To Access the Download Page at SourceForge.net you may click Here or Navigate to http://sourceforge.net/projects/multixtpm |
Contact informationFor more information, Bug Reports, Feature Requests, and Support Requests, please use:SourceForge.net tracker or SourceForge.net Project Forums or MultiXTpm group at Yahoo Groups. or you may send an email to: Moshe Shitrit |
Home |