User Tools

Site Tools


esher-guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
esher-guide [2018/08/18 13:28]
barryfp
esher-guide [2019/01/23 11:19]
barryfp
Line 1: Line 1:
-Dana's standard release package includes a simple meta-composer called //esher// which is designed to help demonstrate the mechanics of dynamic system composition and runtime adaptation in an interactive way. Note that an automated meta-composer like [[pal-guide|PAL]] is normally used in serious systems, but esher offers a "​manually-driven"​ insight into what a system like PAL does and can help understand how you might build your own automated meta-composer.+Dana's standard release package includes a simple meta-composer called //esher// which is designed to help interactively ​demonstrate the mechanics of dynamic system composition and runtime adaptation in an interactive way. Note that an automated meta-composer like [[pal-guide|PAL]] is normally used in serious systems, but esher offers a "​manually-driven"​ insight into what a system like PAL does and can help understand how you might build your own automated meta-composer.
  
 <div justify> <div justify>
Line 12: Line 12:
  
 <div justify> <div justify>
-First we'll explain the code we'll be using to create the above system. Create a new directory called "adaptation" and inside it create a directory called "​resources"​. Inside "​resources"​ create a further directory called "​data"​. Download the following two files into the ''​resources/​data/''​ directory.+First we'll explain the code we'll be using to create the above system. ​You can download the entire example project in a {{ :​esher_example.zip |single zip file here}}, or follow the below steps. 
 +</​div>​ 
 + 
 +<div justify>​ 
 +Create a new directory called "esher_example" and inside it create a directory called "​resources"​. Inside "​resources"​ create a further directory called "​data"​. Download the following two files into the ''​resources/​data/''​ directory.
 </​div>​ </​div>​
  
Line 33: Line 37:
  
 <div justify> <div justify>
-The rest of the source files will go directly into the ''​adaptation''​ directory that you created. Download each of the following files to that directory:+The rest of the source files will go directly into the ''​esher_example''​ directory that you created. Download each of the following files to that directory:
 </​div>​ </​div>​
  
Line 122: Line 126:
 <file text server.txt>​ <file text server.txt>​
 App=Server.o App=Server.o
-TCPServerSocket->​TCP +net.TCPServerSocket->​TCP 
-TCPSocket->​TCP +net.TCPSocket->​TCP 
-Source->​Source+data.Source->​Source
 </​file>​ </​file>​
  
 <file text client.txt>​ <file text client.txt>​
 App=Client.o App=Client.o
-Timer->​Timer +time.Timer->​Timer 
-TCPSocket->​TCP+net.TCPSocket->​TCP
 </​file>​ </​file>​
  
Line 152: Line 156:
  
 <div justify> <div justify>
-Next, open a command prompt in your ''​adaptation''​ directory and compile each of the above components as follows:+Next, open a command prompt in your ''​esher_example''​ directory and compile each of the above components as follows:
 </​div>​ </​div>​
  
Line 221: Line 225:
  
 <​code>​ <​code>​
-tra App Source 3+tra App data.Source 3
 </​code>​ </​code>​
  
Line 229: Line 233:
  
 <​code>​ <​code>​
-tra App Source 2+tra App data.Source 2
 </​code>​ </​code>​
  
esher-guide.txt · Last modified: 2019/01/23 11:19 by barryfp