diff options
Diffstat (limited to 'CIAO/docs/tutorials')
68 files changed, 0 insertions, 6081 deletions
diff --git a/CIAO/docs/tutorials/CoSMIC/01.html b/CIAO/docs/tutorials/CoSMIC/01.html deleted file mode 100644 index 73db63f7236..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/01.html +++ /dev/null @@ -1,185 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - - - <meta name="generator" content="HTML Tidy for Mac OS X (vers 1st December 2004), see www.w3.org" /> -<!-- $Id$ --> - - - - <title>Getting Started</title> -</head> - - - -<body style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" link="#000fff" vlink="#ff0f0f"> - - -<h3>Getting Started<br /> -</h3> -<b>Writing IDL files</b><br /> - - <br /> - - We will start from writing the idl file for each component.<br /> - - - -<ol> - - <li>Create a directory named <code><span style="font-style: italic;">MyQuoter</span></code><span style="font-style: italic;">.</span></li> - - - <li>In <code style="font-style: italic;">MyQuoter</code> - directory, create one directory <span style="font-style: italic;">Stock_Base</span> for the base idl and - two more directories <span style="font-style: italic;">Broker</span>, <span style="font-style: italic;">Distributor</span> for each component. In - <code style="font-style: italic;">MyQuoter/Stock_Base</code>, - place an idl file <code style="font-style: italic;">Stock_Base.idl</code> that you could copy - from <a href="../Quoter/Simple/Stock_Base/Stock_Base.idl">here</a>. This - file defines the interfaces and events that will be used by - both Stock Distributor and Stock Broker.</li> - - - <li style="list-style-type: none; list-style-image: none; list-style-position: outside;">We put together the common - interface definitions so the base library can be shared by both - components, reducing the size of "real" components.<br /> - </li> - - - <li>In <code style="font-style: italic;">MyQuoter/Distributor</code>, place an idl - file <code style="font-style: italic;">Distributor.idl</code> - that looks like <a href="../Quoter/Simple/Distributor/Distributor.idl">this</a>. This - file defines the StockDistributor component - interfaces.<br /> - </li> - - - <li>In <code style="font-style: italic;">MyQuoter/Broker</code> - place an idl file <code><span style="font-style: italic;">Broker.id</span>l</code> that looks like - <a href="../Quoter/Simple/Broker/Broker.idl">this</a>. This - file defines the StockBroker component interface.<br /> - </li> - - -</ol> -<br /> - - <b>Importing IDL to PICML</b><br /> - - <br /> - - To quick start our Stock Quoter modeling process in - GME, CoSMIC introduces <em>idl_to_picml</em> , which is an - executable program that imports the IDL files you just created - into PICML.<br /> - - - -<ol> - - <li>Make sure <code>%COSMIC_ROOT%\bin</code> is included in the - PATH variable, e.g., c:\Program - Files\ISIS\CoSMIC\bin.<br /> - </li> - - - <li>Open a command prompt, run VCVARS32.BAT from the MSVC .NET - folder if you haven't done so. It will set the environment for - using Microsoft Visual Studio .NET tools so that <span style="font-style: italic;">idl_to_picml</span> works properly.<br /> - - in my machine, VCVARS32.bat is in C:\Program Files\Microsoft - Visual Studio .NET 2003\Vc7\bin<br /> - </li> - - - <li>In the same command prompt, change directory to - <code>MyQuoter\</code>, and type the following command:<br /> - - > <kbd>idl_to_picml -x MyQuoter -r . -I - .\Stock_Base</kbd><br /> - - (if the above command does not work, you may also - try this<br /> - - ><kbd>idl_to_picml -x MyQuoter -r . -I .\Stock_Base -I - %TAO_ROOT% -I %TAO_ROOT%\orbsvcs -I - %CIAO_ROOT%\ciao)</kbd><br /> - - <em>idl_to_picml</em> will parse your IDL files and - generated a <code>MyQuoter.xme</code> file in the - <code>MyQuoter</code> directory. Note that if -x option is not - used, the default xme file name will be - <code>PICML_default_xme_file.xme.</code><br /> - - 4. Start GME, select <strong>File->Import xml..</strong>, - and choose the xme file just generated. You should be able to - see an imported PICML model similar to the one shown in Figure - 2.<br /> - </li> - - -</ol> -<br /> - - - -<div style="text-align: center;"> - <img alt="" src="Images/fig2.jpg" style="width: 781px; height: 635px;" /><br /> - - <br /> - - Figure 2<br /> - - </div> - - - -<p> In the Browser of the generated model, the - <em>PredefinedTypes</em> folder contains a bunch of atomic - datatype elements that will be referenced by other modeling parts - later. You don't have to worry about them for now. The models in - <em>InterfaceDefinitions</em> folder are the PICML - representations ofthe IDL files you just imported. Double-click - to open <em>Broker</em>, it will show you a white, document-like - entity which represents a <<FileRef>> instance and a - yellow box-shaped entity representing a <<Package>> - instance. Their equivalent representations in IDL files are - "#include" and "module" respectively. Figure 3 gives you a clear - view of GME representation of all the 3 idl files created. We - will cover the other folders in the next section.</p> - - - -<div style="text-align: center;"> - <img alt="" src="Images/fig3.jpg" style="width: 223px; height: 336px;" /><br /> - - <br /> - - Figure 3<br /> - - <br /> - - </div> -Now we are ready to model the rest of the Stock Quoter - systems.<br /> - - <br /> - - <br /> - - <br /> - - -<hr /> - - -<address> - <a href="mailto:ming.xiong@vanderbilt.edu">Ming Xiong<br /> -</a> - </address> -<!-- Created: Sat Nov 27 15:25:06 CST 1999 --> - <!-- hhmts start --> - Last modified:<!-- hhmts end --> -</body> -</html> diff --git a/CIAO/docs/tutorials/CoSMIC/02.html b/CIAO/docs/tutorials/CoSMIC/02.html deleted file mode 100644 index 8f4e7decc11..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/02.html +++ /dev/null @@ -1,554 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - - <meta name="generator" content="HTML Tidy for Mac OS X (vers 1st December 2004), see www.w3.org" /> - <title>Building a Stock Quoter with TAO - A Tutorial</title> - - -<!-- $Id$ --> - <link rel="stylesheet" type="text/css" href="style.css" /> - -</head> - - - -<body style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" link="#000fff" vlink="#ff0f0f"> - -<h3>Building Stock Quoter system in PICML</h3> - -<br /> - -<p>This section describes modeling the Quoter application using -PICML. If you have trouble producing a functioning model from this -tutorial, please see the, <a href="Model/Quoter.xme">pre-built -Quoter model</a> which is provided for your reference. This model -contains all elements created as part of this tutorial.</p> - -<div class="important"> <strong>Note:</strong> -To import an XML file in GME, select <em>File->Import -XML..</em> from GME and choose your XML model<br /> - -</div> - -<p>The PICML paradigm is designed for the <a href="http://www.omg.org/cgi-bin/doc?ptc/2003-07-08">OMG -Deployment & Configuration (D&C) specification -(ptc/2003-07-08)</a>, so the modeling process is straightforward -if you are familiar with the specification. Please see the <a href="../../releasenotes/dance.html">DAnCE -project</a> for more information. For those who hate specification (including me, :-)), an <a href="http://www.cs.wustl.edu/%7Eschmidt/PDF/DAnCE.pdf">overview of D&C</a> and as well as a <a href="http://www.cs.wustl.edu/%7Eschmidt/OMG-CCM-Tutorial.ppt">tutorial of D&C and CCM</a> can help to reduce the learning curve. -(Thanks to Sowayan, Abdulah for pointing this out). -In addition, it is also helpful to read through Chapter 32 of TAO's -Developer's Guide 1.4a (CIAO and CCM) which thoroughly describes the -various descriptors required for a component (*.iad, *.ccd, *.cid, -etc). </p> -<h3>Table of Contents</h3> - -<ul> - - <li><a href="#1">ImplementationArtifacts</a></li> - - <li><a href="#2">ComponentImplementations</a></li> - - <li><a href="#3">ComponentPackages</a></li> - - <li><a href="#4">PackageConfiguration</a></li> - - <li><a href="#5">TopLevelPackage</a></li> - - <li><a href="#6">Targets</a></li> - - <li><a href="#7">DeploymentPlan</a></li> - -</ul> - -<hr /> -<p>The complete PICML Quoter model consists of modeling elements -distributed across various folders. If you used <em>idl_to_picml</em> -to generate the initial model, you will see that it has created all -these folders and some of the tedious boilerplate modeling for us. The -rest of the section will explain the purpose of each folder as well as -the modeling entities contained in these folders. We will also show how -to model some of the folders that have to be done by hand.</p> - -<div class="important"> <strong>Important:</strong> -The interpreters that generate deployment artifacts expect very strict -constraints in the model. When you finish your model, and any time you -wish to generate anything, it is a good idea to check constraints by -clicking on <em>File->Check->Check All</em> -in GME. This will help you find many logic errors in your model. </div> - -<h3><a name="1">ImplementationArtifacts</a></h3> - -<p>This folder contains implementation artifacts associated with -components. <em>idl_to_picml</em> has created these -artifacts for us, with their dependency relationships correctly -captured. Figure 4 shows the Implementation Artifacts for <em>Broker</em>.</p> - -<div style="text-align: center;"> <img alt="" src="Images/fig4.jpg" style="border: 1px solid ; width: 891px; height: 552px;" /><a name="1"><br /> - -Figure 4.<br /> - -</a><br /> - -</div> - -<a name="1"></a> -<hr /> -<h3><a name="2">ComponentImplementation</a></h3> - -<p>This folder contains models that describe the implementations -of component interfaces. In the Quoter example, we will have two -monolithic component implementations - named <em>StockDistributorImplementation</em> -and <em>StockBrokerImplementation</em> - and an assembly -component implementation named <em>StockQuoter</em>, which -is an assembly of <em>StockDistributorImplementation</em> -and <em>StockBrokerImplementaion</em>. <em>idl_to_picml</em> -has created the monolithic component implementations for us, as shown -in figure 5 for example, but we have to specify the connections between -them in order to construct a Quoter system.</p> - -<div style="text-align: center;"> <img alt="" src="Images/fig5.jpg" style="border: 1px solid ; width: 922px; height: 639px;" /><br /> - -Figure 5<br /> - -</div> - -<p>Assembly components provide a boundary for the composition of -monolithic components and even other assemblies. Assembly components do -not provide actual implementations for their interface, it is a virtual -component that delegates its ports and attributes to one or more of the -entities it contains. There are slight differences between modeling an -assembly and modeling a monolithic component. Since the assembly is a -virtual component, it is not necessary to model a <code>MonolithicImplementation</code>. -Instead, <em>instances</em> of other components are placed -within the assembly and connected. Let's try to assemble the <em>StockQuoter</em>.</p> - -<ol> - - <li>Right click the <em>ComponentImplementations</em> -folder, choose <strong>Insert -Model->ComponentImplementationContainer</strong>, rename -it as "StockQuoterImplementation" in the Attribute Panel. Double click -to open it.</li> - - <li>From the Part Browser, drag a -<<ComponentAssembly>> to the modeling -window, name it "StockQuoter". Double click to open it.</li> - - <li>Now we will create two instances for interfaces <em>StockBroker</em> -and <em>StockDistributor</em>. To do that, expand the -folder <code><em>InterfaceDefinitions</em></code>, -then expand the <code><em>InterfaceDefinitions/</em></code> - <em>Broker</em>, then <code><em>InterfaceDefinitions/</em></code> - <em>Broker/ Stock</em> until the interface definition -of <em>StockBroker</em> shows. While expanding the tree, -always keep the "StockQuoter" -<<ComponentAssembly>> window open. Then -drag <code>MyQuoter/InterfaceDefinitions/Broker/Stock/StockBroker</code> -in the browser to the "StockQuoter" -<<ComponentAssembly>> window while pressing -ALT key. Repeat the same steps for <code>MyQuoter/InterfaceDefinitions/Distributor/Stock/StockDistributor</code>, -and you will see two instances of component interfaces have been -created as shown in Figure 6 (the black line in the figure only -indicates .mapping)<br /> - - </li> - -</ol> - -<br /> - -<div style="text-align: center;"> <img alt="" src="Images/fig6.jpg" style="width: 972px; height: 714px;" /><br /> - -<br /> - -Figure 6<br /> - -</div> - -<ol> - - <li value="4">Create an -<<PublishConnector>>.<br /> - - </li> - - <li>Now assemble the components together according to <a href="Images/fig1.jpg">Figure 1</a>(make sure you -change to connect mode <img alt="" src="Icons/AddConnMode.gif" style="width: 20px; height: 17px;" /> -) and the resulting assembly model should look like Figure 7. Note that -to create connections between StockDistributor.notify_out and -StockBroker.notify_in, you will need the intermediate connector -<<PublishConnector>>.<br /> - - </li> - -</ol> - -<img alt="" src="Images/fig7.jpg" style="width: 724px; height: 402px;" /><br /> - -<br /> - -Figure 7<br /> - -<hr /> <a name="3"></a> -<h3>ComponentPackage<br /> - -</h3> - -This folder contains deployable component packages. Every instance in -an assembly should have a corresponding monolithic implementation and -packaged in a ComponentPackagebe To create a package for <em>StockBroker</em>.instance<br /> - -<ol> - - <li>Right click folder <em>ComponentPackage</em>s -, insert a <<PackageContainer>>, name it -"Broker"; Double click to open it.<br /> - - </li> - - <li>From the PartBrowser, add the following:<br /> - - <ul> - - <li>a <<ComponentPackage>> -named "Broker";</li> - - <li>a -<<ComponentImplementationReference>> named -"Broker";</li> - - <li>a <<ComponentRef>> named -"Broker";</li> - - </ul> - - </li> - - <li>Refer the -<<ComponentImplementationReference>> <em>Broker</em> -to <code>MyQuoter/ComponentImplementations/StockBroker</code>Implementation/StockBrokerMonolithicImpl. -Refer the <<ComponentRef>> <em>Broker</em> -to <code>MyQuoter/InterfaceDefinitions/Broker/Stock/StockBroker</code>. -To create a reference in GME, simply drag the tree node in the Browser -"into" the reference model. For example, you should drag the tree node <code>MyQuoter/ComponentImplementations/StockBroker</code>Implementation/StockBrokerMonolithicImpl -into <<ComponentImplementationReference>> <em>Broker.</em> -Check GME manual(tutorials) for more information.</li> - - <li>Switch to Connect Mode and create two connections according -to the following relationship.<br /> - - <ul> - - <li><<ComponentImplementationReference>> - <em>Broker</em> implements -<<ComponentPackage>> <em>Broker</em>;</li> - - <li><<ComponentPackage>> <em>Broker</em> -realizes <<ComponentRef>> <em>Broker</em>.</li> - - </ul> - - <br /> - - <br /> - - The model you built should -resemble Figure 8.<br /> - - <br /> - - <div style="text-align: center;"> <img alt="" src="Images/fig8.jpg" style="width: 675px; height: 497px;" /><br /> - - <br /> - -Figure 8<br /> - - <br /> - - </div> - -Now create a ComponentPackage/StockDistributor following the same -steps. </li> - - <li style="list-style-type: none; list-style-image: none; list-style-position: outside;"> - <br /> - -We will also need to create a package for the assembly component -StockQuoter. Remember assembly component is a virtual component, it -does not "realize" a certain interface, so different from the Broker -and Distributor packages, the StockQuoter does not need a -<<ComponentRef>>. To create this model: - <ol> - - <li>Insert a -<<ComponentPackage>> named "StockQuoter"<br /> - - </li> - - <li>Add a -<<ComponentImplementationReference>> named -"StockQuoter", refer it to MyQuoter<code>/ComponentImplementations/StockQuoter/StockQuoter</code></li> - - <li>Switch to connect mode and connect -<<ComponentImplementationReference>> -StockQuoter with <<ComponentPackage>> -StockQuoter, as in Figure 9.<br /> - - </li> - - </ol> - - </li> - -</ol> - -<div style="text-align: center;"> <img alt="" src="Images/fig9.jpg" style="width: 549px; height: 354px;" /><br /> - -<br /> - -Figure 9<br /> - -<br /> - -</div> - -<hr /> <a name="4"></a> -<h3>PackageConfiguration<br /> - -</h3> - -This folder contains just one model capturing specific configuration of -Component packages.<br /> - -<ol> - - <li>In the folder <em>PackageConfiguratio</em>n, -and create a -<<PackageConfigurationContainer>>, name it -"Default", click to open it.<br /> - - </li> - - <li>Add a <<PackageConfiguration>> -named "default" and a -<<ComponentPackageReference>>, name it -"StockQuoter", connect "Default" to "StockQuoter"<br /> - - </li> - - <li>Refer -<<ComponentPackageReference>> StockQuoter -to <<ComponentPackage>> <code>MyQuoter/ComponentPackage/StockQuoter/StockQuoter<br /> - -(Not <<ComponentImplementationReference>></code> - <code>MyQuoter/ComponentPackage/StockQuoter/StockQuoter!) </code></li> - -</ol> - -<br /> - -<hr /> <a name="5"></a> -<h3>ToplevelPackage<br /> - -</h3> - -This folder contains one model capturing information about the -top-level element that will be fed to the application.<br /> - -<ol> - - <li>In the folder <em>ToplevelPackage</em>, and -create a <<ToplevelPackageContainer>>, name -it "Default", double click to open it.<br /> - - </li> - - <li>Add a <<ToplevelPackage>> named -"ToplevelPackage" and a -<<PackageConfigurationReference>>, name it -"Default", connect "ToplevelPackage" to "Default"<br /> - - </li> - - <li>Refer "Default" to My<code>Quoter/PackageConfiguration/Default/Default</code><br /> - - </li> - -</ol> - -<br /> - -<hr /> <a name="6"></a> -<h3>Targets<br /> - -</h3> - -This folder contains domain-specific models capturing information about -the target environment in which component-based application will be -deployed. In this Quoter example, we can either deploy the two -components into ONE host, or into TWO different host. We will deploy -the Quoter into two different host.<br /> - -<ol> - - <li>In the folder <span style="font-style: italic;">Targets</span>, -insert a new <<Domain>> named "Domain"; -double click to open it.<br /> - - </li> - - <li>From the Part Browser, add two -<<Node>> named "Broker" and "Distributor" -respectively.<br /> - - </li> - -</ol> - -<br /> - -Now we are ready to deploy our Components to the actual physical -environment.<br /> - -<hr /> <a name="7"></a> -<h3>DeploymentPlan<br /> - -</h3> - -This folder contains a plan model that captures information about the -assignment of component to nodes.<br /> - -<ol> - - <li>In the folder <em>DeploymentPlan</em>, insert -a model <<DeploymentPlan>>; name it "Plan", -click to open it<br /> - - </li> - - <li>From the PartBrowser, add the following:<br /> - - <ul> - - <li>Two <<CollocationGroup>></li> - - <li>Two <<NodeReference>> named -"Node_Broker" and "Node_Distributor" respectively, refering to <code>MyQuoter/Targets/Domain/Broker</code> -and <code>MyQuoter/Targets/Domain/Distributor</code> -respectively</li> - - <li>Two <<ComponentRef>> named -"StockBroker" and "StockDistributor" respectively, refering to <code>MyQuoter/ComponentImplementations/StockQuoterImplementation/StockQuoter/StockBroker</code> -and <code>MyQuoter/ComponentImplementations/StockQuoterImplementation/StockQuoter/StockDistributor</code> -respectively. Note that the -<<ComponentRef>> in DeploymentPlan is not -referring to the interface, but rather the actual instance of the -implementation.</li> - - </ul> - - </li> - - <li>Switch to Connect Mode, connect one -<<CollocationGroup>> to -<<NodeReference>> <em>Node_Broker</em>, -connect another <<CollocationGroup>> to -<<NodeReference>> <em>Node_</em><em>Distributor</em>. -Now the model looks like the following.<br /> - - <br /> - - <div style="text-align: center;"> <img alt="" src="Images/fig10.jpg" style="width: 752px; height: 530px;" /><br /> - - <br /> - -Figure 10.<br /> - - <br /> - - </div> - - </li> - - <li>Now we need to associate -<<ComponentRef>> StockBroker to the -<<CollocationGroup>> running on the -<<NodeReference>> Broker, and -<<ComponentRef>> StockDistributor to the -<<CollocationGroup>> running on the -<<NodeReference>> Distributor. To do that, -switch the Edit Mode Bar to Set Mode (<img alt="" src="Icons/SetMode.gif" style="width: 20px; height: 17px;" />), -and move the cursor to the -<<CollocationGroup>> running on -<<NodeReference>> Distributor, right-click -on it. You will find the cursor is changed to set mode cursor, and only -the <<CollocationGroup>> you clicked in is -highlighted, as shown in Figure 11.<br /> - - <br /> - - </li> - -</ol> - -<div style="text-align: center;"> <img alt="" src="Images/fig11.jpg" style="width: 672px; height: 505px;" /><br /> - -<br /> - -Figure 11<br /> - -<br /> - -</div> - -<p>Now move your cursor to -<<ComponentRef>> -StockDistributor, and left-click it, so that it looks like Figure 12.<br /> - -</p> - -<div style="text-align: center;"> <img alt="" src="Images/fig12.jpg" style="width: 672px; height: 505px;" /><br /> - -<br /> - -Figure 12<br /> - -<br /> - -</div> - -<p>This operation associates <em>StockDistributor</em> -component to the <<CollocationGroup>> -running on <em>Distributor</em> node. To do the same with -Broker, just right-click on another -<<CollocationGroup>>, and left-click on -StockBroker <<CollocationGroup>> which is -highlighted.<br /> - -<br /> - -</p> - -<hr /> <a name="8"></a> -<p>Up to this point, we are basically done with the modeling -part. Before we generate anything from this model though, please <span style="font-weight: bold;">DO</span> remember to check -the constraints of the model as we mentioned earlier.</p> - -<p>After we are done with the modeling, the -flattened_deploymentplan interpreter that comes along with PICML will -help us to generate a flattened_deploymentplan.cdp file. Please make -sure you generate this file to MyQuoter/descriptors. Note that to get the example working<span style="font-family: monospace;">,</span>a Node Map file should be created to map logical<span style="font-family: monospace;"> </span>nodes to NodeManager object references,e.g:<br /> -</p> -<pre wrap="">DistributorNode corbaloc:iiop:localhost:30000/NodeManager<br />BrokerNode corbaloc:iiop:localhost:40000/NodeManager</pre> - -<address> <br /> - -<a href="mailto:ming.xiong@vanderbilt.edu">Ming Xiong<br /> - -</a> </address> - -<!-- Created: Sat Nov 27 15:25:06 CST 1999 --><!-- hhmts start --> -Last modified:<!-- hhmts end --> -</body> -</html> diff --git a/CIAO/docs/tutorials/CoSMIC/03.html b/CIAO/docs/tutorials/CoSMIC/03.html deleted file mode 100644 index c2da3726762..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/03.html +++ /dev/null @@ -1,79 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - - <title>Building a Stock Quoter with TAO - A Tutorial</title> - <!-- $Id$ --> -</head> - -<body style= -"color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" link= -"#000FFF" vlink="#FF0F0F"> - <h3>Implementing Quoter Components with DAnCE<br /></h3>We - discuss this section after the PICML modeling only because we - would like to focus our attention more on the modeling stage. It - does not indicate that the implementation of components has to be - subsequent to the work we've done under GME. They are totally - orthogonal to each other. In fact, they are so orthogonal - that we won't go into details as to how DAnCE programming should - be done. We'll briefly go through the functionality of each - component and provides the links to their implementations - respectively. For a hands on experience on DAnCE programming, - please refer to $CIAO_ROOT/examples/Hello.<br /> - <br /> - <big><big><small>Broker Component<br /> - </small></big></big> The Broker component - waits to be notified by the Distributor component about stock - changes. When a stock change event arrives, it will go back - to Distributor component and retrieve the information it interest - in and output them to the console. The users are allowed to - subscribe to the interested stock value through the interface - supported by Broker component. Here's the complete version of - <a href="../Quoter/Simple/Broker/Broker_exec.h">Broker_exec.h</a> - and <a href= - "../Quoter/Simple/Broker/Broker_exec.cpp">Broker_exec.cpp</a>.<br /> - - <br /> - <big><big><small>Distributor Component<br /> - </small></big></big> The Distributor component - monitors the real time stock database and publishes events - whenever it detects stock change. In our program, we use a - ACE_Task to simulate this real-life activity. The task - will run in a separate thread and periodically increment the - stock value by 1. In the same time the stock value is - incremented, an <span style= - "font-style: italic;">StockName</span> event along with the name - of the changed stock will be sent. Here's the complete version of - <a href= - "../Quoter/Simple/Distributor/Distributor_exec.h">Distributor_exec.h</a> - and <a href= - "../Quoter/Simple/Distributor/Distributor_exec.cpp">Distributor_exec.cpp</a><br /> - - <big><big><small><br /> - Broker client<br /> - </small></big></big> The Broker client program - is the driver program for client to control Broker component, - subscribe and unsubscribe to a specific stock. Here's the - complete version of <a href= - "../Quoter/Simple/Broker/Broker.cpp">Broker.cpp</a><br /> - <br /><big><big><small> - Distributor client</small></big></big><br /> - The Distributor - client program is the driver program for client to control - Distributor component, turn on and off the distribution service, - set up the frequency, etc. Here's the complete version of - <a href="../Quoter/Simple/Distributor/Distributor.cpp">Distributor.cpp</a> - <a name="2" /><br /> - <br /><br /> - - - <address> - <a href="mailto:ming.xiong@vanderbilt.edu">Ming Xiong<br /></a> - </address><!-- Created: Sat Nov 27 15:25:06 CST 1999 --> - <!-- hhmts start --> - <a href="mailto:ming.xiong@vanderbilt.edu">Last modified: - <!-- hhmts end --></a> -</body> -</html> diff --git a/CIAO/docs/tutorials/CoSMIC/04.html b/CIAO/docs/tutorials/CoSMIC/04.html deleted file mode 100644 index dce2fb1364c..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/04.html +++ /dev/null @@ -1,77 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <meta name="generator" content= - "HTML Tidy for Mac OS X (vers 1st December 2004), see www.w3.org" /> - - <title>Building a Stock Quoter with TAO - A Tutorial</title> - <!-- $Id$ --> -</head> - -<body style= -"color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" link= -"#000FFF" vlink="#FF0F0F"> - <h3>Running the application<br /></h3>Now that we have all the - components and driver programs successfully built, along with the - flattened_deploymentplan generated by PICML, we will be able to - run our application<br /> - <br /> - From different command prompts in - <code>%CIAO_ROOT%/docs/tutorials/Quoter/Simple/descriptors/</code> - directory: - - <ul> - <li>Start NodeManagers (NodeDameon) by running - <code>runNodeDaemon.pl</code></li> - - <li>Start the execution manager - <code>%CIAO_ROOT%/DAnCE/ExecutionManager/Execution_Manager -o - ior -i Stock.dat</code> </li> - </ul> - - <p>The <code>Stock.dat</code> file describes the deployment - daemons CIAO's Execution_Manager will contact to instantiate - ComponentServer's, home's, and component instances. Each line - specify the name of a installation "destination" and the - corresponding IOR for the CIAO_Daemon.</p> - - <ul type="square"> - <li><em>NOTE</em>: As one can see, we use the "Stock.dat" file - to instruct the Execution_Manager how to find the endpoint of - each individual NodeManager (i.e., Node Daemon) where - component(s) will be deployed, so this is non-standard. We plan - to use Naming Service to do this in the future.</li> - </ul> - - <ul> - <li>Start the plan_launcher by running - <code>%CIAO_ROOT%/DAnCE/Plan_Launcher/Plan_Launcher -p - flattened_deploymentplan.cdp -k file://ior</code></li> - - <li>By now the components should be successfully deployed. You - may run the driver program to start the application. e.g. you - can try the following<br /></li> - </ul> - <code>%CIAO_ROOT%/docs/tutorials/Quoter/Simple/Distributor/Distributor.exe - -o</code><br /> - <br /> - - <code>%CIAO_ROOT%/docs/tutorials/Quoter/Simple/Broker/Broker.exe - -s MSFT</code><br /> - <br /> - - <code>%CIAO_ROOT%/docs/tutorials/Quoter/Simple/Broker/Broker.exe - -s IBM</code><br /> - <br /> - - <code>%CIAO_ROOT%/docs/tutorials/Quoter/Simple/Broker/Broker.exe - -u MSFT</code><br /> - <br /> - - <code>%CIAO_ROOT%/docs/tutorials/Quoter/Simple/Distributor/Distributor.exe - -f</code><br /> - <br /> -</body> -</html> diff --git a/CIAO/docs/tutorials/CoSMIC/Icons/AddConnMode.gif b/CIAO/docs/tutorials/CoSMIC/Icons/AddConnMode.gif Binary files differdeleted file mode 100644 index 3604d32946d..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Icons/AddConnMode.gif +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Icons/SetMode.gif b/CIAO/docs/tutorials/CoSMIC/Icons/SetMode.gif Binary files differdeleted file mode 100644 index 6dcad861f07..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Icons/SetMode.gif +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig1.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig1.jpg Binary files differdeleted file mode 100644 index a8550fe1176..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig1.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig10.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig10.jpg Binary files differdeleted file mode 100644 index 3db5ac174e0..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig10.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig11.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig11.jpg Binary files differdeleted file mode 100644 index c5eaf705384..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig11.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig12.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig12.jpg Binary files differdeleted file mode 100644 index ea2a885af6b..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig12.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig2.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig2.jpg Binary files differdeleted file mode 100644 index 49d6f90c3b0..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig2.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig3.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig3.jpg Binary files differdeleted file mode 100644 index 0559dc7382b..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig3.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig4.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig4.jpg Binary files differdeleted file mode 100644 index 8fb89eccb57..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig4.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig5.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig5.jpg Binary files differdeleted file mode 100644 index e847b9290d6..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig5.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig6.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig6.jpg Binary files differdeleted file mode 100644 index 0a214c84ea8..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig6.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig7.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig7.jpg Binary files differdeleted file mode 100644 index 67d90b775b0..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig7.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig8.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig8.jpg Binary files differdeleted file mode 100644 index a565c2ab989..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig8.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Images/fig9.jpg b/CIAO/docs/tutorials/CoSMIC/Images/fig9.jpg Binary files differdeleted file mode 100644 index 996d90d800b..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Images/fig9.jpg +++ /dev/null diff --git a/CIAO/docs/tutorials/CoSMIC/Model/Quoter.xme b/CIAO/docs/tutorials/CoSMIC/Model/Quoter.xme deleted file mode 100644 index 10f968f69ca..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/Model/Quoter.xme +++ /dev/null @@ -1,2003 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE project SYSTEM "mga.dtd"> - -<project guid="{693BB5A4-CC13-45F0-8470-8F189DE22CF8}" cdate="Thu Feb 02 21:46:10 2006" mdate="Thu Feb 02 21:46:10 2006" version="" metaguid="{3F14D74F-DE80-4071-8F14-550B6023233F}" metaversion="" metaname="PICML"> - <name>MyQuoter</name> - <comment></comment> - <author></author> - <folder id="id-006a-00000001" relid="0x1" childrelidcntr="0x2" kind="RootFolder"> - <name>MyQuoter</name> - <folder id="id-006a-00000002" relid="0x2" childrelidcntr="0x3" kind="InterfaceDefinitions"> - <name>InterfaceDefinitions</name> - <model id="id-0065-00000001" kind="File" relid="0x1" childrelidcntr="0x1"> - <name>Stock_Base</name> - <attribute kind="PrefixTag" status="meta"> - <value></value> - </attribute> - <model id="id-0065-00000002" kind="Package" role="Package" relid="0x1" childrelidcntr="0x5"> - <name>Stock</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>293,153</value> - </regnode> - </regnode> - </regnode> - <attribute kind="PrefixTag" status="meta"> - <value></value> - </attribute> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <model id="id-0065-00000003" kind="Exception" role="Exception" relid="0x1" childrelidcntr="0x0"> - <name>Invalid_Stock</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>151,84</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - </model> - <model id="id-0065-00000004" kind="Aggregate" role="Aggregate" relid="0x3" childrelidcntr="0x4"> - <name>StockInfo</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>517,316</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <reference id="id-0067-00000018" kind="Member" role="Member" relid="0x1" referred="id-0066-00000003"> - <name>name</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>188,108</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000019" kind="Member" role="Member" relid="0x2" referred="id-0066-00000007"> - <name>high</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>408,248</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-0000001a" kind="Member" role="Member" relid="0x3" referred="id-0066-00000007"> - <name>low</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>628,388</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-0000001b" kind="Member" role="Member" relid="0x4" referred="id-0066-00000007"> - <name>last</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>848,528</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <model id="id-0065-00000005" kind="Object" role="Object" relid="0x4" childrelidcntr="0x1"> - <name>StockQuoter</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>700,432</value> - </regnode> - </regnode> - </regnode> - <attribute kind="PrefixTag" status="meta"> - <value></value> - </attribute> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="abstract" status="meta"> - <value>false</value> - </attribute> - <attribute kind="local" status="meta"> - <value>false</value> - </attribute> - <model id="id-0065-00000006" kind="TwowayOperation" role="TwowayOperation" relid="0x1" childrelidcntr="0x3"> - <name>get_stock_info</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>518,318</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <reference id="id-0067-00000001" kind="ReturnType" role="ReturnType" relid="0x1" referred="id-0065-00000004"> - <name>ReturnType</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>243,143</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000002" kind="ExceptionRef" role="ExceptionRef" relid="0x4" referred="id-0065-00000003"> - <name>ExceptionRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>1068,668</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-0000001c" kind="InParameter" role="InParameter" relid="0x3" referred="id-0066-00000003"> - <name>stock_name</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>793,493</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - </model> - <model id="id-0065-00000007" kind="Event" role="Event" relid="0x5" childrelidcntr="0x1"> - <name>StockName</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>883,548</value> - </regnode> - </regnode> - </regnode> - <attribute kind="PrefixTag" status="meta"> - <value></value> - </attribute> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="abstract" status="meta"> - <value>false</value> - </attribute> - <reference id="id-0067-0000001d" kind="Member" role="Member" relid="0x1" referred="id-0066-00000003"> - <name>name</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>518,318</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <reference id="id-0067-00000017" kind="Collection" role="Collection" relid="0x2" referred="id-0066-0000000b"> - <name>ImageBlob</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>334,200</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - </reference> - </model> - </model> - <model id="id-0065-00000008" kind="File" relid="0x2" childrelidcntr="0x2"> - <name>Broker</name> - <attribute kind="PrefixTag" status="meta"> - <value></value> - </attribute> - <model id="id-0065-00000009" kind="Package" role="Package" relid="0x2" childrelidcntr="0x4"> - <name>Stock</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>314,216</value> - </regnode> - </regnode> - </regnode> - <attribute kind="PrefixTag" status="meta"> - <value></value> - </attribute> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <model id="id-0065-0000000a" kind="Object" role="Object" relid="0x1" childrelidcntr="0x2"> - <name>StockSubscriber</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>243,143</value> - </regnode> - </regnode> - </regnode> - <attribute kind="PrefixTag" status="meta"> - <value></value> - </attribute> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="abstract" status="meta"> - <value>false</value> - </attribute> - <attribute kind="local" status="meta"> - <value>false</value> - </attribute> - <model id="id-0065-0000000b" kind="TwowayOperation" role="TwowayOperation" relid="0x1" childrelidcntr="0x2"> - <name>stock_subscribe</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>334,201</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <reference id="id-0067-00000004" kind="ExceptionRef" role="ExceptionRef" relid="0x2" referred="id-0065-00000003"> - <name>ExceptionRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>700,434</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-0000001e" kind="InParameter" role="InParameter" relid="0x1" referred="id-0066-00000003"> - <name>stock_name</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>334,201</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <model id="id-0065-0000000c" kind="TwowayOperation" role="TwowayOperation" relid="0x2" childrelidcntr="0x2"> - <name>stock_unsubscribe</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>700,434</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <reference id="id-0067-00000005" kind="ExceptionRef" role="ExceptionRef" relid="0x2" referred="id-0065-00000003"> - <name>ExceptionRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>700,434</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-0000001f" kind="InParameter" role="InParameter" relid="0x1" referred="id-0066-00000003"> - <name>stock_name</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>334,201</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - </model> - <model id="id-0065-0000000d" kind="Component" role="Component" relid="0x2" childrelidcntr="0x3"> - <name>StockBroker</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>426,242</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="UUID"> - <value>58E736A4-F9F5-44CF-AA0F-83A280F907A6</value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - <reference id="id-0067-00000006" kind="Supports" role="Supports" relid="0x1" referred="id-0065-0000000a"> - <name>Supports</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>55,160</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000007" kind="RequiredRequestPort" role="RequiredRequestPort" relid="0x2" referred="id-0065-00000005"> - <name>read_quoter</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>69,307</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="exclusiveProvider" status="meta"> - <value>false</value> - </attribute> - <attribute kind="exclusiveUser" status="meta"> - <value>false</value> - </attribute> - <attribute kind="multiple_connections"> - <value>false</value> - </attribute> - <attribute kind="optional" status="meta"> - <value>false</value> - </attribute> - </reference> - <reference id="id-0067-00000008" kind="InEventPort" role="InEventPort" relid="0x3" referred="id-0065-00000007"> - <name>notify_in</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>83,433</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="exclusiveProvider" status="meta"> - <value>false</value> - </attribute> - <attribute kind="exclusiveUser" status="meta"> - <value>false</value> - </attribute> - <attribute kind="optional" status="meta"> - <value>false</value> - </attribute> - </reference> - </model> - <model id="id-0065-0000000e" kind="ComponentFactory" role="ComponentFactory" relid="0x3" childrelidcntr="0x0"> - <name>StockBrokerHome</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>793,493</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - </model> - <connection id="id-0068-00000001" kind="ManagesComponent" role="ManagesComponent" relid="0x4"> - <name>ManagesComponent</name> - <regnode name="autorouterPref" isopaque="yes"> - <value>Ws</value> - </regnode> - <connpoint role="dst" target="id-0065-0000000d"/> - <connpoint role="src" target="id-0065-0000000e"/> - </connection> - </model> - <reference id="id-0067-00000003" kind="FileRef" role="FileRef" relid="0x1" referred="id-0065-00000001"> - <name>FileRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>174,181</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <model id="id-0065-0000000f" kind="File" relid="0x3" childrelidcntr="0x2"> - <name>Distributor</name> - <attribute kind="PrefixTag" status="meta"> - <value></value> - </attribute> - <model id="id-0065-00000010" kind="Package" role="Package" relid="0x2" childrelidcntr="0x4"> - <name>Stock</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>700,434</value> - </regnode> - </regnode> - </regnode> - <attribute kind="PrefixTag" status="meta"> - <value></value> - </attribute> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <model id="id-0065-00000011" kind="Object" role="Object" relid="0x1" childrelidcntr="0x2"> - <name>Trigger</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>243,143</value> - </regnode> - </regnode> - </regnode> - <attribute kind="PrefixTag" status="meta"> - <value></value> - </attribute> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="abstract" status="meta"> - <value>false</value> - </attribute> - <attribute kind="local" status="meta"> - <value>false</value> - </attribute> - <model id="id-0065-00000012" kind="TwowayOperation" role="TwowayOperation" relid="0x1" childrelidcntr="0x0"> - <name>start</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>334,201</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - </model> - <model id="id-0065-00000013" kind="TwowayOperation" role="TwowayOperation" relid="0x2" childrelidcntr="0x0"> - <name>stop</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>700,434</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - </model> - </model> - <model id="id-0065-00000014" kind="Component" role="Component" relid="0x2" childrelidcntr="0x4"> - <name>StockDistributor</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>518,318</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="UUID"> - <value>B124B4A8-F51C-4F63-9A08-35256C9A9259</value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - <model id="id-0065-00000015" kind="Attribute" role="Attribute" relid="0x4" childrelidcntr="0x1"> - <name>rate</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>848,528</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <reference id="id-0067-00000020" kind="AttributeMember" role="AttributeMember" relid="0x1" referred="id-0066-00000007"> - <name>AttributeMember</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>518,318</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <reference id="id-0067-0000000a" kind="Supports" role="Supports" relid="0x1" referred="id-0065-00000011"> - <name>Supports</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>188,108</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-0000000b" kind="ProvidedRequestPort" role="ProvidedRequestPort" relid="0x2" referred="id-0065-00000005"> - <name>push_quoter</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>608,216</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="exclusiveProvider" status="meta"> - <value>false</value> - </attribute> - <attribute kind="exclusiveUser" status="meta"> - <value>false</value> - </attribute> - <attribute kind="optional" status="meta"> - <value>false</value> - </attribute> - </reference> - <reference id="id-0067-0000000c" kind="OutEventPort" role="OutEventPort" relid="0x3" referred="id-0065-00000007"> - <name>notify_out</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>628,388</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="exclusiveProvider" status="meta"> - <value>false</value> - </attribute> - <attribute kind="exclusiveUser" status="meta"> - <value>false</value> - </attribute> - <attribute kind="optional" status="meta"> - <value>false</value> - </attribute> - <attribute kind="out_event_port_type" status="meta"> - <value>DirectConnect</value> - </attribute> - <attribute kind="single_destination"> - <value>false</value> - </attribute> - </reference> - </model> - <model id="id-0065-00000016" kind="ComponentFactory" role="ComponentFactory" relid="0x3" childrelidcntr="0x0"> - <name>StockDistributorHome</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>793,493</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - </model> - <connection id="id-0068-00000002" kind="ManagesComponent" role="ManagesComponent" relid="0x4"> - <name>ManagesComponent</name> - <regnode name="autorouterPref" isopaque="yes"> - <value>Ws</value> - </regnode> - <connpoint role="dst" target="id-0065-00000014"/> - <connpoint role="src" target="id-0065-00000016"/> - </connection> - </model> - <reference id="id-0067-00000009" kind="FileRef" role="FileRef" relid="0x1" referred="id-0065-00000001"> - <name>FileRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="InterfaceDefinition" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>334,201</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - </folder> - <folder id="id-006a-00000003" relid="0x1" childrelidcntr="0xb" kind="PredefinedTypes"> - <name>PredefinedTypes</name> - <atom id="id-0066-00000001" kind="TypeKind" relid="0xb"> - <name>TypeKind</name> - </atom> - <atom id="id-0066-00000002" kind="TypeEncoding" relid="0xa"> - <name>TypeEncoding</name> - </atom> - <atom id="id-0066-00000003" kind="String" relid="0x9"> - <name>String</name> - </atom> - <atom id="id-0066-00000004" kind="Boolean" relid="0x8"> - <name>Boolean</name> - </atom> - <atom id="id-0066-00000005" kind="ShortInteger" relid="0x7"> - <name>ShortInteger</name> - </atom> - <atom id="id-0066-00000006" kind="RealNumber" relid="0x6"> - <name>RealNumber</name> - </atom> - <atom id="id-0066-00000007" kind="LongInteger" relid="0x5"> - <name>LongInteger</name> - </atom> - <atom id="id-0066-00000008" kind="GenericValueObject" relid="0x4"> - <name>GenericValueObject</name> - </atom> - <atom id="id-0066-00000009" kind="GenericValue" relid="0x3"> - <name>GenericValue</name> - </atom> - <atom id="id-0066-0000000a" kind="GenericObject" relid="0x2"> - <name>GenericObject</name> - </atom> - <atom id="id-0066-0000000b" kind="Byte" relid="0x1"> - <name>Byte</name> - </atom> - </folder> - <folder id="id-006a-00000004" relid="0x3" childrelidcntr="0x1" kind="ComponentImplementations"> - <name>ComponentImplementations</name> - <model id="id-0065-00000017" kind="ComponentImplementationContainer" relid="0x1" childrelidcntr="0xb"> - <name>StockBrokerImplementation</name> - <model id="id-0065-00000018" kind="Property" role="Property" relid="0x2" childrelidcntr="0x2"> - <name>ComponentIOR</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>282,168</value> - </regnode> - </regnode> - </regnode> - <attribute kind="DataValue"> - <value>StockBroker.ior</value> - </attribute> - <reference id="id-0067-0000000d" kind="DataType" role="DataType" relid="0x2" referred="id-0066-00000003"> - <name>String</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>518,318</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <atom id="id-0066-0000000c" kind="MonolithicImplementation" role="MonolithicImplementation" relid="0x1"> - <name>StockBrokerMonolithicImpl</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>125,68</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - </atom> - <reference id="id-0067-0000000e" kind="ComponentRef" role="ComponentRef" relid="0x9" referred="id-0065-0000000d"> - <name>StockBrokerRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>783,557</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000021" kind="ImplementationArtifactReference" role="ImplementationArtifactReference" relid="0x3" referred="id-0066-0000000e"> - <name>StockBroker_stubRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>461,265</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000022" kind="ImplementationArtifactReference" role="ImplementationArtifactReference" relid="0x4" referred="id-0066-0000000f"> - <name>StockBroker_svntRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>566,363</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000023" kind="ImplementationArtifactReference" role="ImplementationArtifactReference" relid="0x5" referred="id-0066-00000010"> - <name>StockBroker_execRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>741,468</value> - </regnode> - </regnode> - </regnode> - </reference> - <connection id="id-0068-00000003" kind="ConfigProperty" role="ConfigProperty" relid="0xa"> - <name>ConfigProperty</name> - <connpoint role="dst" target="id-0065-00000018"/> - <connpoint role="src" target="id-0066-0000000c"/> - </connection> - <connection id="id-0068-00000004" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" relid="0x6"> - <name>MonolithprimaryArtifact</name> - <connpoint role="src" target="id-0066-0000000c"/> - <connpoint role="dst" target="id-0067-00000021"/> - </connection> - <connection id="id-0068-00000005" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" relid="0x7"> - <name>MonolithprimaryArtifact</name> - <connpoint role="src" target="id-0066-0000000c"/> - <connpoint role="dst" target="id-0067-00000022"/> - </connection> - <connection id="id-0068-00000006" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" relid="0x8"> - <name>MonolithprimaryArtifact</name> - <connpoint role="src" target="id-0066-0000000c"/> - <connpoint role="dst" target="id-0067-00000023"/> - </connection> - <connection id="id-0068-00000007" kind="Implements" role="Implements" relid="0xb"> - <name>Implements</name> - <connpoint role="src" target="id-0066-0000000c"/> - <connpoint role="dst" target="id-0067-0000000e"/> - </connection> - </model> - <model id="id-0065-00000019" kind="ComponentImplementationContainer" relid="0x2" childrelidcntr="0xb"> - <name>StockDistributorImplementation</name> - <model id="id-0065-0000001a" kind="Property" role="Property" relid="0x2" childrelidcntr="0x2"> - <name>ComponentIOR</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>282,168</value> - </regnode> - </regnode> - </regnode> - <attribute kind="DataValue"> - <value>StockDistributor.ior</value> - </attribute> - <reference id="id-0067-0000000f" kind="DataType" role="DataType" relid="0x2" referred="id-0066-00000003"> - <name>String</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>518,318</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <atom id="id-0066-0000000d" kind="MonolithicImplementation" role="MonolithicImplementation" relid="0x1"> - <name>StockDistributorMonolithicImpl</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>125,68</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - </atom> - <reference id="id-0067-00000010" kind="ComponentRef" role="ComponentRef" relid="0x9" referred="id-0065-00000014"> - <name>StockDistributorRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>910,568</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000024" kind="ImplementationArtifactReference" role="ImplementationArtifactReference" relid="0x3" referred="id-0066-00000011"> - <name>StockDistributor_stubRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>439,268</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000025" kind="ImplementationArtifactReference" role="ImplementationArtifactReference" relid="0x4" referred="id-0066-00000012"> - <name>StockDistributor_svntRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>596,368</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000026" kind="ImplementationArtifactReference" role="ImplementationArtifactReference" relid="0x5" referred="id-0066-00000013"> - <name>StockDistributor_execRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>753,468</value> - </regnode> - </regnode> - </regnode> - </reference> - <connection id="id-0068-00000008" kind="ConfigProperty" role="ConfigProperty" relid="0xa"> - <name>ConfigProperty</name> - <connpoint role="dst" target="id-0065-0000001a"/> - <connpoint role="src" target="id-0066-0000000d"/> - </connection> - <connection id="id-0068-00000009" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" relid="0x6"> - <name>MonolithprimaryArtifact</name> - <connpoint role="src" target="id-0066-0000000d"/> - <connpoint role="dst" target="id-0067-00000024"/> - </connection> - <connection id="id-0068-0000000a" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" relid="0x7"> - <name>MonolithprimaryArtifact</name> - <connpoint role="src" target="id-0066-0000000d"/> - <connpoint role="dst" target="id-0067-00000025"/> - </connection> - <connection id="id-0068-0000000b" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" relid="0x8"> - <name>MonolithprimaryArtifact</name> - <connpoint role="src" target="id-0066-0000000d"/> - <connpoint role="dst" target="id-0067-00000026"/> - </connection> - <connection id="id-0068-0000000c" kind="Implements" role="Implements" relid="0xb"> - <name>Implements</name> - <connpoint role="src" target="id-0066-0000000d"/> - <connpoint role="dst" target="id-0067-00000010"/> - </connection> - </model> - <model id="id-0065-00000023" kind="ComponentImplementationContainer" relid="0x1" childrelidcntr="0x1"> - <name>StockQuoterImplementation</name> - <model id="id-0065-00000024" kind="ComponentAssembly" role="ComponentAssembly" relid="0x1" childrelidcntr="0x6"> - <name>StockQuoter</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>307,221</value> - </regnode> - </regnode> - <regnode name="QoSModelAspect" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>331,198</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID"> - <value>EBE916A6-E4E5-469C-A8EE-EDDFCA4B9CE3</value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - <model id="id-0065-00000025" kind="Component" role="Component" derivedfrom="id-0065-0000000d" isinstance="yes" isprimary="yes" relid="0x1" childrelidcntr="0x0"> - <name>StockBroker</name> - <regnode name="PartRegs"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>447,116</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="UUID"> - <value>94A1586C-2E9A-4FFD-8D75-7FC5A54F6B71</value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - <reference id="id-0067-00000027" kind="InEventPort" role="InEventPort" derivedfrom="id-0067-00000008" isinstance="yes" isprimary="no" referred="id-0065-00000007" isbound="yes"> - <name>notify_in</name> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="exclusiveProvider" status="meta"> - <value>false</value> - </attribute> - <attribute kind="exclusiveUser" status="meta"> - <value>false</value> - </attribute> - <attribute kind="optional" status="meta"> - <value>false</value> - </attribute> - </reference> - <reference id="id-0067-00000028" kind="RequiredRequestPort" role="RequiredRequestPort" derivedfrom="id-0067-00000007" isinstance="yes" isprimary="no" referred="id-0065-00000005" isbound="yes"> - <name>read_quoter</name> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="exclusiveProvider" status="meta"> - <value>false</value> - </attribute> - <attribute kind="exclusiveUser" status="meta"> - <value>false</value> - </attribute> - <attribute kind="multiple_connections" status="inherited"> - <value>false</value> - </attribute> - <attribute kind="optional" status="meta"> - <value>false</value> - </attribute> - </reference> - <reference id="id-0067-00000029" kind="Supports" role="Supports" derivedfrom="id-0067-00000006" isinstance="yes" isprimary="no" referred="id-0065-0000000a" isbound="yes"> - <name>Supports</name> - </reference> - </model> - <model id="id-0065-00000026" kind="Component" role="Component" derivedfrom="id-0065-00000014" isinstance="yes" isprimary="yes" relid="0x2" childrelidcntr="0x0"> - <name>StockDistributor</name> - <regnode name="PartRegs"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>83,123</value> - </regnode> - </regnode> - </regnode> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="UUID"> - <value>2DBE2452-FDE3-4399-9210-509CAC49139A</value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - <model id="id-0065-00000027" kind="Attribute" role="Attribute" derivedfrom="id-0065-00000015" isinstance="yes" isprimary="no" childrelidcntr="0x0"> - <name>rate</name> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <reference id="id-0067-0000002a" kind="AttributeMember" role="AttributeMember" derivedfrom="id-0067-00000020" isinstance="yes" isprimary="no" referred="id-0066-00000007" isbound="yes"> - <name>AttributeMember</name> - </reference> - </model> - <reference id="id-0067-0000002b" kind="OutEventPort" role="OutEventPort" derivedfrom="id-0067-0000000c" isinstance="yes" isprimary="no" referred="id-0065-00000007" isbound="yes"> - <name>notify_out</name> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="exclusiveProvider" status="meta"> - <value>false</value> - </attribute> - <attribute kind="exclusiveUser" status="meta"> - <value>false</value> - </attribute> - <attribute kind="optional" status="meta"> - <value>false</value> - </attribute> - <attribute kind="out_event_port_type" status="meta"> - <value>DirectConnect</value> - </attribute> - <attribute kind="single_destination" status="inherited"> - <value>false</value> - </attribute> - </reference> - <reference id="id-0067-0000002c" kind="ProvidedRequestPort" role="ProvidedRequestPort" derivedfrom="id-0067-0000000b" isinstance="yes" isprimary="no" referred="id-0065-00000005" isbound="yes"> - <name>push_quoter</name> - <attribute kind="SpecifyIdTag" status="meta"> - <value></value> - </attribute> - <attribute kind="VersionTag" status="meta"> - <value></value> - </attribute> - <attribute kind="exclusiveProvider" status="meta"> - <value>false</value> - </attribute> - <attribute kind="exclusiveUser" status="meta"> - <value>false</value> - </attribute> - <attribute kind="optional" status="meta"> - <value>false</value> - </attribute> - </reference> - <reference id="id-0067-0000002d" kind="Supports" role="Supports" derivedfrom="id-0067-0000000a" isinstance="yes" isprimary="no" referred="id-0065-00000011" isbound="yes"> - <name>Supports</name> - </reference> - </model> - <atom id="id-0066-00000014" kind="PublishConnector" role="PublishConnector" relid="0x3"> - <name>PublishConnector</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>329,154</value> - </regnode> - </regnode> - </regnode> - </atom> - <connection id="id-0068-00000017" kind="invoke" role="invoke" relid="0x4"> - <name>invoke</name> - <connpoint role="src" target="id-0067-00000028"/> - <connpoint role="dst" target="id-0067-0000002c"/> - </connection> - <connection id="id-0068-00000018" kind="publish" role="publish" relid="0x5"> - <name>publish</name> - <connpoint role="dst" target="id-0066-00000014"/> - <connpoint role="src" target="id-0067-0000002b"/> - </connection> - <connection id="id-0068-00000019" kind="deliverTo" role="deliverTo" relid="0x6"> - <name>deliverTo</name> - <regnode name="autorouterPref" isopaque="yes"> - <value>E</value> - </regnode> - <connpoint role="src" target="id-0066-00000014"/> - <connpoint role="dst" target="id-0067-00000027"/> - </connection> - </model> - </model> - </folder> - <folder id="id-006a-00000005" relid="0x4" childrelidcntr="0x0" kind="ImplementationArtifacts"> - <name>ImplementationArtifacts</name> - <model id="id-0065-0000001b" kind="ArtifactContainer" relid="0x1" childrelidcntr="0xa"> - <name>StockBrokerArtifacts</name> - <model id="id-0065-0000001c" kind="Property" role="Property" relid="0x2" childrelidcntr="0x2"> - <name>entryPoint</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>334,200</value> - </regnode> - </regnode> - </regnode> - <attribute kind="DataValue"> - <value>createStockBrokerHome_Servant</value> - </attribute> - <reference id="id-0067-00000011" kind="DataType" role="DataType" relid="0x2" referred="id-0066-00000003"> - <name>String</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>298,193</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <model id="id-0065-0000001d" kind="Property" role="Property" relid="0x4" childrelidcntr="0x2"> - <name>entryPoint</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>700,432</value> - </regnode> - </regnode> - </regnode> - <attribute kind="DataValue"> - <value>createStockBrokerHome_Impl</value> - </attribute> - <reference id="id-0067-00000012" kind="DataType" role="DataType" relid="0x2" referred="id-0066-00000003"> - <name>String</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>340,172</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <atom id="id-0066-0000000e" kind="ImplementationArtifact" role="ImplementationArtifact" relid="0x1"> - <name>StockBroker_stub</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>151,84</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="configuration" status="meta"> - <value></value> - </attribute> - <attribute kind="label"> - <value></value> - </attribute> - <attribute kind="location"> - <value>StockBroker_stub</value> - </attribute> - </atom> - <atom id="id-0066-0000000f" kind="ImplementationArtifact" role="ImplementationArtifact" relid="0x3"> - <name>StockBroker_svnt</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>517,316</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="configuration" status="meta"> - <value></value> - </attribute> - <attribute kind="label"> - <value></value> - </attribute> - <attribute kind="location"> - <value>StockBroker_svnt</value> - </attribute> - </atom> - <atom id="id-0066-00000010" kind="ImplementationArtifact" role="ImplementationArtifact" relid="0x5"> - <name>StockBroker_exec</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>883,548</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="configuration" status="meta"> - <value></value> - </attribute> - <attribute kind="label"> - <value></value> - </attribute> - <attribute kind="location"> - <value>StockBroker_exec</value> - </attribute> - </atom> - <connection id="id-0068-0000000d" kind="ArtifactExecParameter" role="ArtifactExecParameter" relid="0x7"> - <name>ArtifactExecParameter</name> - <connpoint role="dst" target="id-0065-0000001c"/> - <connpoint role="src" target="id-0066-0000000f"/> - </connection> - <connection id="id-0068-0000000e" kind="ArtifactDependency" role="ArtifactDependency" relid="0x8"> - <name>ArtifactDependency</name> - <connpoint role="dst" target="id-0066-0000000e"/> - <connpoint role="src" target="id-0066-0000000f"/> - </connection> - <connection id="id-0068-0000000f" kind="ArtifactExecParameter" role="ArtifactExecParameter" relid="0x8"> - <name>ArtifactExecParameter</name> - <connpoint role="dst" target="id-0065-0000001d"/> - <connpoint role="src" target="id-0066-00000010"/> - </connection> - <connection id="id-0068-00000010" kind="ArtifactDependency" role="ArtifactDependency" relid="0x9"> - <name>ArtifactDependency</name> - <connpoint role="dst" target="id-0066-0000000f"/> - <connpoint role="src" target="id-0066-00000010"/> - </connection> - <connection id="id-0068-00000011" kind="ArtifactDependency" role="ArtifactDependency" relid="0xa"> - <name>ArtifactDependency</name> - <connpoint role="dst" target="id-0066-0000000e"/> - <connpoint role="src" target="id-0066-00000010"/> - </connection> - </model> - <model id="id-0065-0000001e" kind="ArtifactContainer" relid="0x2" childrelidcntr="0xa"> - <name>StockDistributorArtifacts</name> - <model id="id-0065-0000001f" kind="Property" role="Property" relid="0x2" childrelidcntr="0x2"> - <name>entryPoint</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>334,200</value> - </regnode> - </regnode> - </regnode> - <attribute kind="DataValue"> - <value>createStockDistributorHome_Servant</value> - </attribute> - <reference id="id-0067-00000013" kind="DataType" role="DataType" relid="0x2" referred="id-0066-00000003"> - <name>String</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>518,318</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <model id="id-0065-00000020" kind="Property" role="Property" relid="0x4" childrelidcntr="0x2"> - <name>entryPoint</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>700,432</value> - </regnode> - </regnode> - </regnode> - <attribute kind="DataValue"> - <value>createStockDistributorHome_Impl</value> - </attribute> - <reference id="id-0067-00000014" kind="DataType" role="DataType" relid="0x2" referred="id-0066-00000003"> - <name>String</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>518,318</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <atom id="id-0066-00000011" kind="ImplementationArtifact" role="ImplementationArtifact" relid="0x1"> - <name>StockDistributor_stub</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>151,84</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="configuration" status="meta"> - <value></value> - </attribute> - <attribute kind="label"> - <value></value> - </attribute> - <attribute kind="location"> - <value>StockDistributor_stub</value> - </attribute> - </atom> - <atom id="id-0066-00000012" kind="ImplementationArtifact" role="ImplementationArtifact" relid="0x3"> - <name>StockDistributor_svnt</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>517,316</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="configuration" status="meta"> - <value></value> - </attribute> - <attribute kind="label"> - <value></value> - </attribute> - <attribute kind="location"> - <value>StockDistributor_svnt</value> - </attribute> - </atom> - <atom id="id-0066-00000013" kind="ImplementationArtifact" role="ImplementationArtifact" relid="0x5"> - <name>StockDistributor_exec</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>883,548</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="configuration" status="meta"> - <value></value> - </attribute> - <attribute kind="label"> - <value></value> - </attribute> - <attribute kind="location"> - <value>StockDistributor_exec</value> - </attribute> - </atom> - <connection id="id-0068-00000012" kind="ArtifactExecParameter" role="ArtifactExecParameter" relid="0x7"> - <name>ArtifactExecParameter</name> - <connpoint role="dst" target="id-0065-0000001f"/> - <connpoint role="src" target="id-0066-00000012"/> - </connection> - <connection id="id-0068-00000013" kind="ArtifactDependency" role="ArtifactDependency" relid="0x8"> - <name>ArtifactDependency</name> - <connpoint role="dst" target="id-0066-00000011"/> - <connpoint role="src" target="id-0066-00000012"/> - </connection> - <connection id="id-0068-00000014" kind="ArtifactExecParameter" role="ArtifactExecParameter" relid="0x8"> - <name>ArtifactExecParameter</name> - <connpoint role="dst" target="id-0065-00000020"/> - <connpoint role="src" target="id-0066-00000013"/> - </connection> - <connection id="id-0068-00000015" kind="ArtifactDependency" role="ArtifactDependency" relid="0x9"> - <name>ArtifactDependency</name> - <connpoint role="dst" target="id-0066-00000012"/> - <connpoint role="src" target="id-0066-00000013"/> - </connection> - <connection id="id-0068-00000016" kind="ArtifactDependency" role="ArtifactDependency" relid="0xa"> - <name>ArtifactDependency</name> - <connpoint role="dst" target="id-0066-00000011"/> - <connpoint role="src" target="id-0066-00000013"/> - </connection> - </model> - </folder> - <folder id="id-006a-00000006" relid="0x5" childrelidcntr="0x0" kind="ComponentTypes"> - <name>ComponentTypes</name> - <model id="id-0065-00000021" kind="ComponentContainer" relid="0x1" childrelidcntr="0x1"> - <name>StockBrokerContainer</name> - <reference id="id-0067-00000015" kind="ComponentRef" role="ComponentRef" relid="0x1" referred="id-0065-0000000d"> - <name>StockBrokerRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>244,214</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - <model id="id-0065-00000022" kind="ComponentContainer" relid="0x2" childrelidcntr="0x1"> - <name>StockDistributorContainer</name> - <reference id="id-0067-00000016" kind="ComponentRef" role="ComponentRef" relid="0x1" referred="id-0065-00000014"> - <name>StockDistributorRef</name> - <regnode name="PartRegs" isopaque="yes"> - <value></value> - <regnode name="Packaging" isopaque="yes"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>202,249</value> - </regnode> - </regnode> - </regnode> - </reference> - </model> - </folder> - <folder id="id-006a-00000007" relid="0x6" childrelidcntr="0x1" kind="PackageConfigurations"> - <name>PackageConfigurations</name> - <model id="id-0065-0000002b" kind="PackageConfigurationContainer" relid="0x1" childrelidcntr="0x2"> - <name>Default</name> - <atom id="id-0066-00000018" kind="PackageConfiguration" role="PackageConfiguration" relid="0x1"> - <name>Default</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>163,226</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - </atom> - <reference id="id-0067-00000033" kind="ComponentPackageReference" role="ComponentPackageReference" relid="0x2" referred="id-0066-00000017"> - <name>StockQuoter</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>391,230</value> - </regnode> - </regnode> - </regnode> - <attribute kind="requiredName" status="meta"> - <value></value> - </attribute> - <attribute kind="requiredType" status="meta"> - <value></value> - </attribute> - <attribute kind="requiredUUID" status="meta"> - <value></value> - </attribute> - </reference> - </model> - </folder> - <folder id="id-006a-00000008" relid="0x7" childrelidcntr="0x3" kind="ComponentPackages"> - <name>ComponentPackages</name> - <model id="id-0065-00000028" kind="PackageContainer" relid="0x1" childrelidcntr="0x5"> - <name>Broker</name> - <atom id="id-0066-00000015" kind="ComponentPackage" role="ComponentPackage" relid="0x1"> - <name>Broker</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>272,195</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - </atom> - <reference id="id-0067-0000002e" kind="ComponentImplementationReference" role="ComponentImplementationReference" relid="0x2" referred="id-0066-0000000c"> - <name>Broker</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>96,194</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-0000002f" kind="ComponentRef" role="ComponentRef" relid="0x3" referred="id-0065-0000000d"> - <name>Broker</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>440,172</value> - </regnode> - </regnode> - </regnode> - </reference> - <connection id="id-0068-0000001b" kind="Implementation" role="Implementation" relid="0x4"> - <name>Implementation</name> - <regnode name="autorouterPref" isopaque="yes"> - <value>We</value> - </regnode> - <connpoint role="src" target="id-0066-00000015"/> - <connpoint role="dst" target="id-0067-0000002e"/> - </connection> - <connection id="id-0068-0000001c" kind="PackageInterface" role="PackageInterface" relid="0x5"> - <name>PackageInterface</name> - <regnode name="autorouterPref" isopaque="yes"> - <value>Ew</value> - </regnode> - <connpoint role="src" target="id-0066-00000015"/> - <connpoint role="dst" target="id-0067-0000002f"/> - </connection> - </model> - <model id="id-0065-00000029" kind="PackageContainer" relid="0x2" childrelidcntr="0x5"> - <name>Distributor</name> - <atom id="id-0066-00000016" kind="ComponentPackage" role="ComponentPackage" relid="0x2"> - <name>Distributor</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>272,195</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - </atom> - <reference id="id-0067-00000030" kind="ComponentImplementationReference" role="ComponentImplementationReference" relid="0x1" referred="id-0066-0000000d"> - <name>Distributor</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>96,194</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000031" kind="ComponentRef" role="ComponentRef" relid="0x3" referred="id-0065-00000014"> - <name>Distributor</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>440,172</value> - </regnode> - </regnode> - </regnode> - </reference> - <connection id="id-0068-0000001d" kind="Implementation" role="Implementation" relid="0x4"> - <name>Implementation</name> - <regnode name="autorouterPref" isopaque="yes"> - <value>We</value> - </regnode> - <connpoint role="src" target="id-0066-00000016"/> - <connpoint role="dst" target="id-0067-00000030"/> - </connection> - <connection id="id-0068-0000001e" kind="PackageInterface" role="PackageInterface" relid="0x5"> - <name>PackageInterface</name> - <regnode name="autorouterPref" isopaque="yes"> - <value>Ew</value> - </regnode> - <connpoint role="src" target="id-0066-00000016"/> - <connpoint role="dst" target="id-0067-00000031"/> - </connection> - </model> - <model id="id-0065-0000002a" kind="PackageContainer" relid="0x3" childrelidcntr="0x3"> - <name>StockQuoter</name> - <atom id="id-0066-00000017" kind="ComponentPackage" role="ComponentPackage" relid="0x2"> - <name>StockQuoter</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>391,125</value> - </regnode> - </regnode> - </regnode> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - </atom> - <reference id="id-0067-00000032" kind="ComponentImplementationReference" role="ComponentImplementationReference" relid="0x1" referred="id-0065-00000024"> - <name>StockQuoter</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>96,103</value> - </regnode> - </regnode> - </regnode> - </reference> - <connection id="id-0068-0000001f" kind="Implementation" role="Implementation" relid="0x3"> - <name>Implementation</name> - <regnode name="autorouterPref" isopaque="yes"> - <value>We</value> - </regnode> - <connpoint role="src" target="id-0066-00000017"/> - <connpoint role="dst" target="id-0067-00000032"/> - </connection> - </model> - </folder> - <folder id="id-006a-00000009" relid="0x8" childrelidcntr="0x1" kind="DeploymentPlans"> - <name>DeploymentPlans</name> - <model id="id-0065-00000030" kind="DeploymentPlan" relid="0x1" childrelidcntr="0x8"> - <name>Plan</name> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - <reference id="id-0067-00000035" kind="NodeReference" role="NodeReference" relid="0x3" referred="id-0065-0000002e"> - <name>Node_Broker</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="NodeMapping" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>284,137</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000036" kind="NodeReference" role="NodeReference" relid="0x4" referred="id-0065-0000002f"> - <name>Node_Distributor</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="NodeMapping" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>284,298</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000037" kind="ComponentRef" role="ComponentRef" relid="0x5" referred="id-0065-00000025"> - <name>StockBroker</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="NodeMapping" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>412,95</value> - </regnode> - </regnode> - </regnode> - </reference> - <reference id="id-0067-00000038" kind="ComponentRef" role="ComponentRef" relid="0x6" referred="id-0065-00000026"> - <name>StockDistributor</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="NodeMapping" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>412,270</value> - </regnode> - </regnode> - </regnode> - </reference> - <connection id="id-0068-00000021" kind="InstanceMapping" role="InstanceMapping" relid="0x7"> - <name>InstanceMapping</name> - <regnode name="autorouterPref" isopaque="yes"> - <value>Ew</value> - </regnode> - <connpoint role="dst" target="id-0067-00000035"/> - <connpoint role="src" target="id-0069-00000001"/> - </connection> - <connection id="id-0068-00000022" kind="InstanceMapping" role="InstanceMapping" relid="0x8"> - <name>InstanceMapping</name> - <regnode name="autorouterPref" isopaque="yes"> - <value>Ew</value> - </regnode> - <connpoint role="dst" target="id-0067-00000036"/> - <connpoint role="src" target="id-0069-00000002"/> - </connection> - <set id="id-0069-00000001" kind="CollocationGroup" role="CollocationGroup" relid="0x1" members="id-0067-00000037"> - <name>CollocationGroup</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="NodeMapping" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>118,125</value> - </regnode> - </regnode> - </regnode> - </set> - <set id="id-0069-00000002" kind="CollocationGroup" role="CollocationGroup" relid="0x2" members="id-0067-00000038"> - <name>CollocationGroup</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="NodeMapping" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>97,279</value> - </regnode> - </regnode> - </regnode> - </set> - </model> - </folder> - <folder id="id-006a-0000000a" relid="0x9" childrelidcntr="0x1" kind="Targets"> - <name>Targets</name> - <model id="id-0065-0000002d" kind="Domain" relid="0x1" childrelidcntr="0x2"> - <name>Domain</name> - <attribute kind="UUID" status="meta"> - <value></value> - </attribute> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - <model id="id-0065-0000002e" kind="Node" role="Node" relid="0x1" childrelidcntr="0x0"> - <name>Broker</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Target" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>198,261</value> - </regnode> - </regnode> - </regnode> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - </model> - <model id="id-0065-0000002f" kind="Node" role="Node" relid="0x2" childrelidcntr="0x0"> - <name>Distributor</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Target" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>394,310</value> - </regnode> - </regnode> - </regnode> - <attribute kind="label" status="meta"> - <value></value> - </attribute> - </model> - </model> - </folder> - <folder id="id-006a-0000000b" relid="0xa" childrelidcntr="0x1" kind="TopLevelPackages"> - <name>TopLevelPackages</name> - <model id="id-0065-0000002c" kind="TopLevelPackageContainer" relid="0x1" childrelidcntr="0x3"> - <name>Default</name> - <atom id="id-0066-00000019" kind="TopLevelPackage" role="TopLevelPackage" relid="0x1"> - <name>TopLevelPackage</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>132,275</value> - </regnode> - </regnode> - </regnode> - </atom> - <reference id="id-0067-00000034" kind="PackageConfigurationReference" role="PackageConfigurationReference" relid="0x2" referred="id-0066-00000018"> - <name>Default</name> - <regnode name="PartRegs" status="undefined"> - <value></value> - <regnode name="Packaging" status="undefined"> - <value></value> - <regnode name="Position" isopaque="yes"> - <value>370,265</value> - </regnode> - </regnode> - </regnode> - </reference> - <connection id="id-0068-00000020" kind="package" role="package" relid="0x3"> - <name>package</name> - <regnode name="autorouterPref" isopaque="yes"> - <value>Ew</value> - </regnode> - <connpoint role="src" target="id-0066-00000019"/> - <connpoint role="dst" target="id-0067-00000034"/> - </connection> - </model> - </folder> - <folder id="id-006a-0000000c" relid="0xb" childrelidcntr="0x0" kind="ComponentBuild"> - <name>ComponentBuild</name> - </folder> - </folder> -</project> diff --git a/CIAO/docs/tutorials/CoSMIC/index.html b/CIAO/docs/tutorials/CoSMIC/index.html deleted file mode 100644 index 0deb8d7aa03..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/index.html +++ /dev/null @@ -1,195 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - - - <meta name="generator" content="HTML Tidy for Mac OS X (vers 1st December 2004), see www.w3.org" /> - - - - <title>Building a Stock Quoter with TAO - A Tutorial</title> -<!-- $Id$ --> -</head> - - - -<body style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" link="#000fff" vlink="#ff0f0f"> - - -<h3>Building a Stock Quoter with CoSMIC and DAnCE - A - Tutorial<br /> -</h3> - - - -<p>This tutorial provides a step-by-step lesson on developing - component-based distributed applications using <a href="http://www.dre.vanderbilt.edu/cosmic/">CoSMIC</a> modeling - toolkit and <a href="http://www.cs.wustl.edu/%7Eschmidt/CIAO.html">CIAO/DAnCE</a> - framework. The example application used in this tutorial is a - Stock Quoter that consists of two components; the - <em>StockDistributor</em> and the <em>StockBroker</em>. The - <em>StockDistributor</em> notifies one or more stock brokers - whenever a stock price changes. Upon receiving the notification, - the <em>StockBroker</em> fetches information about a particular - stock from the <em>StockDistributor</em>. The figure bellow shows - the application diagram. This Stock Quoter application is based - on a series of <a href="http://www.cs.wustl.edu/%7Eschmidt/report-doc.html">CORBA - component model</a> columns written by <a href="http://www.cs.wustl.edu/%7Eschmidt/">Doug Schmidt</a> and - <a href="http://www.iona.com/hyplan/vinoski/">Steve Vinoski</a> - for <a href="http://www.cuj.com">C/C++ Users Journal</a> and has - consistently been used as an example for <a href="http://www.cs.wustl.edu/%7Eschmidt/TAO.html">TAO</a>.<br /> -</p> - - - -<div style="text-align: center;"> - <img alt="" src="Images/fig1.jpg" style="width: 362px; height: 193px;" /><br /> - - <br /> - - Stock Quoter application Diagram<br /> - - </div> - - - -<p>This tutorial will show you how to use generic modeling - techniques <a href="http://www.dre.vanderbilt.edu/cosmic/">CoSMIC</a> to assist the - development process of CIAO applications. All the necessary steps - to build a component-based application model via <a href="http://www.dre.vanderbilt.edu/cosmic/">CoSMIC</a> toolkit are - documented here.</p> - - - -<blockquote> - - <hr /> - <strong>Note:</strong><br /> - - 1. Although the descriptor files generated by CoSMIC toolkits - are portable, the modeling environment required by CoSMIC (GME) - only supports Microsoft Windows platforms.<br /> - - 2. The CIAO/DAnCE codes used for this tutorial can be found in - <code>%CIAO_ROOT%/docs/tutorials/Quoter/Simple</code>.<br /> - - 3. The current tutorial is tested under GME 5.9.21, and - CosMIC 0.5.2. It will be subject to change as version of GME - and CoSMIC evolves.<br /> - - - <hr /> - </blockquote> -<strong><big>Prerequisites</big></strong><br /> - - <br /> - - Before you start, you will need the following: - - -<ol> - - <li><strong>ACE+TAO+CIAO (Component Integraated ACE - ORB).</strong> ACE + TAO + CIAO provide the CCM infrastructure - necessary to enable the CCM-based distributed component - interaction. You can click <a href="http://deuce.doc.wustl.edu/Download.html">here</a> to download - the latest ACE + TAO + CIAO and click <a href="../../../../../ACE-Install.html"> - here</a> for information on how to build ACE+TAO+CIAO.</li> - - - <li><strong>Generic Modeling Environment (GME).</strong> GME is - a configurable toolkit for creating domain-specific modeling - and program synthesis environments. It provides the execution - environment for CoSMIC toolkits. Click <a href="http://www.isis.vanderbilt.edu/Projects/gme/download.html">here</a> - to download GME.</li> - - - <li><strong>CoSMIC toolkit.</strong> Click <a href="http://www.dre.vanderbilt.edu/cosmic/">here</a> to download - the latest CoSMIC release.</li> - - -</ol> - - - -<blockquote> - - <hr /> - <strong>Note:</strong><br /> - - - - <ol> - - <li>Please use only the version of GME that the CoSMIC - package you have downloaded requires. Attempts to use earlier - or later versions may result in undefined behavior.</li> - - - <li>Make sure you install GME before you install CoSMIC.</li> - - - </ol> - - - <hr /> - </blockquote> -<strong><a href="01.html">Getting - Started</a></strong><br /> - - <br /> - - This section describes the IDL files used by the - example and shows you how to import IDL into <a href="http://www.cs.wustl.edu/%7Eschmidt/PDF/RTAS05-PICML.pdf">PICML - (Platform-Independent Component Modeling Language)</a>; a - domain-specific modeling language which is defined using GME. - PICML is designed to help to bridge the gap between design-time - verification and model-checking tools and the deployment of - component implementations.<br /> - - <br /> - - <strong><a href="02.html">Modeling StockQuoter system with - PICML</a></strong><br /> - - <br /> - - This section describes how to model the Stock - Quoter components in PICML.<br /> - - <br /> - - <a href="03.html"><strong>Implementing Quoter components with - DAnCE</strong></a><br /> - - <br /> - - This section provides codes for the Quoter - example.<br /> - - <br /> - - <strong><a href="04.html">Running the - application</a></strong><br /> - - <br /> - - After all the components and descriptors generated - by PICML are in place. You are ready to compile and run the - application.<br /> - - <br /> - - -<hr /> - - -<address> - <a href="mailto:ming.xiong@vanderbilt.edu">Ming Xiong<br /> -</a> - </address> -<!-- Created: Sat Nov 27 15:25:06 CST 1999 --> - <!-- hhmts start --> - Last modified: Fri May 5 21:29:07 CDT 2006 <!-- hhmts end --> -</body> -</html> diff --git a/CIAO/docs/tutorials/CoSMIC/style.css b/CIAO/docs/tutorials/CoSMIC/style.css deleted file mode 100644 index b86b9ceb671..00000000000 --- a/CIAO/docs/tutorials/CoSMIC/style.css +++ /dev/null @@ -1,15 +0,0 @@ - -/* Important Node */ -div.important { - position: center; - width: 75%; - text-align: left; - border: 1; - background: #FAEBD7; -} - -div.important strong { - font-weight: bold; - color: red; - font-variant: small-caps; -} diff --git a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.cidl b/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.cidl deleted file mode 100644 index a6d9bb29214..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.cidl +++ /dev/null @@ -1,22 +0,0 @@ -//$Id$ - -//Stock.cidl,v 1.0 -/** - * @file Stock.cidl - * - * @author ming xiong <xiongm@isis.vanderbilt.edu> - */ - -#ifndef STOCK_CIDL -#define STOCK_CIDL - -#include "Broker.idl" - -composition session StockBroker_Impl { - home executor StockBrokerHome_Exec { - implements Stock::StockBrokerHome; - manages StockBroker_Exec; - }; -}; - -#endif /* STOCK_CIDL */ diff --git a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.cpp b/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.cpp deleted file mode 100644 index 330b4419477..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.cpp +++ /dev/null @@ -1,123 +0,0 @@ -//$Id$ -/* - * @file Broker.cpp - * - * @author Ming Xiong <mxiong@dre.vanderbilt.edu> - */ - -#include "BrokerC.h" -#include "ace/streams.h" -#include "ace/Get_Opt.h" - -const char *broker_ior = "file://Broker.ior"; -const char *subscribe_name = 0; -const char *unsubscribe_name = 0; - - -int -parse_args (int argc, char *argv[]) -{ - ACE_Get_Opt get_opts (argc, argv, "k:s:u:"); - int c; - - while ((c = get_opts ()) != -1) - { - switch (c) - { - case 'k': - broker_ior = get_opts.opt_arg (); - break; - - case 's': - subscribe_name = get_opts.opt_arg (); - break; - - case 'u': - unsubscribe_name = get_opts.opt_arg (); - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s\n" - "-k <Broker IOR> (default is file:\\broker.ior) \n" - "-s <stock name you wish to subscribe>\n" - "-u <stock name you wish to unsubscribe>\n" - "\n", - argv [0]), - -1); - } - } - - return 0; -} - -int main (int argc, char* argv[]) -{ - ACE_TRY_NEW_ENV - { - // initialize the ORB - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv,"" - ACE_ENV_ARG_PARAMETER); - - ACE_TRY_CHECK; - - if (parse_args (argc, argv) != 0) - return -1; - - // create the factory object reference of StockBrokerHome - CORBA::Object_var broker_obj = - orb->string_to_object (broker_ior - ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - - // downcast the object reference to the appropriate type - Stock::StockBroker_var broker = - Stock::StockBroker::_narrow (broker_obj.in () - ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (CORBA::is_nil (broker.in ())) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to acquire 'Broker' objref\n"), - -1); - } - - - if (subscribe_name != 0) - { - broker->stock_subscribe (subscribe_name - ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Subscribe successful!\n")); - } - - if (unsubscribe_name != 0) - { - broker->stock_unsubscribe (unsubscribe_name - ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Unsubscribe successful!\n")); - } - - // Finally destroy the ORB - orb->destroy (ACE_ENV_SINGLE_ARG_PARAMETER); - - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Who is the culprit \n"); - ACE_ERROR_RETURN ((LM_ERROR, - "Uncaught CORBA exception\n"), - 1); - } - ACE_ENDTRY; - - return 0; -} diff --git a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.idl b/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.idl deleted file mode 100644 index dbe9a04364a..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.idl +++ /dev/null @@ -1,35 +0,0 @@ -//$Id$ - -#include "../Stock_Base/Stock_Base.idl" - -module Stock -{ - interface StockSubscriber { - /// subscribe to an interested stock - void stock_subscribe (in string stock_name) - raises (Invalid_Stock); - /// unsubscribe to an stock - void stock_unsubscribe (in string stock_name) - raises (Invalid_Stock); - }; - - /** - * @class StockBroker - * - * @brief component - */ - component StockBroker supports StockSubscriber - { - consumes StockName notify_in; - uses StockQuoter read_quoter; - }; - - /** - * @class StockBrokerHome - * - * @brief home for StockBroker component - */ - home StockBrokerHome manages StockBroker - { - }; -}; diff --git a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.mpc b/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.mpc deleted file mode 100644 index 627feb516a9..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker.mpc +++ /dev/null @@ -1,84 +0,0 @@ -// $Id$ -// This file is generated with "generate_component_mpc.pl -p Stock_Base Broker" - -project(Stock_Base_Broker_stub): ciao_client_dnc { - avoids += ace_for_tao - after += Stock_Base_stub - sharedname = Broker_stub - idlflags -= -GT - idlflags += -St \ - -Wb,stub_export_macro=BROKER_STUB_Export \ - -Wb,stub_export_include=Broker_stub_export.h \ - -Wb,skel_export_macro=BROKER_SVNT_Export \ - -Wb,skel_export_include=Broker_svnt_export.h - dynamicflags = BROKER_STUB_BUILD_DLL - libs += Stock_Base_stub - - IDL_Files { - Broker.idl - } - - Source_Files { - BrokerC.cpp - } -} - -project(Stock_Base_Broker_svnt) : ciao_servant_dnc { - avoids += ace_for_tao - after += Stock_Base_skel Stock_Base_Broker_stub - sharedname = Broker_svnt - libs += Broker_stub Stock_Base_stub Stock_Base_skel - - idlflags -= -GT - idlflags += -SS -St \ - -Wb,export_macro=BROKER_SVNT_Export \ - -Wb,export_include=Broker_svnt_export.h - dynamicflags = BROKER_SVNT_BUILD_DLL - - CIDL_Files { - Broker.cidl - } - - IDL_Files { - BrokerE.idl - } - - Source_Files { - BrokerEC.cpp - BrokerS.cpp - Broker_svnt.cpp - } -} - - -project(Stock_Base_Broker_exec) : ciao_component_dnc { - avoids += ace_for_tao - after += Stock_Base_Broker_svnt - sharedname = Broker_exec - libs += Broker_stub Broker_svnt Stock_Base_stub Stock_Base_skel - - dynamicflags = BROKER_EXEC_BUILD_DLL - - IDL_Files { - } - - Source_Files { - Broker_exec.cpp - } -} - - -project (Stock_Broker) : ciao_client_dnc, valuetype{ - avoids += ace_for_tao - exename = Broker - after += Stock_Base_Broker_stub - libs += Broker_stub Stock_Base_stub - - IDL_Files { - } - - Source_Files { - Broker.cpp - } -} - diff --git a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_exec.cpp b/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_exec.cpp deleted file mode 100644 index 994ba7795b5..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_exec.cpp +++ /dev/null @@ -1,215 +0,0 @@ -//$Id$ -/* - * @file Broker_exec.cpp - * - * @author Ming Xiong <mxiong@dre.vanderbilt.edu> - */ - -#include "Broker_exec.h" -#include "ciao/CIAO_common.h" - - -namespace CIDL_StockBroker_Impl -{ - //================================================================== - // Component Executor Implementation Class: StockBroker_exec_i - //================================================================== - - StockBroker_exec_i::StockBroker_exec_i (void) - { - } - - StockBroker_exec_i::~StockBroker_exec_i (void) - { - } - - - // Supported or inherited operations. - - void - StockBroker_exec_i::stock_subscribe ( - const char * stock_name - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException, - Stock::Invalid_Stock)) - { - if ((strcmp (stock_name, "MSFT") == 0) || (strcmp (stock_name, "IBM") == 0)) - { - std::set<std::string>::iterator iter = this->subscribed_stock_list_.find (stock_name); - if (iter == this->subscribed_stock_list_.end ()) - { - this->subscribed_stock_list_.insert (stock_name); - } - } - else - { - ACE_THROW (Stock::Invalid_Stock ()); - } - } - - void - StockBroker_exec_i::stock_unsubscribe ( - const char * stock_name - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException, - Stock::Invalid_Stock)) - { - if ((strcmp (stock_name, "MSFT") == 0) || (strcmp (stock_name, "IBM") == 0)) - { - std::set<std::string>::iterator iter = this->subscribed_stock_list_.find (stock_name); - if (iter != this->subscribed_stock_list_.end ()) - { - this->subscribed_stock_list_.erase (iter); - } - } - else - { - ACE_THROW (Stock::Invalid_Stock ()); - } - - } - - - void - StockBroker_exec_i::push_notify_in ( - Stock::StockName *ev - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) - { - - ACE_DEBUG ((LM_INFO, - "Broker - Got message from Distributor\n")); - - CORBA::String_var stock_name = CORBA::string_dup (ev->name ()); - - // Retrieve stock information if the stock name is in the subscribed_stock_list - if (this->subscribed_stock_list_.find (stock_name.in ()) != this->subscribed_stock_list_.end ()) - { - Stock::StockQuoter_var quoter_obj = this->context_->get_connection_read_quoter (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK; - - if (CORBA::is_nil (quoter_obj.in ())) - { - ACE_THROW (CORBA::BAD_PARAM ()); - } - - Stock::StockInfo_var info = quoter_obj->get_stock_info (stock_name.in () ACE_ENV_ARG_PARAMETER); - ACE_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Quoter - Current value of %s is %d\n", - stock_name.in (), - info->last)); - } - } - - // Operations from Components::SessionComponent - - void - StockBroker_exec_i::set_session_context ( - ::Components::SessionContext_ptr ctx - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - this->context_ = StockBroker_Context::_narrow (ctx - ACE_ENV_ARG_PARAMETER); - ACE_CHECK; - - if (0 == this->context_) - { - ACE_THROW (CORBA::INTERNAL ()); - } - } - - void - StockBroker_exec_i::ciao_preactivate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - } - - void - StockBroker_exec_i::ciao_postactivate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - } - - void - StockBroker_exec_i::ccm_activate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - } - - void - StockBroker_exec_i::ccm_passivate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - } - - void - StockBroker_exec_i::ccm_remove ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - } - - //================================================================== - // Home Executor Implementation Class: StockBrokerHome_exec_i - //================================================================== - - StockBrokerHome_exec_i::StockBrokerHome_exec_i (void) - { - } - - StockBrokerHome_exec_i::~StockBrokerHome_exec_i (void) - { - } - - ::Components::EnterpriseComponent_ptr - StockBrokerHome_exec_i::create ( - ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - ::Components::EnterpriseComponent_ptr retval = - ::Components::EnterpriseComponent::_nil (); - - ACE_NEW_THROW_EX ( - retval, - StockBroker_exec_i, - CORBA::NO_MEMORY ()); - ACE_CHECK_RETURN (::Components::EnterpriseComponent::_nil ()); - - return retval; - } - - extern "C" BROKER_EXEC_Export ::Components::HomeExecutorBase_ptr - createStockBrokerHome_Impl (void) - { - ::Components::HomeExecutorBase_ptr retval = - ::Components::HomeExecutorBase::_nil (); - - ACE_NEW_RETURN ( - retval, - StockBrokerHome_exec_i, - ::Components::HomeExecutorBase::_nil ()); - - return retval; - } -} - diff --git a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_exec.h b/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_exec.h deleted file mode 100644 index 7cbea3e82cc..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_exec.h +++ /dev/null @@ -1,151 +0,0 @@ -//$Id$ -/* - * @file Broker_exec.h - * - * @author Ming Xiong <mxiong@dre.vanderbilt.edu> - */ - - -#ifndef CIAO_BROKER_EXEC_H -#define CIAO_BROKER_EXEC_H - -#include /**/ "ace/pre.h" - -#include "Broker_svnt.h" -#include "BrokerEC.h" -#include "Broker_exec_export.h" - -#include <set> -#include <string> - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/LocalObject.h" - -namespace CIDL_StockBroker_Impl -{ - - /** - * @class StockBroker_exec_i - * - * @brief Executor implementation - * - * This class implements Stock::StockBroker component - */ - class BROKER_EXEC_Export StockBroker_exec_i - : public virtual StockBroker_Exec, - public virtual TAO_Local_RefCounted_Object - { - public: - StockBroker_exec_i (void); - virtual ~StockBroker_exec_i (void); - - - // Supported or inherited operations. - - virtual void - stock_subscribe ( - const char * stock_name - ACE_ENV_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC ((CORBA::SystemException, - Stock::Invalid_Stock)); - - virtual void - stock_unsubscribe ( - const char * stock_name - ACE_ENV_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC ((CORBA::SystemException, - Stock::Invalid_Stock)); - - virtual void - push_notify_in ( - ::Stock::StockName *ev - ACE_ENV_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Operations from Components::SessionComponent - - virtual void - set_session_context ( - ::Components::SessionContext_ptr ctx - ACE_ENV_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - virtual void - ciao_preactivate ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - virtual void - ciao_postactivate ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - virtual void - ccm_activate ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - virtual void - ccm_passivate ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - virtual void - ccm_remove ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - protected: - StockBroker_Context *context_; - - private: - std::set<std::string> subscribed_stock_list_; - }; - - - /** - * @class StockBrokerHome_exec_i - * - * @brief Executor implementation - * - * This class implements Stock::StockBrokerHome component - */ - class BROKER_EXEC_Export StockBrokerHome_exec_i - : public virtual StockBrokerHome_Exec, - public virtual TAO_Local_RefCounted_Object - { - public: - StockBrokerHome_exec_i (void); - virtual ~StockBrokerHome_exec_i (void); - - virtual ::Components::EnterpriseComponent_ptr - create ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - }; - - extern "C" BROKER_EXEC_Export ::Components::HomeExecutorBase_ptr - createStockBrokerHome_Impl (void); -} - -#include /**/ "ace/post.h" - -#endif /* CIAO_BROKER_EXEC_H */ - diff --git a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_exec_export.h b/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_exec_export.h deleted file mode 100644 index cb7229d833e..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_exec_export.h +++ /dev/null @@ -1,54 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl BROKER_EXEC -// ------------------------------ -#ifndef BROKER_EXEC_EXPORT_H -#define BROKER_EXEC_EXPORT_H - -#include "ace/config-all.h" - -#if !defined (BROKER_EXEC_HAS_DLL) -# define BROKER_EXEC_HAS_DLL 1 -#endif /* ! BROKER_EXEC_HAS_DLL */ - -#if defined (BROKER_EXEC_HAS_DLL) && (BROKER_EXEC_HAS_DLL == 1) -# if defined (BROKER_EXEC_BUILD_DLL) -# define BROKER_EXEC_Export ACE_Proper_Export_Flag -# define BROKER_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define BROKER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* BROKER_EXEC_BUILD_DLL */ -# define BROKER_EXEC_Export ACE_Proper_Import_Flag -# define BROKER_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define BROKER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* BROKER_EXEC_BUILD_DLL */ -#else /* BROKER_EXEC_HAS_DLL == 1 */ -# define BROKER_EXEC_Export -# define BROKER_EXEC_SINGLETON_DECLARATION(T) -# define BROKER_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* BROKER_EXEC_HAS_DLL == 1 */ - -// Set BROKER_EXEC_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (BROKER_EXEC_NTRACE) -# if (ACE_NTRACE == 1) -# define BROKER_EXEC_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define BROKER_EXEC_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !BROKER_EXEC_NTRACE */ - -#if (BROKER_EXEC_NTRACE == 1) -# define BROKER_EXEC_TRACE(X) -#else /* (BROKER_EXEC_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define BROKER_EXEC_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (BROKER_EXEC_NTRACE == 1) */ - -#endif /* BROKER_EXEC_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_stub_export.h b/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_stub_export.h deleted file mode 100644 index 1d7c2c5fc2b..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_stub_export.h +++ /dev/null @@ -1,54 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl BROKER_STUB -// ------------------------------ -#ifndef BROKER_STUB_EXPORT_H -#define BROKER_STUB_EXPORT_H - -#include "ace/config-all.h" - -#if !defined (BROKER_STUB_HAS_DLL) -# define BROKER_STUB_HAS_DLL 1 -#endif /* ! BROKER_STUB_HAS_DLL */ - -#if defined (BROKER_STUB_HAS_DLL) && (BROKER_STUB_HAS_DLL == 1) -# if defined (BROKER_STUB_BUILD_DLL) -# define BROKER_STUB_Export ACE_Proper_Export_Flag -# define BROKER_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define BROKER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* BROKER_STUB_BUILD_DLL */ -# define BROKER_STUB_Export ACE_Proper_Import_Flag -# define BROKER_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define BROKER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* BROKER_STUB_BUILD_DLL */ -#else /* BROKER_STUB_HAS_DLL == 1 */ -# define BROKER_STUB_Export -# define BROKER_STUB_SINGLETON_DECLARATION(T) -# define BROKER_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* BROKER_STUB_HAS_DLL == 1 */ - -// Set BROKER_STUB_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (BROKER_STUB_NTRACE) -# if (ACE_NTRACE == 1) -# define BROKER_STUB_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define BROKER_STUB_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !BROKER_STUB_NTRACE */ - -#if (BROKER_STUB_NTRACE == 1) -# define BROKER_STUB_TRACE(X) -#else /* (BROKER_STUB_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define BROKER_STUB_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (BROKER_STUB_NTRACE == 1) */ - -#endif /* BROKER_STUB_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_svnt_export.h b/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_svnt_export.h deleted file mode 100644 index 18f606e5539..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Broker/Broker_svnt_export.h +++ /dev/null @@ -1,54 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl BROKER_SVNT -// ------------------------------ -#ifndef BROKER_SVNT_EXPORT_H -#define BROKER_SVNT_EXPORT_H - -#include "ace/config-all.h" - -#if !defined (BROKER_SVNT_HAS_DLL) -# define BROKER_SVNT_HAS_DLL 1 -#endif /* ! BROKER_SVNT_HAS_DLL */ - -#if defined (BROKER_SVNT_HAS_DLL) && (BROKER_SVNT_HAS_DLL == 1) -# if defined (BROKER_SVNT_BUILD_DLL) -# define BROKER_SVNT_Export ACE_Proper_Export_Flag -# define BROKER_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define BROKER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* BROKER_SVNT_BUILD_DLL */ -# define BROKER_SVNT_Export ACE_Proper_Import_Flag -# define BROKER_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define BROKER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* BROKER_SVNT_BUILD_DLL */ -#else /* BROKER_SVNT_HAS_DLL == 1 */ -# define BROKER_SVNT_Export -# define BROKER_SVNT_SINGLETON_DECLARATION(T) -# define BROKER_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* BROKER_SVNT_HAS_DLL == 1 */ - -// Set BROKER_SVNT_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (BROKER_SVNT_NTRACE) -# if (ACE_NTRACE == 1) -# define BROKER_SVNT_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define BROKER_SVNT_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !BROKER_SVNT_NTRACE */ - -#if (BROKER_SVNT_NTRACE == 1) -# define BROKER_SVNT_TRACE(X) -#else /* (BROKER_SVNT_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define BROKER_SVNT_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (BROKER_SVNT_NTRACE == 1) */ - -#endif /* BROKER_SVNT_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cidl b/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cidl deleted file mode 100644 index 53268e84569..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cidl +++ /dev/null @@ -1,21 +0,0 @@ -//$Id$ -//Distributor.cidl,v 1.0 -/** - * @file Distributor.cidl - * - * @author ming xiong <xiongm@isis.vanderbilt.edu> - */ - -#ifndef DISTRIBUTOR_CIDL -#define DISTRIBUTOR_CIDL - -#include "Distributor.idl" - -composition session StockDistributor_Impl { - home executor StockDistributorHome_Exec { - implements Stock::StockDistributorHome; - manages StockDistributor_Exec; - }; -}; - -#endif /* DISTRIBUTOR_CIDL */ diff --git a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cpp b/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cpp deleted file mode 100644 index 431f5c617b4..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.cpp +++ /dev/null @@ -1,128 +0,0 @@ -//$Id$ -/* - * @file Distributor.cpp - * - * @author Ming Xiong <mxiong@dre.vanderbilt.edu> - */ - - -#include "DistributorC.h" -#include "ace/streams.h" -#include "ace/Get_Opt.h" - -const char *distributor_ior = "file://Distributor.ior"; -int rate = 2; -int turn_on = 1; - -int -parse_args (int argc, char *argv[]) -{ - ACE_Get_Opt get_opts (argc, argv, "k:r:of"); - int c; - - while ((c = get_opts ()) != -1) - { - switch (c) - { - case 'k': - distributor_ior = get_opts.opt_arg (); - break; - - case 'o': - turn_on = 1; - break; - - case 'f': - turn_on = 0; - break; - - case 'r': - rate = ACE_OS::atoi (get_opts.opt_arg ()); - break; - - case '?': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "usage: %s\n" - "-o (Start the distribution service)\n" - "-f (Stop the distribution service)\n" - "-k <Distributor IOR> (default is file:\\distributor.ior) \n" - "-r <broadcast frequency in Hertz> (default is 2)\n" - "\n", - argv [0]), - -1); - } - } - - return 0; -} - - -int main (int argc, char* argv[]) -{ - ACE_TRY_NEW_ENV - { - // initialize the ORB - CORBA::ORB_var orb = - CORBA::ORB_init (argc, argv,"" - ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (parse_args (argc, argv) != 0) - { - return -1; - } - - // create the factory object reference, - CORBA::Object_var distributor_obj = - orb->string_to_object (distributor_ior - ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - - // downcast the object reference to the appropriate type - Stock::StockDistributor_var distributor = - Stock::StockDistributor::_narrow (distributor_obj.in () - ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - - if (CORBA::is_nil (distributor.in ())) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to acquire 'Distributor' objref\n"), - -1); - } - - if (turn_on) - { - distributor->rate (rate - ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - - ACE_DEBUG ((LM_DEBUG, "Start up the Distribution service\n")); - - distributor->start (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - } - else - { - ACE_DEBUG ((LM_DEBUG, "Stop the Distribution service\n")); - - distributor->stop (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - } - - orb->destroy (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, - "Who is the culprit \n"); - ACE_ERROR_RETURN ((LM_ERROR, - "Uncaught CORBA exception\n"), - 1); - } - ACE_ENDTRY; - - return 0; -} diff --git a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.idl b/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.idl deleted file mode 100644 index 393f0fa94c1..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.idl +++ /dev/null @@ -1,42 +0,0 @@ -//$Id$ - -#include "../Stock_Base/Stock_Base.idl" - -module Stock -{ - /** - * @class Trigger - * - * @brief supported interface - */ - interface Trigger { - /// Start the real-time monitoring service - void start (); - /// Stop the real-time monitoring service - void stop (); - }; - - - /** - * @class StockDistributor - * - * @brief component - */ - component StockDistributor supports Trigger - { - publishes StockName notify_out; - provides StockQuoter push_quoter; - attribute long rate; - }; - - - /** - * @class StockDistributorHome - * - * @brief home for StockDistributor component - */ - home StockDistributorHome manages StockDistributor - { - }; - -}; diff --git a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.mpc b/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.mpc deleted file mode 100644 index aad6ad54195..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.mpc +++ /dev/null @@ -1,88 +0,0 @@ -// $Id$ -// This file is generated with "generate_component_mpc.pl -p Stock_Base Distributor" - -project(Stock_Base_Distributor_stub): ciao_client_dnc { - avoids += ace_for_tao - after += Stock_Base_stub - sharedname = Distributor_stub - idlflags -= -GT - idlflags += -St \ - -Wb,stub_export_macro=DISTRIBUTOR_STUB_Export \ - -Wb,stub_export_include=Distributor_stub_export.h \ - -Wb,skel_export_macro=DISTRIBUTOR_SVNT_Export \ - -Wb,skel_export_include=Distributor_svnt_export.h - dynamicflags = DISTRIBUTOR_STUB_BUILD_DLL - - libs += Stock_Base_stub - - IDL_Files { - Distributor.idl - } - - Source_Files { - DistributorC.cpp - } -} - -project(Stock_Base_Distributor_svnt) : ciao_servant_dnc { - avoids += ace_for_tao - after += Stock_Base_skel Stock_Base_Distributor_stub - sharedname = Distributor_svnt - libs += Distributor_stub Stock_Base_stub Stock_Base_skel - - idlflags -= -GT - idlflags += -SS -St \ - -Wb,export_macro=DISTRIBUTOR_SVNT_Export \ - -Wb,export_include=Distributor_svnt_export.h - dynamicflags = DISTRIBUTOR_SVNT_BUILD_DLL - - CIDL_Files { - Distributor.cidl - } - - IDL_Files { - DistributorE.idl - } - - Source_Files { - DistributorEC.cpp - DistributorS.cpp - Distributor_svnt.cpp - } -} - - -project(Stock_Base_Distributor_exec) : ciao_component_dnc { - avoids += ace_for_tao - after += Stock_Base_Distributor_svnt - sharedname = Distributor_exec - libs += Distributor_stub \ - Distributor_svnt \ - Stock_Base_stub \ - Stock_Base_skel - - dynamicflags = DISTRIBUTOR_EXEC_BUILD_DLL - - IDL_Files { - } - - Source_Files { - Distributor_exec.cpp - } -} - - -project (Stock_Distributor) : ciao_client_dnc, valuetype{ - avoids += ace_for_tao - exename = Distributor - after += Stock_Base_Distributor_stub - libs += Distributor_stub Stock_Base_stub - - IDL_Files { - } - - Source_Files { - Distributor.cpp - } -} - diff --git a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_exec.cpp b/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_exec.cpp deleted file mode 100644 index 236bcc345a1..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_exec.cpp +++ /dev/null @@ -1,373 +0,0 @@ -//$Id$ -/* - * @file Distributor_exec.cpp - * - * @author Ming Xiong <mxiong@dre.vanderbilt.edu> - */ - -#include "Distributor_exec.h" -#include "ciao/CIAO_common.h" -#include "ace/Reactor.h" - - -namespace CIDL_StockDistributor_Impl -{ - - // initialze the stock values - CORBA::Long - StockDistributor_exec_i::ibm_ = 100; - - CORBA::Long - StockDistributor_exec_i::msft_ = 101; - - //================================================================== - // C L A S S: pulse_Generator - //================================================================== - - pulse_Generator::pulse_Generator (StockDistributor_exec_i *callback) - : active_ (0), - pulse_callback_ (callback) - { - // initialize the reactor - this->reactor (ACE_Reactor::instance ()); - } - - pulse_Generator::~pulse_Generator () - { - } - - int - pulse_Generator::open_h () - { - // convert the task into a active object that runs in separate thread - return this->activate (); - } - - int - pulse_Generator::close_h () - { - this->reactor ()->end_reactor_event_loop (); - - // wait for all threads in the task to exit before it returns - return this->wait (); - } - - int - pulse_Generator::start (CORBA::Long hertz) - { - // return if not valid - if (hertz == 0 || this->active_ != 0) - { - return -1; - } - - // calculate the interval time - long usec = 1000000 / hertz; - - if (this->reactor ()->schedule_timer (this, - 0, - ACE_Time_Value (0, usec), - ACE_Time_Value (0, usec)) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "Unable to setup Timer\n"), - -1); - - } - - this->active_ = 1; - return 0; - } - - int - pulse_Generator::stop (void) - { - // return if not valid. - if (this->active_ == 0) - { - return -1; - } - // cancle the timer - this->reactor ()->cancel_timer (this); - this->active_ = 0; - return 0; - } - - int - pulse_Generator::active (void) - { - return this->active_; - } - - int - pulse_Generator::handle_close (ACE_HANDLE handle, - ACE_Reactor_Mask close_mask) - { - if (CIAO::debug_level () > 0) - { - ACE_DEBUG ((LM_DEBUG, - ACE_TEXT ("[%x] handle = %d, close_mask = %d\n"), - this, - handle, - close_mask)); - } - return 0; - } - - int - pulse_Generator::handle_timeout (const ACE_Time_Value &, - const void *) - { - // Notify the subscribers - this->pulse_callback_->push_notify_out (); - return 0; - } - - int - pulse_Generator::svc (void) - { - // define the owner of the reactor thread - this->reactor ()->owner (ACE_OS::thr_self ()); - - // run event loop to wait for event, and then dispatch them to corresponding handlers - this->reactor ()->run_reactor_event_loop (); - - return 0; - } - - - - //================================================================== - // Facet Executor Implementation Class: StockQuoter_exec_i - //================================================================== - - ::Stock::StockInfo * - StockQuoter_exec_i::get_stock_info (const char *stock_name - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Stock::Invalid_Stock)) - { - if (strcmp (stock_name, "MSFT") == 0) - { - Stock::StockInfo_var info = new Stock::StockInfo; - info->name = CORBA::string_dup ("MSFT"); - info->high = 10000; - info->low = 0; - info->last = this->distributor_.msft_; // retrieve the current stock value - return info._retn (); - } - else if (strcmp (stock_name, "IBM") == 0) - { - Stock::StockInfo_var info = new Stock::StockInfo; - info->name = CORBA::string_dup ("IBM"); - info->high = 10000; - info->low = 0; - info->last = this->distributor_.ibm_; // retrieve the current stock value - return info._retn (); - } - else - { - ACE_THROW_RETURN (Stock::Invalid_Stock (), 0); - } - } - - //================================================================== - // Component Executor Implementation Class: StockDistributor_exec_i - //================================================================== - - StockDistributor_exec_i::StockDistributor_exec_i (void) - : rate_ (0), pulser_ (this) - { - } - - StockDistributor_exec_i::~StockDistributor_exec_i (void) - { - } - - // Supported or inherited operations. - - void - StockDistributor_exec_i::start ( - ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) - { - if (this->rate_ == 0 || this->pulser_.active()) - { - ACE_THROW (CORBA::BAD_PARAM ()); - } - - this->pulser_.start (this->rate_); - } - - void - StockDistributor_exec_i::stop ( - ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) - { - if (! this->pulser_.active ()) - { - ACE_THROW (CORBA::BAD_INV_ORDER ()); - } - - this->pulser_.stop (); - } - - // Attribute operations. - - ::CORBA::Long - StockDistributor_exec_i::rate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC ((CORBA::SystemException)) - { - return this->rate_; - } - - void - StockDistributor_exec_i::rate ( - ::CORBA::Long rate - ACE_ENV_ARG_DECL_NOT_USED) - ACE_THROW_SPEC ((CORBA::SystemException)) - { - this->rate_ = rate; - } - - // Port operations. - - ::Stock::CCM_StockQuoter_ptr - StockDistributor_exec_i::get_push_quoter (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC ((CORBA::SystemException)) - { - return new StockQuoter_exec_i (*this); - } - - void - StockDistributor_exec_i::push_notify_out () - ACE_THROW_SPEC ((CORBA::SystemException)) - { - this->msft_++; - this->ibm_++; - - Stock::StockName_var ev_msft = new OBV_Stock::StockName; - ev_msft->name (CORBA::string_dup ("MSFT")); - this->context_->push_notify_out (ev_msft.in ()); - - Stock::StockName_var ev_ibm = new OBV_Stock::StockName; - ev_ibm->name (CORBA::string_dup ("IBM")); - this->context_->push_notify_out (ev_ibm.in ()); - } - - // Operations from Components::SessionComponent - - void - StockDistributor_exec_i::set_session_context ( - ::Components::SessionContext_ptr ctx - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - this->context_ = StockDistributor_Context::_narrow (ctx - ACE_ENV_ARG_PARAMETER); - ACE_CHECK; - - if (this->context_ == 0) - { - ACE_THROW (CORBA::INTERNAL ()); - } - } - - void - StockDistributor_exec_i::ciao_preactivate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - } - - void - StockDistributor_exec_i::ciao_postactivate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - } - - void - StockDistributor_exec_i::ccm_activate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - // Start the active object - this->pulser_.open_h (); - } - - void - StockDistributor_exec_i::ccm_passivate ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - // Deactivate the active object - this->pulser_.close_h (); - } - - void - StockDistributor_exec_i::ccm_remove ( - ACE_ENV_SINGLE_ARG_DECL_NOT_USED) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - } - - //================================================================== - // Home Executor Implementation Class: StockDistributorHome_exec_i - //================================================================== - - StockDistributorHome_exec_i::StockDistributorHome_exec_i (void) - { - } - - StockDistributorHome_exec_i::~StockDistributorHome_exec_i (void) - { - } - - ::Components::EnterpriseComponent_ptr - StockDistributorHome_exec_i::create ( - ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)) - { - ::Components::EnterpriseComponent_ptr retval = - ::Components::EnterpriseComponent::_nil (); - - ACE_NEW_THROW_EX ( - retval, - StockDistributor_exec_i, - CORBA::NO_MEMORY ()); - ACE_CHECK_RETURN (::Components::EnterpriseComponent::_nil ()); - return retval; - } - - extern "C" DISTRIBUTOR_EXEC_Export ::Components::HomeExecutorBase_ptr - createStockDistributorHome_Impl (void) - { - ::Components::HomeExecutorBase_ptr retval = - ::Components::HomeExecutorBase::_nil (); - - ACE_NEW_RETURN ( - retval, - StockDistributorHome_exec_i, - ::Components::HomeExecutorBase::_nil ()); - - return retval; - } -} - diff --git a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_exec.h b/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_exec.h deleted file mode 100644 index 605179ab613..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_exec.h +++ /dev/null @@ -1,271 +0,0 @@ -//$Id$ -/* - * @file Distributor_exec.h - * - * @author Ming Xiong <mxiong@dre.vanderbilt.edu> - */ - - - -#ifndef CIAO_DISTRIBUTOR_EXEC_H -#define CIAO_DISTRIBUTOR_EXEC_H - -#include /**/ "ace/pre.h" -#include "ace/Thread_Manager.h" -#include "ace/Task.h" - - -#include "Distributor_svnt.h" -#include "DistributorEC.h" -#include "Distributor_exec_export.h" - - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/LocalObject.h" - -namespace CIDL_StockDistributor_Impl -{ - class StockDistributor_exec_i; - - /** - * @class StockQuoter_exec_i - * - * @brief Executor implementation - * - * This class implements Stock::StockQuoter interface. We use this interface - * to acquire the information of the stock - */ - class DISTRIBUTOR_EXEC_Export StockQuoter_exec_i - : public virtual ::Stock::CCM_StockQuoter, - public virtual TAO_Local_RefCounted_Object - { - public: - StockQuoter_exec_i (StockDistributor_exec_i &distributor) - :distributor_ (distributor) - { - } - - // Operations from ::Stock::StockQuoter - - virtual ::Stock::StockInfo * - get_stock_info ( - const char * stock_name - ACE_ENV_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Stock::Invalid_Stock)); - - /// User defined - - private: - /// Maintains a handle to the distributor so that the quoter can refer to it for latest quote - StockDistributor_exec_i &distributor_; - }; - - class StockDistributor_exec_i; - - /** - * @class pulse generator - * - * @brief an active object used by StockDistributor to perform periodical pulse generation - * - */ - class pulse_Generator : public ACE_Task_Base - { - public: - pulse_Generator (StockDistributor_exec_i *callback); - - ~pulse_Generator (); - - /// Hook method that performs application-defined initialization activities - int open_h (void); - - /// Hook method that performs application-defined destruction activites - int close_h (void); - - /// appliation-defined method for starting the pulse-generation service - int start (CORBA::Long hertz); - - /// application-defined method for stopping the pulse-generation service - int stop (void); - - /// Indicate whether the current object is active - int active (void); - - /// Handle the timeout. - virtual int handle_timeout (const ACE_Time_Value &tv, - const void *arg); - - /// Called when timer handler is removed. - virtual int handle_close (ACE_HANDLE handle, - ACE_Reactor_Mask close_mask); - - /// Hook methods implemnting the task's service processing, - /// invoked by all threads activated by activate () method - virtual int svc (void); - - private: - /// Tracking whether we are actively generating pulse or not. - int active_; - - /// Maintains a handle that actually process the event - StockDistributor_exec_i *pulse_callback_; - - }; - - - /** - * @class StockDistributor_exec_i - * - * @brief Executor implementation - * - * This class implements Stock::StockDistributor component - */ - class DISTRIBUTOR_EXEC_Export StockDistributor_exec_i - : public virtual StockDistributor_Exec, - public virtual TAO_Local_RefCounted_Object - { - public: - StockDistributor_exec_i (void); - virtual ~StockDistributor_exec_i (void); - - // Supported or inherited operations. - - virtual void - start ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual void - stop ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Attribute operations. - - virtual ::CORBA::Long - rate ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual void - rate ( - ::CORBA::Long - ACE_ENV_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Port operations. - - virtual ::Stock::CCM_StockQuoter_ptr - get_push_quoter ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC ((CORBA::SystemException)); - - // Operations from Components::SessionComponent - - virtual void - set_session_context ( - ::Components::SessionContext_ptr ctx - ACE_ENV_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - virtual void - ciao_preactivate ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - virtual void - ciao_postactivate ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - virtual void - ccm_activate ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - virtual void - ccm_passivate ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - virtual void - ccm_remove ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - - protected: - StockDistributor_Context *context_; - - /// User defined members - public: - - /// push event to all subscribers - void push_notify_out () - ACE_THROW_SPEC (( - ::CORBA::SystemException - )); - - private: - /// pulse generation rate - CORBA::Long rate_; - - /// pulser object - pulse_Generator pulser_; - - /// "real-time" stock value - static CORBA::Long msft_; - - /// "real-tiime" stock value - static CORBA::Long ibm_; - - friend class StockQuoter_exec_i; - }; - - - /** - * @class StockDistributorHome_exec_i - * - * @brief Executor implementation - * - * This class implements Stock::StockDistributorHome - */ - class DISTRIBUTOR_EXEC_Export StockDistributorHome_exec_i - : public virtual StockDistributorHome_Exec, - public virtual TAO_Local_RefCounted_Object - { - public: - StockDistributorHome_exec_i (void); - virtual ~StockDistributorHome_exec_i (void); - - virtual ::Components::EnterpriseComponent_ptr - create ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) - ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::Components::CCMException)); - }; - - extern "C" DISTRIBUTOR_EXEC_Export ::Components::HomeExecutorBase_ptr - createStockDistributorHome_Impl (void); -} - -#include /**/ "ace/post.h" - -#endif /* CIAO_DISTRIBUTOR_EXEC_H */ - diff --git a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_exec_export.h b/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_exec_export.h deleted file mode 100644 index a3509e015da..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_exec_export.h +++ /dev/null @@ -1,54 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl DISTRIBUTOR_EXEC -// ------------------------------ -#ifndef DISTRIBUTOR_EXEC_EXPORT_H -#define DISTRIBUTOR_EXEC_EXPORT_H - -#include "ace/config-all.h" - -#if !defined (DISTRIBUTOR_EXEC_HAS_DLL) -# define DISTRIBUTOR_EXEC_HAS_DLL 1 -#endif /* ! DISTRIBUTOR_EXEC_HAS_DLL */ - -#if defined (DISTRIBUTOR_EXEC_HAS_DLL) && (DISTRIBUTOR_EXEC_HAS_DLL == 1) -# if defined (DISTRIBUTOR_EXEC_BUILD_DLL) -# define DISTRIBUTOR_EXEC_Export ACE_Proper_Export_Flag -# define DISTRIBUTOR_EXEC_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define DISTRIBUTOR_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* DISTRIBUTOR_EXEC_BUILD_DLL */ -# define DISTRIBUTOR_EXEC_Export ACE_Proper_Import_Flag -# define DISTRIBUTOR_EXEC_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define DISTRIBUTOR_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* DISTRIBUTOR_EXEC_BUILD_DLL */ -#else /* DISTRIBUTOR_EXEC_HAS_DLL == 1 */ -# define DISTRIBUTOR_EXEC_Export -# define DISTRIBUTOR_EXEC_SINGLETON_DECLARATION(T) -# define DISTRIBUTOR_EXEC_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* DISTRIBUTOR_EXEC_HAS_DLL == 1 */ - -// Set DISTRIBUTOR_EXEC_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (DISTRIBUTOR_EXEC_NTRACE) -# if (ACE_NTRACE == 1) -# define DISTRIBUTOR_EXEC_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define DISTRIBUTOR_EXEC_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !DISTRIBUTOR_EXEC_NTRACE */ - -#if (DISTRIBUTOR_EXEC_NTRACE == 1) -# define DISTRIBUTOR_EXEC_TRACE(X) -#else /* (DISTRIBUTOR_EXEC_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define DISTRIBUTOR_EXEC_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (DISTRIBUTOR_EXEC_NTRACE == 1) */ - -#endif /* DISTRIBUTOR_EXEC_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_stub_export.h b/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_stub_export.h deleted file mode 100644 index 1126c5bc355..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_stub_export.h +++ /dev/null @@ -1,54 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl DISTRIBUTOR_STUB -// ------------------------------ -#ifndef DISTRIBUTOR_STUB_EXPORT_H -#define DISTRIBUTOR_STUB_EXPORT_H - -#include "ace/config-all.h" - -#if !defined (DISTRIBUTOR_STUB_HAS_DLL) -# define DISTRIBUTOR_STUB_HAS_DLL 1 -#endif /* ! DISTRIBUTOR_STUB_HAS_DLL */ - -#if defined (DISTRIBUTOR_STUB_HAS_DLL) && (DISTRIBUTOR_STUB_HAS_DLL == 1) -# if defined (DISTRIBUTOR_STUB_BUILD_DLL) -# define DISTRIBUTOR_STUB_Export ACE_Proper_Export_Flag -# define DISTRIBUTOR_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define DISTRIBUTOR_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* DISTRIBUTOR_STUB_BUILD_DLL */ -# define DISTRIBUTOR_STUB_Export ACE_Proper_Import_Flag -# define DISTRIBUTOR_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define DISTRIBUTOR_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* DISTRIBUTOR_STUB_BUILD_DLL */ -#else /* DISTRIBUTOR_STUB_HAS_DLL == 1 */ -# define DISTRIBUTOR_STUB_Export -# define DISTRIBUTOR_STUB_SINGLETON_DECLARATION(T) -# define DISTRIBUTOR_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* DISTRIBUTOR_STUB_HAS_DLL == 1 */ - -// Set DISTRIBUTOR_STUB_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (DISTRIBUTOR_STUB_NTRACE) -# if (ACE_NTRACE == 1) -# define DISTRIBUTOR_STUB_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define DISTRIBUTOR_STUB_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !DISTRIBUTOR_STUB_NTRACE */ - -#if (DISTRIBUTOR_STUB_NTRACE == 1) -# define DISTRIBUTOR_STUB_TRACE(X) -#else /* (DISTRIBUTOR_STUB_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define DISTRIBUTOR_STUB_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (DISTRIBUTOR_STUB_NTRACE == 1) */ - -#endif /* DISTRIBUTOR_STUB_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_svnt_export.h b/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_svnt_export.h deleted file mode 100644 index 78debd1c32b..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor_svnt_export.h +++ /dev/null @@ -1,54 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl DISTRIBUTOR_SVNT -// ------------------------------ -#ifndef DISTRIBUTOR_SVNT_EXPORT_H -#define DISTRIBUTOR_SVNT_EXPORT_H - -#include "ace/config-all.h" - -#if !defined (DISTRIBUTOR_SVNT_HAS_DLL) -# define DISTRIBUTOR_SVNT_HAS_DLL 1 -#endif /* ! DISTRIBUTOR_SVNT_HAS_DLL */ - -#if defined (DISTRIBUTOR_SVNT_HAS_DLL) && (DISTRIBUTOR_SVNT_HAS_DLL == 1) -# if defined (DISTRIBUTOR_SVNT_BUILD_DLL) -# define DISTRIBUTOR_SVNT_Export ACE_Proper_Export_Flag -# define DISTRIBUTOR_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define DISTRIBUTOR_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* DISTRIBUTOR_SVNT_BUILD_DLL */ -# define DISTRIBUTOR_SVNT_Export ACE_Proper_Import_Flag -# define DISTRIBUTOR_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define DISTRIBUTOR_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* DISTRIBUTOR_SVNT_BUILD_DLL */ -#else /* DISTRIBUTOR_SVNT_HAS_DLL == 1 */ -# define DISTRIBUTOR_SVNT_Export -# define DISTRIBUTOR_SVNT_SINGLETON_DECLARATION(T) -# define DISTRIBUTOR_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* DISTRIBUTOR_SVNT_HAS_DLL == 1 */ - -// Set DISTRIBUTOR_SVNT_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (DISTRIBUTOR_SVNT_NTRACE) -# if (ACE_NTRACE == 1) -# define DISTRIBUTOR_SVNT_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define DISTRIBUTOR_SVNT_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !DISTRIBUTOR_SVNT_NTRACE */ - -#if (DISTRIBUTOR_SVNT_NTRACE == 1) -# define DISTRIBUTOR_SVNT_TRACE(X) -#else /* (DISTRIBUTOR_SVNT_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define DISTRIBUTOR_SVNT_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (DISTRIBUTOR_SVNT_NTRACE == 1) */ - -#endif /* DISTRIBUTOR_SVNT_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/docs/tutorials/Quoter/Simple/README.html b/CIAO/docs/tutorials/Quoter/Simple/README.html deleted file mode 100644 index 85e38e81150..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/README.html +++ /dev/null @@ -1,172 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<!--//$Id$ --> -</head> -<body> -<b><font size="5">Quoter example README</font></b> -<p>To download the source codes of this example please refer to the SVN -repository at <code>$CIAO_ROOT\docs\tutorials\Quoter\Simple</code> -</p> -<hr> -<h2>Example Description</h2> -<div align="left"> -<font face="Times New Roman" size="3">The <b>StockDistributor</b> -component would be monitoring a real-time stock database. When the -values of particular stocks change, it pushes a CCM <b>eventtype</b> -that contains the stock's name via a CCM event source to the -corresponding CCM </font> -</div> -<div align="left"> -<font face="Times New Roman" size="3">event sink implemented by one or -more <b>StockBroker</b> components. If these components are interested -in the stock they can obtain more information about it by invoking a -request/response operation via their CCM receptacle on a CCM facet -exported by the <b>StockDistributor</b> component. The diagram of this -example is shown in fig 1.</font> -</div> -<p align="center"><img alt="" src="images/quoter.jpg" - style="width: 362px; height: 212px;"><br> -figure 1<br> -</p> -<h2 align="justify"><span style="font-weight: 400;"><font size="3"></font></span><span - style="font-weight: 400;"><font size="3">This example -is based on a series of </font> <a - href="http://www.cs.wustl.edu/%7Eschmidt/report-doc.html"><font - size="3">CORBA Component Model</font></a><font size="3"> columns -written by <a href="http://www.cs.wustl.edu/%7Eschmidt/">Douglas -Schmidt</a> and <a href="http://www.iona.com/hyplan/vinoski/">Steve -Vinoski</a>, and has been consistently used as a example for <a - href="http://www.cs.wustl.edu/%7Eschmidt/TAO.html">TAO</a>. Please -refer to <a - href="../../../../../docs/tutorials/Quoter/index.html">TAO -online tutorial</a> for details. <br> -</font></span></h2> -<h2>The files you will find</h2> -<li>The interfaces, data types and exceptions shared by the components -of -this -application are specified in the <a href="Stock_Base/Stock_Base.idl"><code>Stock_Base.idl</code></a>.<code></code>The -lib -generated -from Stock_Base.idl is linked to all the components of this example.</li> -<li> mpc files for each of the components are available in the -components -directories. We use the <a - href="http://downloads.ociweb.com/MPC/MakeProjectCreator.pdf">MPC</a> -to -generate makefiles and Visual C++ project/solutions files for all <a - href="http://www.cs.wustl.edu/%7Eschmidt/ACE.html">ACE</a>, <a - href="http://www.cs.wustl.edu/%7Eschmidt/TAO.html">TAO</a> and <a - href="http://www.cs.wustl.edu/%7Eschmidt/CIAO.html">CIAO</a> -libraries. </li> -<li> idl and cidl files for each component are placed in -components directory. -</li> -<li> The <code>_exec.h</code> and <code>_exec.cpp</code> files -are the actual -implementation of the components.</li> -<hr> -<h3><font size="5">Make</font></h3> -Navigate to the directory <code>$CIAO_ROOT/docs/tutorials/Quoter/Simple</code> -and do:<br> -<code>$ACE_ROOT/bin/mwc.pl -type gnuace</code> (use different -type option -if you are using a -compiler/IDE other than GNU make) <br> -For example, use <code>%ACE_ROOT%/bin/mwc.pl -type vc71</code> if you -are using -Visual C++ 7.1 IDE.<br> -<br> -Then build/make the generated project/make files. Correct errors in the -source codes if necessary.<br> -<hr> -<h3><font size="5">Assemble</font></h3> -<p>Now we can step forward to build the assembly. </p> -<li>In the descriptor subdirectory, you'll find a XML descriptor file -that -describes your <em>deployment plan</em>, the -flattened_deploymentplan.cdp. This file declaratively specifies how the -component assembly is -constructed. -Specifically, it defines the component types, component instances, -component -connections and implementation artifact descriptions. <br> -</li> -<dd> - <li>Please make sure that the Modified_Deployment.xsd and XMI.xsd -files -are in the Display/descriptors directory. The former file could be -found in $CIAO_ROOT/docs/schema -directory. <br> - <br> -Note: Creating the deployment plan descriptor is a tedious and -error-prone job, -you can download <a href="http://www.dre.vanderbilt.edu/cosmic">CoSMIC</a> -to -assist you in this step. Please refer to <a - href="http://www.dre.vanderbilt.edu/%7Emxiong/tutorial">this tutorial</a> -to see how you can use CoSMIC to automatically generate the descriptor -file. - <p></p> - <hr></li> -</dd> -<h2>Running the program </h2> ->From different shells in <code>$CIAO_ROOT/docs/tutorials/Quoter/Simple/</code><code>descriptors/</code> -directory: -<ul> - <li>Start NodeManagers (NodeDameon) by running runNodeDaemon.pl </li> - <li>Start the execution manager -$CIAO_ROOT/DAnCE/ExecutionManager/Execution_Manager -o ior -i -Stock.dat </li> -</ul> -<p>The Stock.dat file describes the deployment daemons CIAO's -Execution_Manager -will contact to instantiate ComponentServer's, home's, and component -instances. -Each line specify the name of a installation "destination" and the -corresponding corbaloc IOR for the CIAO_Daemon.</p> -<ul type="square"> - <li><em>NOTE</em>: As one can see, we use the "Stock.dat" file to -instruct the Execution_Manager how to find the endpoint of each -individual NodeManager (i.e., Node Daemon) where component(s) will be -deployed, so this is non-standard. We plan to use Naming Service to do -this in the future. </li> -</ul> -<ul> - <li> Start the plan_launcher by running -$CIAO_ROOT/DAnCE/Plan_Launcher/plan_launcher -p -flattened_deploymentplan.cdp -k file://ior</li> - <li>By now the components should be successfully deployed. You may -run the driver program to start the application. Open a new shell, keep -in the /Quoter/descriptors directory, and try the following -commands, see what happens in the component server<br> - </li> -</ul> - <br> - Start the distributor -service at a frequency of 3 hertz:<br> - <span style="color: rgb(51, 102, 255);">../Distributor/Distributor.exe --o -r3</span><br> -<br> - Use the broker program to -subscribe to MSFT stock<br> - <span - style="color: rgb(51, 102, 255);">../Broker/Broker.exe -s MSFT</span><br> -<br> - Subscribe to IBM stock<br> - <span - style="color: rgb(51, 102, 255);">../Broker/Broker.exe -s IBM</span><br> -<br> - Unsubscribe to MSFT stock<br> - <span - style="color: rgb(51, 102, 255);">../Broker/Broker -u MSFT</span><br> -<br> - Turn off the distribution -service:<br> - <span - style="color: rgb(51, 102, 255);">../Distributor/Distributor -f </span><br> -<br> -Please contact mxiong@dre.vanderbilt.edu if you have any questions. - <br> -</body> -</html> diff --git a/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base.idl b/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base.idl deleted file mode 100644 index b038cdca509..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base.idl +++ /dev/null @@ -1,41 +0,0 @@ -//$Id$ - -#include <Components.idl> - -module Stock -{ - exception Invalid_Stock {}; - typedef sequence<octet> ImageBlob; - - /** - * @struct StockInfo - */ - struct StockInfo { - string name; - long high; - long low; - long last; - }; - - /** - * @interface: StockQuoter - * - * @brief: component facet - */ - interface StockQuoter { - /// Returns the current stock info - StockInfo get_stock_info (in string stock_name) - raises (Invalid_Stock); - }; - - - /** - * @event StockName - * - * @brief component event - */ - eventtype StockName { - // Name of the stock. - public string name; - }; -}; diff --git a/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base.mpc b/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base.mpc deleted file mode 100644 index 6f3cde298ff..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base.mpc +++ /dev/null @@ -1,46 +0,0 @@ -// $Id$ -// This file is generated with "generate_component_mpc.pl -n Stock_Base" - -project(Stock_Base_stub): ciao_client_dnc { - - sharedname = Stock_Base_stub - idlflags -= -GT - idlflags += -Wb,stub_export_macro=STOCK_BASE_STUB_Export \ - -Wb,stub_export_include=Stock_Base_stub_export.h \ - -Wb,skel_export_macro=STOCK_BASE_SKEL_Export \ - -Wb,skel_export_include=Stock_Base_skel_export.h - dynamicflags = STOCK_BASE_STUB_BUILD_DLL - - IDL_Files { - Stock_Base.idl - } - - Source_Files { - Stock_BaseC.cpp - } -} - -project(Stock_Base_skel) : ciao_servant_dnc { - after += Stock_Base_stub - sharedname = Stock_Base_skel - libs += Stock_Base_stub - - idlflags -= -GT - idlflags += -Wb,stub_export_macro=STOCK_BASE_STUB_Export \ - -Wb,stub_export_include=Stock_Base_stub_export.h \ - -Wb,skel_export_macro=STOCK_BASE_SKEL_Export \ - -Wb,skel_export_include=Stock_Base_skel_export.h - dynamicflags = STOCK_BASE_SKEL_BUILD_DLL - - IDL_Files { - Stock_Base.idl - } - - Source_Files { - Stock_BaseS.cpp - } -} - - - - diff --git a/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base_skel_export.h b/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base_skel_export.h deleted file mode 100644 index 262ab650fed..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base_skel_export.h +++ /dev/null @@ -1,54 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl STOCK_BASE_SVNT -// ------------------------------ -#ifndef STOCK_BASE_SKEL_EXPORT_H -#define STOCK_BASE_SKEL_EXPORT_H - -#include "ace/config-all.h" - -#if !defined (STOCK_BASE_SKEL_HAS_DLL) -# define STOCK_BASE_SKEL_HAS_DLL 1 -#endif /* ! STOCK_BASE_SKEL_HAS_DLL */ - -#if defined (STOCK_BASE_SKEL_HAS_DLL) && (STOCK_BASE_SKEL_HAS_DLL == 1) -# if defined (STOCK_BASE_SKEL_BUILD_DLL) -# define STOCK_BASE_SKEL_Export ACE_Proper_Export_Flag -# define STOCK_BASE_SKEL_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define STOCK_BASE_SKEL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* STOCK_BASE_SKEL_BUILD_DLL */ -# define STOCK_BASE_SKEL_Export ACE_Proper_Import_Flag -# define STOCK_BASE_SKEL_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define STOCK_BASE_SKEL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* STOCK_BASE_SKEL_BUILD_DLL */ -#else /* STOCK_BASE_SKEL_HAS_DLL == 1 */ -# define STOCK_BASE_SKEL_Export -# define STOCK_BASE_SKEL_SINGLETON_DECLARATION(T) -# define STOCK_BASE_SKEL_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* STOCK_BASE_SKEL_HAS_DLL == 1 */ - -// Set STOCK_BASE_SKEL_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (STOCK_BASE_SKEL_NTRACE) -# if (ACE_NTRACE == 1) -# define STOCK_BASE_SKEL_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define STOCK_BASE_SKEL_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !STOCK_BASE_SKEL_NTRACE */ - -#if (STOCK_BASE_SKEL_NTRACE == 1) -# define STOCK_BASE_SKEL_TRACE(X) -#else /* (STOCK_BASE_SKEL_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define STOCK_BASE_SKEL_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (STOCK_BASE_SKEL_NTRACE == 1) */ - -#endif /* STOCK_BASE_SKEL_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base_stub_export.h b/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base_stub_export.h deleted file mode 100644 index 1b73531da37..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/Stock_Base/Stock_Base_stub_export.h +++ /dev/null @@ -1,54 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl STOCK_BASE_STUB -// ------------------------------ -#ifndef STOCK_BASE_STUB_EXPORT_H -#define STOCK_BASE_STUB_EXPORT_H - -#include "ace/config-all.h" - -#if !defined (STOCK_BASE_STUB_HAS_DLL) -# define STOCK_BASE_STUB_HAS_DLL 1 -#endif /* ! STOCK_BASE_STUB_HAS_DLL */ - -#if defined (STOCK_BASE_STUB_HAS_DLL) && (STOCK_BASE_STUB_HAS_DLL == 1) -# if defined (STOCK_BASE_STUB_BUILD_DLL) -# define STOCK_BASE_STUB_Export ACE_Proper_Export_Flag -# define STOCK_BASE_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define STOCK_BASE_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* STOCK_BASE_STUB_BUILD_DLL */ -# define STOCK_BASE_STUB_Export ACE_Proper_Import_Flag -# define STOCK_BASE_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define STOCK_BASE_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* STOCK_BASE_STUB_BUILD_DLL */ -#else /* STOCK_BASE_STUB_HAS_DLL == 1 */ -# define STOCK_BASE_STUB_Export -# define STOCK_BASE_STUB_SINGLETON_DECLARATION(T) -# define STOCK_BASE_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* STOCK_BASE_STUB_HAS_DLL == 1 */ - -// Set STOCK_BASE_STUB_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (STOCK_BASE_STUB_NTRACE) -# if (ACE_NTRACE == 1) -# define STOCK_BASE_STUB_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define STOCK_BASE_STUB_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !STOCK_BASE_STUB_NTRACE */ - -#if (STOCK_BASE_STUB_NTRACE == 1) -# define STOCK_BASE_STUB_TRACE(X) -#else /* (STOCK_BASE_STUB_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define STOCK_BASE_STUB_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (STOCK_BASE_STUB_NTRACE == 1) */ - -#endif /* STOCK_BASE_STUB_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker.ccd b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker.ccd deleted file mode 100644 index c2a0630b87b..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker.ccd +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ComponentInterfaceDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - - <label>Broker Component</label> - <UUID>803f8fc7-55de-4a20-81eb-ae951d85b7f4</UUID> - <specificType>IDL:Stock/StockBroker:1.0</specificType> - <supportedType>IDL:Stock/StockBroker:1.0</supportedType> - <port> - <name>notify_in</name> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <provider>false</provider> - <supportedType>IDL:Stock/StockName:1.0</supportedType> - <specificType>IDL:Stock/StockName:1.0</specificType> - <kind>EventConsumer</kind> - </port> - <port> - <name>read_quoter</name> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <provider>false</provider> - <supportedType>IDL:Stock/StockQuoter:1.0</supportedType> - <specificType>IDL:Stock/StockQuoter:1.0</specificType> - <kind>SimplexReceptacle</kind> - </port> - -</Deployment:ComponentInterfaceDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker.cid b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker.cid deleted file mode 100644 index 47f49102136..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker.cid +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ComponentImplementationDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Broker Implementation</label> - <UUID>789e1be2-703f-4bd3-af50-b400eef91fd0</UUID> - <implements href="Broker.ccd"/> - <monolithicImpl> - <primaryArtifact> - <name>Broker_stub</name> - <referencedArtifact href="Broker_Stub.iad"/> - </primaryArtifact> - <primaryArtifact> - <name>Broker_svnt</name> - <referencedArtifact href="Broker_Svnt.iad"/> - </primaryArtifact> - <primaryArtifact> - <name>Broker_exec</name> - <referencedArtifact href="Broker_Exec.iad"/> - </primaryArtifact> - </monolithicImpl> - <configProperty> - <name>ComponentIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Broker.ior</string> - </value> - </value> - </configProperty> -</Deployment:ComponentImplementationDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker.cpd b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker.cpd deleted file mode 100644 index cc6381b658a..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker.cpd +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ComponentPackageDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Broker Package</label> - <UUID>07ebf947-2174-4a3b-bd37-bcb92986eaf4</UUID> - <realizes href="Broker.ccd"/> - <implementation> - <name>Broker</name> - <referencedImplementation href="Broker.cid"/> - </implementation> -</Deployment:ComponentPackageDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker_Exec.iad b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker_Exec.iad deleted file mode 100644 index 724a5b2c6bb..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker_Exec.iad +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ImplementationArtifactDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Broker Executor Artifact</label> - <UUID>5e4f2366-3810-4d4c-a269-5788a525cbe1</UUID> - <location>Broker_exec</location> - <dependsOn> - <name>ACE</name> - <referencedArtifact href="Libraries.iad"/> - </dependsOn> - <dependsOn> - <name>Broker_Stub</name> - <referencedArtifact href="Broker_Stub.iad"/> - </dependsOn> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createStockBrokerHome_Impl</string> - </value> - </value> - </execParameter> -</Deployment:ImplementationArtifactDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker_Stub.iad b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker_Stub.iad deleted file mode 100644 index ac1f0834e19..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker_Stub.iad +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ImplementationArtifactDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Broker Stub Artifact</label> - <UUID>93bbdf7d-d3f7-4227-bb75-b0562ac15b92</UUID> - <location>Broker_stub</location> - <dependsOn> - <name>ACE</name> - <referencedArtifact href="Libraries.iad"/> - </dependsOn> -</Deployment:ImplementationArtifactDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker_Svnt.iad b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker_Svnt.iad deleted file mode 100644 index 2944181e015..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Broker_Svnt.iad +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ImplementationArtifactDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Broker Servant Artifact</label> - <UUID>04e4d246-e6eb-4b0e-8e32-60b996497cea</UUID> - <location>Broker_svnt</location> - <dependsOn> - <name>ACE</name> - <referencedArtifact href="Libraries.iad"/> - </dependsOn> - <dependsOn> - <name>Broker_Stub</name> - <referencedArtifact href="Broker_Stub.iad"/> - </dependsOn> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Stock_StockBrokerHome_Servant</string> - </value> - </value> - </execParameter> -</Deployment:ImplementationArtifactDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor.ccd b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor.ccd deleted file mode 100644 index 7557e143c56..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor.ccd +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ComponentInterfaceDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - - <label>Distributor Component</label> - <UUID>803f8fc7-55de-4a20-81eb-ae951d85b7f4</UUID> - <specificType>IDL:Stock/StockDistributor:1.0</specificType> - <supportedType>IDL:Stock/StockDistributor:1.0</supportedType> - <port> - <name>supports</name> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <provider>true</provider> - <supportedType>IDL:Stock/Trigger:1.0</supportedType> - <kind>Facet</kind> - </port> - <port> - <name>notify_out</name> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <provider>true</provider> - <supportedType>IDL:Stock/StockName:1.0</supportedType> - <specificType>IDL:Stock/StockName:1.0</specificType> - <kind>EventPublisher</kind> - </port> - <port> - <name>push_quoter</name> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>false</exclusiveUser> - <optional>false</optional> - <provider>true</provider> - <supportedType>IDL:Stock/StockQuoter:1.0</supportedType> - <specificType>IDL:Stock/StockQuoter:1.0</specificType> - <kind>Facet</kind> - </port> -</Deployment:ComponentInterfaceDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor.cid b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor.cid deleted file mode 100644 index b5eac80c543..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor.cid +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ComponentImplementationDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Distributor Implementation</label> - <UUID>789e1be2-703f-4bd3-af50-b400eef91fd0</UUID> - <implements href="Distributor.ccd"/> - <monolithicImpl> - <primaryArtifact> - <name>Distributor_Stub</name> - <referencedArtifact href="Distributor_Stub.iad"/> - </primaryArtifact> - <primaryArtifact> - <name>Distributor_Svnt</name> - <referencedArtifact href="Distributor_Svnt.iad"/> - </primaryArtifact> - <primaryArtifact> - <name>Distributor_Exec</name> - <referencedArtifact href="Distributor_Exec.iad"/> - </primaryArtifact> - </monolithicImpl> - <configProperty> - <name>ComponentIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Distributor.ior</string> - </value> - </value> - </configProperty> -</Deployment:ComponentImplementationDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor.cpd b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor.cpd deleted file mode 100644 index c451a5637e8..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor.cpd +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ComponentPackageDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Distributor Package</label> - <UUID>07ebf947-2174-4a3b-bd37-bcb92986eaf4</UUID> - <realizes href="Distributor.ccd"/> - <implementation> - <name>Distributor</name> - <referencedImplementation href="Distributor.cid"/> - </implementation> -</Deployment:ComponentPackageDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor_Exec.iad b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor_Exec.iad deleted file mode 100644 index 784e11b99bf..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor_Exec.iad +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ImplementationArtifactDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Distributor Executor Artifact</label> - <UUID>5e4f2366-3810-4d4c-a269-5788a525cbe1</UUID> - <location>Distributor_exec</location> - <dependsOn> - <name>ACE</name> - <referencedArtifact href="Libraries.iad"/> - </dependsOn> - <dependsOn> - <name>Distributor_Stub</name> - <referencedArtifact href="Distributor_Stub.iad"/> - </dependsOn> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createStockDistributorHome_Impl</string> - </value> - </value> - </execParameter> -</Deployment:ImplementationArtifactDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor_Stub.iad b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor_Stub.iad deleted file mode 100644 index c55a74916ef..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor_Stub.iad +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ImplementationArtifactDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Distributor Stub Artifact</label> - <UUID>93bbdf7d-d3f7-4227-bb75-b0562ac15b92</UUID> - <location>Distributor_stub</location> - <dependsOn> - <name>ACE</name> - <referencedArtifact href="Libraries.iad"/> - </dependsOn> -</Deployment:ImplementationArtifactDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor_Svnt.iad b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor_Svnt.iad deleted file mode 100644 index 7643089044f..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Distributor_Svnt.iad +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ImplementationArtifactDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Distributor Servant Artifact</label> - <UUID>04e4d246-e6eb-4b0e-8e32-60b996497cea</UUID> - <location>Distributor_svnt</location> - <dependsOn> - <name>ACE</name> - <referencedArtifact href="Libraries.iad"/> - </dependsOn> - <dependsOn> - <name>Distributor_Stub</name> - <referencedArtifact href="Distributor_Stub.iad"/> - </dependsOn> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Stock_StockDistributorHome_Servant</string> - </value> - </value> - </execParameter> -</Deployment:ImplementationArtifactDescription>
\ No newline at end of file diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Domain.cdd b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Domain.cdd deleted file mode 100644 index b4dd3c729ef..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Domain.cdd +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<Deployment:Domain - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> -<label>Stock Domain</label> -<UUID>effd4bd0-6db0-4c50-9bb7-db9decebae1c</UUID> -<node> - <name>Distributor</name> - <label>Distributor's Node</label> -</node> -<node> - <name>Broker</name> - <label>Broker's Node</label> -</node> -</Deployment:Domain> diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Libraries.iad b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Libraries.iad deleted file mode 100644 index 720a7ce8219..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Libraries.iad +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ImplementationArtifactDescription xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Common Libraries</label> - <UUID>6bae4fcd-c71c-44b4-a0d4-0e4199ce1a49</UUID> - <location>$ACE_ROOT/lib/libACE</location> - <location>$ACE_ROOT/lib/libTAO</location> - <location>$ACE_ROOT/lib/libCIAO_Client</location> -</Deployment:ImplementationArtifactDescription> diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.cdp b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.cdp deleted file mode 100644 index 4d327f991c2..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.cdp +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:DeploymentPlan - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Stock Deployment Plan</label> - <instance xmi:id="a_Distributor"> - <name>Distributor_Instance</name> - <node>Distributor</node> - </instance> - <instance xmi:id="a_Broker01"> - <name>Broker_Instance_01</name> - <node>Broker01</node> - </instance> -</Deployment:DeploymentPlan> diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.cid b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.cid deleted file mode 100644 index 2d2160bba7d..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.cid +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ComponentImplementationDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Stock Example Assembly</label> - <UUID>effd4bd0-6db0-4c50-9bb7-db9decebae1c</UUID> - <assemblyImpl> - <instance xmi:id="a_Distributor"> - <name>Distributor_Instance</name> - <package href="Distributor.cpd"/> - </instance> - <instance xmi:id="a_Broker01"> - <name>Broker_Instance_01</name> - <package href="Broker.cpd"/> - </instance> - <connection> - <name>quoter_conn</name> - <internalEndpoint> - <portName>read_quoter</portName> - <instance xmi:idref="a_Broker01"/> - </internalEndpoint> - <internalEndpoint> - <portName>push_quoter</portName> - <instance xmi:idref="a_Distributor"/> - </internalEndpoint> - </connection> - <connection> - <name>StockName_event</name> - <internalEndpoint> - <portName>notify_in</portName> - <instance xmi:idref="a_Broker01"/> - </internalEndpoint> - <internalEndpoint> - <portName>notify_out</portName> - <instance xmi:idref="a_Distributor"/> - </internalEndpoint> - </connection> - </assemblyImpl> -</Deployment:ComponentImplementationDescription> diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.cpd b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.cpd deleted file mode 100644 index 6b2ece8e164..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.cpd +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:ComponentPackageDescription - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Stock Example Package</label> - <UUID>823e4287-f53c-4caa-8619-f3dfda4c4998</UUID> - <implementation> - <name>Stock</name> - <referencedImplementation href="Stock.cid"/> - </implementation> -</Deployment:ComponentPackageDescription> diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.dat b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.dat deleted file mode 100644 index 6079555046c..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.dat +++ /dev/null @@ -1,3 +0,0 @@ -DistributorNode corbaloc:iiop:localhost:30000/NodeManager
-BrokerNode corbaloc:iiop:localhost:40000/NodeManager
-
diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.pcd b/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.pcd deleted file mode 100644 index d65c2d9f86b..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/Stock.pcd +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:PackageConfiguration -xmlns:Deployment="http://www.omg.org/Deployment" -xmlns:xmi="http://www.omg.org/XMI" -xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <label>Stock Example Configuration for Unix machines</label> - <UUID>559d65e8-0407-48c0-a158-dafe21360fef</UUID> - <basePackage href="Stock.cpd"/> -</Deployment:PackageConfiguration> diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/XMI.xsd b/CIAO/docs/tutorials/Quoter/Simple/descriptors/XMI.xsd deleted file mode 100644 index f4adac91934..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/XMI.xsd +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0" ?> -<xsd:schema targetNamespace="http://www.omg.org/XMI" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation='http://www.w3.org/2001/XMLSchema XMLSchema.xsd'> - <xsd:attribute name="id" type="xsd:ID" /> - <xsd:attributeGroup name="IdentityAttribs"> - <xsd:attribute form="qualified" name="label" type="xsd:string" use="optional" /> - <xsd:attribute form="qualified" name="uuid" type="xsd:string" use="optional" /> - </xsd:attributeGroup> - <xsd:attributeGroup name="LinkAttribs"> - <xsd:attribute name="href" type="xsd:string" use="optional" /> - <xsd:attribute form="qualified" name="idref" type="xsd:IDREF" use="optional" /> - </xsd:attributeGroup> - <xsd:attributeGroup name="ObjectAttribs"> - <xsd:attributeGroup ref="xmi:IdentityAttribs" /> - <xsd:attributeGroup ref="xmi:LinkAttribs" /> - <xsd:attribute fixed="2.0" form="qualified" name="version" type="xsd:string" use="optional" /> - <xsd:attribute form="qualified" name="type" type="xsd:QName" use="optional" /> - </xsd:attributeGroup> - <xsd:complexType name="Extension"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:any processContents="lax" /> - </xsd:choice> - <xsd:attribute ref="xmi:id" /> - <xsd:attributeGroup ref="xmi:ObjectAttribs" /> - <xsd:attribute name="extender" type="xsd:string" use="optional" /> - <xsd:attribute name="extenderID" type="xsd:string" use="optional" /> - </xsd:complexType> - <xsd:element name="Extension" type="xmi:Extension" /> - <xsd:complexType name="Any"> - <xsd:choice maxOccurs="unbounded" minOccurs="0"> - <xsd:any processContents="skip" /> - </xsd:choice> - <xsd:anyAttribute processContents="skip" /> - </xsd:complexType> -</xsd:schema> diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/flattened_deploymentplan.cdp b/CIAO/docs/tutorials/Quoter/Simple/descriptors/flattened_deploymentplan.cdp deleted file mode 100644 index 86f7c27b786..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/flattened_deploymentplan.cdp +++ /dev/null @@ -1,222 +0,0 @@ -<Deployment:deploymentPlan - xmlns:Deployment="http://www.omg.org/Deployment" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - - <label>Quoter-DeploymentPlan</label> - <!-- Could be ZERO --> - <realizes> - <label>Quoter-realizes-cid</label> - <UUID>c0965470-7b83-11d9-9669-0800200c9a66</UUID> - <specificType><!-- @@ What does here? --></specificType> - <supportedType>IDL:Quoter/EC:1.0</supportedType> - <port> - <name>read_quoter</name> - <specificType>IDL:Quoter/Read_Quoter:1.0</specificType> - <supportedType>IDL:Quoter/Read_Quoter:1.0</supportedType> - <provider>false></provider> - <exclusiveProvider>false</exclusiveProvider> - <exclusiveUser>true</exclusiveUser> - <optional>false</optional> - <kind>SimplexReceptacle</kind> - </port> - </realizes> - - <implementation id="Quoter-Distributor-mdd"> - <name>Quoter-Distributor-mdd</name> - <source><!-- @@ Don't know what goes here --></source> - <artifact>Quoter-Distributor_exec</artifact> - <artifact>Quoter-Distributor_svnt</artifact> - <artifact>Quoter-Distributor_stub</artifact> - <artifact>Quoter-Base_stub</artifact> - <artifact>Quoter-Base_svnt</artifact> - <!-- - <execParameter></execParameter> - <deployRequirement></deployRequirement> - --> - </implementation> - - <implementation id="Quoter-Broker-mdd"> - <name>Quoter-Broker-mdd</name> - <source><!-- @@ Don't know what goes here --></source> - <artifact>Quoter-Broker_exec</artifact> - <artifact>Quoter-Broker_svnt</artifact> - <artifact>Quoter-Broker_stub</artifact> - <artifact>Quoter-Base_stub</artifact> - <artifact>Quoter-Base_svnt</artifact> - <!-- - <execParameter></execParameter> - <deployRequirement></deployRequirement> - --> - </implementation> - - <instance id="Quoter-Distributor-idd"> - <name>Quoter-Distributor-idd</name> - <node>DistributorNode</node> - <source><!-- @@ What goes here --></source> - <implementation>Quoter-Distributor-mdd</implementation> - <configProperty> - <name>ComponentIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Distributor.ior</string> - </value> - </value> - </configProperty> - </instance> - - <instance id="Quoter-Broker-idd"> - <name>Quoter-Broker-idd</name> - <node>BrokerNode</node> - <source><!-- @@ What goes here --></source> - <implementation>Quoter-Broker-mdd</implementation> - <configProperty> - <name>ComponentIOR</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>Broker.ior</string> - </value> - </value> - </configProperty> - </instance> - - - <connection> - <name>Quoter_event_connection</name> - <internalEndpoint> - <portName>notify_out</portName> - <kind>EventPublisher</kind> - <instance>Quoter-Distributor-idd</instance> - </internalEndpoint> - <internalEndpoint> - <portName>notify_in</portName> - <kind>EventConsumer</kind> - <instance>Quoter-Broker-idd</instance> - </internalEndpoint> - </connection> - - <connection> - <name>Quoter_facet_connection</name> - <internalEndpoint> - <portName>push_quoter</portName> - <kind>Facet</kind> - <instance>Quoter-Distributor-idd</instance> - </internalEndpoint> - <internalEndpoint> - <portName>read_quoter</portName> - <kind>SimplexReceptacle</kind> - <instance>Quoter-Broker-idd</instance> - </internalEndpoint> - </connection> - - <!-- @@ Runtime library name must match exactly in "location" tag --> - <artifact id="Quoter-Distributor_exec"> - <name>Distributor_exec</name> - <source><!-- @@ Not sure about this--></source> - <node><!-- blank --></node> - <location>Distributor_exec</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createStockDistributorHome_Impl</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact id="Quoter-Distributor_svnt"> - <name>Distributor_svnt</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>Distributor_svnt</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Stock_StockDistributorHome_Servant</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact id="Quoter-Distributor_stub"> - <name>Distributor_stub</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>Distributor_stub</location> - </artifact> - - <artifact id="Quoter-Broker_exec"> - <name>Broker_exec</name> - <source><!-- @@ Not sure about this--></source> - <node><!-- blank --></node> - <location>Broker_exec</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>createStockBrokerHome_Impl</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact id="Quoter-Broker_svnt"> - <name>Broker_svnt</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>Broker_svnt</location> - <execParameter> - <name>entryPoint</name> - <value> - <type> - <kind>tk_string</kind> - </type> - <value> - <string>create_Stock_StockBrokerHome_Servant</string> - </value> - </value> - </execParameter> - </artifact> - - <artifact id="Quoter-Broker_stub"> - <name>Broker_stub</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>Broker_stub</location> - </artifact> - - - <artifact id="Quoter-Base_stub"> - <name>Stock_Base_stub</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>Stock_Base_stub</location> - </artifact> - - <artifact id="Quoter-Base_svnt"> - <name>Stock_Base_svnt</name> - <source><!-- @@ Not sure --></source> - <node><!-- blank --></node> - <location>Stock_Base_svnt</location> - </artifact> - -</Deployment:deploymentPlan> - diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/package.tpd b/CIAO/docs/tutorials/Quoter/Simple/descriptors/package.tpd deleted file mode 100644 index b753de7b7ff..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/package.tpd +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no" ?> -<Deployment:TopLevelPackageDescription -xmlns:Deployment="http://www.omg.org/Deployment" -xmlns:xmi="http://www.omg.org/XMI" -xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd"> - <package href="Stock.pcd"/> -</Deployment:TopLevelPackageDescription> diff --git a/CIAO/docs/tutorials/Quoter/Simple/descriptors/runNodeDaemons.pl b/CIAO/docs/tutorials/Quoter/Simple/descriptors/runNodeDaemons.pl deleted file mode 100644 index b00cced27eb..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/descriptors/runNodeDaemons.pl +++ /dev/null @@ -1,40 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# $Id$ -# -*- perl -*- - -use lib "../../../../../../bin"; -use PerlACE::Run_Test; - -$status = 0; -$iorfile1 = PerlACE::LocalFile ("NodeApp1.ior"); -$iorfile2 = PerlACE::LocalFile ("NodeApp2.ior"); - -#for ($iter = 0; $iter <= $#ARGV; $iter++) { -# if ($ARGV[$iter] eq "-h" || $ARGV[$iter] eq "-?") { -# print "Run_Test Perl script for NodeApplicationTest \n\n"; -# print "run_test \n"; -# print "\n"; -# print "-h -- prints this information\n"; -# exit 0; -# } -#} - - -unlink $iorfile1; -unlink $iorfile2; - -$CIAO_ROOT=$ENV{'CIAO_ROOT'}; - -$SV1 = new PerlACE::Process ("$CIAO_ROOT/DAnCE/NodeManager/NodeManager", - "-ORBEndpoint iiop://localhost:30000 -s $CIAO_ROOT/DAnCE/NodeApplication/NodeApplication"); - -$SV2 = new PerlACE::Process ("$CIAO_ROOT/DAnCE/NodeManager/NodeManager", - "-ORBEndpoint iiop://localhost:40000 -s $CIAO_ROOT/DAnCE/NodeApplication/NodeApplication"); - -$SV1->Spawn (); -$SV2->Spawn (); - -sleep (99999999999); diff --git a/CIAO/docs/tutorials/Quoter/Simple/images/quoter.jpg b/CIAO/docs/tutorials/Quoter/Simple/images/quoter.jpg Binary files differdeleted file mode 100644 index 2f3edd11329..00000000000 --- a/CIAO/docs/tutorials/Quoter/Simple/images/quoter.jpg +++ /dev/null |