1 <?xml version="1.0" encoding="UTF-8"?>
2 <XMI xmlns:UML="org.omg/standards/UML" verified="false" timestamp="" xmi.version="1.2" >
5 <XMI.exporter>umbrello uml modeller http://uml.sf.net</XMI.exporter>
6 <XMI.exporterVersion>1.1.5</XMI.exporterVersion>
7 <XMI.exporterEncoding>UnicodeUTF8</XMI.exporterEncoding>
9 <XMI.model xmi.name="cliente_servidor" href="/home/luca/facultad/75.42/2003-2/final/docs/cliente_servidor.xmi" />
10 <XMI.metamodel xmi.name="UML" href="UML.xml" xmi.version="1.3" />
13 <docsettings viewid="1" documentation="" uniqueid="54" />
15 <UML:Class stereotype="class" package="Plaqui" xmi.id="4" abstract="0" documentation="Servidor de plantas químicas.
16 Maneja muchas conexiones, de control o de transmisión." name="Server" static="0" scope="200" >
17 <UML:Operation stereotype="" package="" xmi.id="24" type="bool" abstract="0" documentation="Comienza la transimisión del estado de una planta." name="start_transmission" static="0" scope="200" >
18 <UML:Parameter stereotype="" package="" xmi.id="1" value=""localhost"" type="std::string" abstract="0" documentation="Host al cual se quiere transmitir." name="host" static="0" scope="201" />
19 <UML:Parameter stereotype="" package="" xmi.id="2" value="7528" type="int" abstract="0" documentation="Puerto al cual transmitir." name="port" static="0" scope="201" />
21 <UML:Operation stereotype="" package="" xmi.id="25" type="bool" abstract="0" documentation="Finaliza la transimisión del estado de una planta." name="stop_transmission" static="0" scope="200" >
22 <UML:Parameter stereotype="" package="" xmi.id="1" value=""localhost"" type="std::string" abstract="0" documentation="Host al cual se quiere dejar de transmitir." name="host" static="0" scope="201" />
23 <UML:Parameter stereotype="" package="" xmi.id="2" value="7528" type="int" abstract="0" documentation="Puerto al cual se quiere dejar de transmitir." name="port" static="0" scope="201" />
25 <UML:Operation stereotype="" package="" xmi.id="47" type="void" abstract="0" documentation="Constructor." name="Server" static="0" scope="200" >
26 <UML:Parameter stereotype="" package="" xmi.id="1" value="7522" type="int" abstract="0" documentation="Puerto en el cual escuchar." name="port" static="0" scope="201" />
28 <UML:Attribute stereotype="" package="" xmi.id="23" value="" type="sockbuf" abstract="0" documentation="Socket para escuchar conexiones." name="socket" static="0" scope="201" />
29 <UML:Attribute stereotype="" package="" xmi.id="32" value="" type="std::list<ControlServer*>" abstract="0" documentation="Conexiones de control." name="controllers" static="0" scope="201" />
30 <UML:Attribute stereotype="" package="" xmi.id="33" value="" type="std::list<Transmitter*>" abstract="0" documentation="Transmisiones del estado de las plantas." name="transmissions" static="0" scope="201" />
32 <UML:Class stereotype="class" package="Plaqui" xmi.id="11" abstract="0" documentation="Conexión para enviar comandos de control a una planta." name="ControlClient" static="0" scope="200" >
33 <UML:Operation stereotype="" package="" xmi.id="50" type="void" abstract="0" documentation="Constructor." name="ControlClient" static="0" scope="200" >
34 <UML:Parameter stereotype="" package="" xmi.id="1" value=""localhost"" type="std::string" abstract="0" documentation="Host al cual conectarse para enviar comandos de control." name="host" static="0" scope="201" />
35 <UML:Parameter stereotype="" package="" xmi.id="2" value="7522" type="int" abstract="0" documentation="Puerto al cual conectarse." name="port" static="0" scope="201" />
38 <UML:Class stereotype="class" package="Plaqui" xmi.id="12" abstract="0" documentation="Conexión para recibir el estado de una planta." name="Receiver" static="0" scope="200" >
39 <UML:Operation stereotype="" package="" xmi.id="46" type="void" abstract="0" documentation="Constructor." name="Receiver" static="0" scope="200" >
40 <UML:Parameter stereotype="" package="" xmi.id="1" value="7528" type="int" abstract="0" documentation="Puerto por el cual recibir estado de la planta." name="port" static="0" scope="201" />
41 <UML:Parameter stereotype="" package="" xmi.id="2" value=""localhost"" type="std::string" abstract="0" documentation="Host del cual recibir el estado de la planta" name="host" static="0" scope="201" />
44 <UML:Class stereotype="class" package="Plaqui" xmi.id="13" abstract="0" documentation="Conexión para transmitir el estado de una planta." name="Transmitter" static="0" scope="200" >
45 <UML:Operation stereotype="" package="" xmi.id="40" type="void" abstract="0" documentation="Constructor." name="Transmitter" static="0" scope="200" >
46 <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="iosockstream" abstract="0" documentation="Socket al cual se va a transmitir." name="socket" static="0" scope="201" />
49 <UML:Class stereotype="class" package="Plaqui" xmi.id="15" abstract="1" documentation="Conexión." name="Connection" static="0" scope="200" >
50 <UML:Operation stereotype="" package="" xmi.id="48" type="void" abstract="0" documentation="Constructor." name="Connection" static="0" scope="200" >
51 <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="iosockstream" abstract="0" documentation="Socket a usar en la conexión." name="socket" static="0" scope="201" />
53 <UML:Attribute stereotype="" package="" xmi.id="21" value="" type="iosockstream" abstract="0" documentation="" name="socket" static="0" scope="201" />
55 <UML:Class stereotype="class" package="Plaqui" xmi.id="43" abstract="0" documentation="Conexión para recibir comandos de control para una planta." name="ControlServer" static="0" scope="200" >
56 <UML:Operation stereotype="" package="" xmi.id="45" type="void" abstract="0" documentation="" name="ControlServer" static="0" scope="200" >
57 <UML:Parameter stereotype="" package="" xmi.id="1" value="" type="int" abstract="0" documentation="Socket a usar para recibir comandos." name="socket" static="0" scope="201" />
60 <UML:Class stereotype="class" package="Plaqui" xmi.id="51" abstract="1" documentation="Interfaz que indica que puede realizar una tarea (generalmente en un thread)." name="Runnable" static="0" scope="200" >
61 <UML:Operation stereotype="" package="" xmi.id="52" type="void" abstract="1" documentation="Realiza la tarea." name="run" static="0" scope="200" />
63 <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="500" rolea="13" roleb="15" multia="" doca="" multib="" docb="" package="" xmi.id="26" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
64 <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="500" rolea="12" roleb="15" multia="" doca="" multib="" docb="" package="" xmi.id="27" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
65 <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="500" rolea="11" roleb="15" multia="" doca="" multib="" docb="" package="" xmi.id="29" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
66 <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="500" rolea="43" roleb="15" multia="" doca="" multib="" docb="" package="" xmi.id="44" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
67 <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="500" rolea="4" roleb="51" multia="" doca="" multib="" docb="" package="" xmi.id="53" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
68 <UML:Association nameb="" stereotype="" visibilitya="200" visibilityb="200" assoctype="500" rolea="15" roleb="51" multia="" doca="" multib="" docb="" package="" xmi.id="54" abstract="0" documentation="" name="" static="0" scope="200" changeabilitya="900" changeabilityb="900" namea="" />
71 <diagram snapgrid="0" showattsig="1" fillcolor="#ffffc0" zoom="100" showgrid="1" showopsig="1" usefillcolor="1" snapx="10" canvaswidth="746" snapy="10" showatts="1" xmi.id="1" documentation="" type="402" showops="1" showpackage="1" name="Jerarquía" localid="30000" showstereotype="0" showscope="1" snapcsgrid="0" font="Helvetica,12,-1,5,48,0,0,0,0,0" linecolor="#ff0000" canvasheight="656" >
73 <UML:ClassWidget usesdiagramfillcolour="0" width="289" showattsigs="601" usesdiagramusefillcolour="0" x="420" linecolour="#ff0000" y="168" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="133" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="4" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,12,-1,5,50,0,1,0,0,0" />
74 <UML:ClassWidget usesdiagramfillcolour="0" width="175" showattsigs="601" usesdiagramusefillcolour="0" x="230" linecolour="#ff0000" y="244" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="57" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="15" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,12,-1,5,50,0,1,0,0,0" />
75 <UML:ClassWidget usesdiagramfillcolour="0" width="170" showattsigs="601" usesdiagramusefillcolour="0" x="517" linecolour="#ff0000" y="450" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="47" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="11" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,12,-1,5,50,0,1,0,0,0" />
76 <UML:ClassWidget usesdiagramfillcolour="1" width="177" showattsigs="601" usesdiagramusefillcolour="1" x="327" linecolour="none" y="450" showopsigs="600" instancename="" usesdiagramlinecolour="1" fillcolour="none" height="37" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="39" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,12,-1,5,75,0,0,0,0,0" />
77 <UML:ClassWidget usesdiagramfillcolour="0" width="137" showattsigs="601" usesdiagramusefillcolour="0" x="179" linecolour="#ff0000" y="450" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="47" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="12" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,12,-1,5,50,0,1,0,0,0" />
78 <UML:ClassWidget usesdiagramfillcolour="0" width="157" showattsigs="601" usesdiagramusefillcolour="0" x="10" linecolour="#ff0000" y="449" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="47" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="13" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,12,-1,5,50,0,1,0,0,0" />
79 <UML:ClassWidget usesdiagramfillcolour="0" width="177" showattsigs="601" usesdiagramusefillcolour="0" x="327" linecolour="#ff0000" y="450" showopsigs="600" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="47" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="43" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,12,-1,5,50,0,1,0,0,0" />
80 <UML:ClassWidget usesdiagramfillcolour="0" width="143" showattsigs="601" usesdiagramusefillcolour="0" x="345" linecolour="#ff0000" y="45" showopsigs="601" instancename="" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="47" usefillcolor="1" showattributes="1" isinstance="0" xmi.id="51" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Helvetica,12,-1,5,75,1,0,0,0,0" />
84 <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="5" indexb="1" widgetbid="15" widgetaid="13" xmi.id="26" >
86 <startpoint startx="88" starty="449" />
87 <endpoint endx="265" endy="301" />
90 <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="5" indexb="2" widgetbid="15" widgetaid="12" xmi.id="27" >
92 <startpoint startx="247" starty="450" />
93 <endpoint endx="300" endy="301" />
96 <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="5" indexb="4" widgetbid="15" widgetaid="11" xmi.id="29" >
98 <startpoint startx="602" starty="450" />
99 <endpoint endx="370" endy="301" />
102 <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="5" indexb="3" widgetbid="15" widgetaid="43" xmi.id="44" >
104 <startpoint startx="415" starty="450" />
105 <endpoint endx="335" endy="301" />
108 <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="3" indexb="2" widgetbid="51" widgetaid="4" xmi.id="53" >
110 <startpoint startx="564" starty="168" />
111 <endpoint endx="440" endy="92" />
114 <UML:AssocWidget totalcounta="2" indexa="1" totalcountb="3" indexb="1" widgetbid="51" widgetaid="15" xmi.id="54" >
116 <startpoint startx="317" starty="244" />
117 <endpoint endx="392" endy="92" />
124 <listitem open="1" type="800" id="-1" label="Views" >
125 <listitem open="1" type="801" id="-1" label="Logical View" >
126 <listitem open="0" type="807" id="1" label="Jerarquía" />
127 <listitem open="0" type="813" id="15" label="Connection" >
128 <listitem open="0" type="814" id="21" label="socket" />
129 <listitem open="0" type="815" id="48" label="Connection" />
131 <listitem open="0" type="813" id="11" label="ControlClient" >
132 <listitem open="0" type="815" id="50" label="ControlClient" />
134 <listitem open="0" type="813" id="43" label="ControlServer" >
135 <listitem open="0" type="815" id="45" label="ControlServer" />
137 <listitem open="0" type="813" id="12" label="Receiver" >
138 <listitem open="0" type="815" id="46" label="Receiver" />
140 <listitem open="0" type="813" id="51" label="Runnable" >
141 <listitem open="0" type="815" id="52" label="run" />
143 <listitem open="0" type="813" id="4" label="Server" >
144 <listitem open="0" type="814" id="32" label="controllers" />
145 <listitem open="0" type="814" id="23" label="socket" />
146 <listitem open="0" type="814" id="33" label="transmissions" />
147 <listitem open="0" type="815" id="47" label="Server" />
148 <listitem open="0" type="815" id="24" label="start_transmission" />
149 <listitem open="0" type="815" id="25" label="stop_transmission" />
151 <listitem open="0" type="813" id="13" label="Transmitter" >
152 <listitem open="0" type="815" id="40" label="Transmitter" />
155 <listitem open="1" type="802" id="-1" label="Use Case View" />
156 <listitem open="1" type="821" id="-1" label="Component View" />
157 <listitem open="1" type="827" id="-1" label="Deployment View" />