Interaction Using Server

 

RPWI components are classified into two types

*      Transporters

*      Servers

 

With respect to servers, its executable programs developed to be used for the interaction process inside RPWI Environment.

 

Each Step (Inside Steps Tree of a Goal) has details:-

*      Data

*      Analysis

*      Information

*      Result

*      Info

 

Step (Data) are passed to default analysis application (or custom analysis application) as input, then the analysis application produce step (Analysis) as output

 

RPWI Servers take Step (Analysis) as input from analysis application and produce Analysis, Information & Result as output. (Goal Designer – Step Details)

 

Interaction Using Server

 

To set the analysis application, select (Default Analysis Application or custom engine) from RPWI popup

 

Default Analysis Application or Custom Engine

 

Setting Analysis Application

 

 

 

When we start (Interaction Using Server) process, step (data) is passed to the analysis application.

 

With respect to the Default Analysis Application (Embedded inside RPWI Environment), the output is four text files

 

A_1.TXT

Data Statistics

A_2.TXT

Each Line alone (Identical to step (data) )

A_3.TXT

Each Word alone (Word per line)

A_4.TXT

Each Letter alone (Letter per line)

 

These four text files can be used as Input by the RPWI Server.

 

The output of the RPWI Server is three text files

 

O_ANA.TXT

Step Details – Analysis

O_INF.TXT

Step Details – Information

O_CODE.TXT

Step Details – Result

 

 

Data passing to and from RPWI Server

 

 

Note: if you used custom analysis application, it will be invoked after default analysis application.

 

 

Now, it's the time to see practical (Interaction Using Server) process

 

Goal Designer – The First Step

 

Step Details - Data

 

Start Interaction Process

 

Domain (RPWI Servers) – Component (Server- Print Text)

 

Server Passport

 

Print Text Server

 

Steps Tree

 

Final Steps Tree

 

The Final Application

 

Select Step (Server – Print Text)

 

Step Details - Data

 

Step Details - Analysis

 

Step Details - Information

 

Step Details – Result

 

Now we can look at the communication results between (Goal Designer) & (RPWI Server)

 

Path:  C:\SSRPWI\DoubleS\RPWI1\Servers\ptext

 

 

Note: PTEXT.SPF is the (Server Passport File) which include details about (Server Name, Author & License)

 

This file generated using (RPWI Server Contract Writer)

RPWI Popup – (RPWI Server Contract Writer) Item

 

RPWI Server Contract Writer

 

Note: the name of the server passport file without file extension (*.SPF) is the same as the name of the RPWI Server executable file without file extension (*.exe)

Example: (PTEXT.SPF & PTEXT.EXE)

 

The Print Text Server is very simple application developed using Mahmoud

Final Steps Tree of (Print Text Server)