<?xml version="1.0" encoding="ISO-8859-1"?>
<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML" xmi:id="_qb8akM37EdqwVrslYOdUDA" name="InstantMessengerMEJabber">
  <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JEBR0ETGEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
    <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JEBR0UTGEdutoZk0i5ZyXw" key="uuid" value="11583303739960"/>
  </eAnnotations>
  <packagedElement xmi:type="uml:Package" xmi:id="_w8IxIM37EdqwVrslYOdUDA" name="im">
    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JEBR0kTGEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
      <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JEBR00TGEdutoZk0i5ZyXw" key="uuid" value="11583303739971"/>
    </eAnnotations>
    <packagedElement xmi:type="uml:Package" xmi:id="_9288cETFEdutoZk0i5ZyXw" name="networking">
      <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JEBR1ETGEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
        <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JEBR1UTGEdutoZk0i5ZyXw" key="uuid" value="11583303739972"/>
      </eAnnotations>
      <packagedElement xmi:type="uml:Package" xmi:id="_BBHLUETGEdutoZk0i5ZyXw" name="jabber">
        <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JEBR1kTGEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
          <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JEBR10TGEdutoZk0i5ZyXw" key="uuid" value="11583303739973"/>
        </eAnnotations>
        <packagedElement xmi:type="uml:Package" xmi:id="_EWFjEETGEdutoZk0i5ZyXw" name="mejabber">
          <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JEBR2ETGEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
            <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JEBR2UTGEdutoZk0i5ZyXw" key="uuid" value="11583303739974"/>
          </eAnnotations>
          <packagedElement xmi:type="uml:Class" xmi:id="_H1r2cETGEdutoZk0i5ZyXw" name="MEJabber" clientDependency="_NTQY4EW3EdumfbPIzYgV4Q">
            <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_JEB44ETGEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
              <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_JEB44UTGEdutoZk0i5ZyXw" key="uuid" value="11583303739985"/>
            </eAnnotations>
            <generalization xmi:type="uml:Generalization" xmi:id="_N37FsETGEdutoZk0i5ZyXw" isSubstitutable="false">
              <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PgFWUETGEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
                <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PgFWUUTGEdutoZk0i5ZyXw" key="uuid" value="115833041720518"/>
              </eAnnotations>
              <general xmi:type="uml:Class" href="platform:/resource/uml2cs-instantmessenger-model/models/InstantMessengerJabber.uml#_Ax4-MESzEduo0qgZQXhZYA"/>
            </generalization>
            <ownedAttribute xmi:type="uml:Property" xmi:id="_bPjjQETIEdutoZk0i5ZyXw" name="connectError" visibility="private">
              <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kfgEoETIEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
                <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_kfgEoUTIEdutoZk0i5ZyXw" key="uuid" value="115833141706621"/>
              </eAnnotations>
              <type xmi:type="uml:PrimitiveType" href="platform:/resource/uml2cs-transformations/models/PrimitiveTypes.uml#_8jw3kPyKEdqlTr7ZXrCGhQ"/>
            </ownedAttribute>
            <ownedAttribute xmi:type="uml:Property" xmi:id="_Qe3ZQUW3EdumfbPIzYgV4Q" name="socket" visibility="public" aggregation="shared" association="_Qe2yMEW3EdumfbPIzYgV4Q">
              <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YR-JMkW3EdumfbPIzYgV4Q" source="http://www.topcased.org/uuid">
                <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YR-JM0W3EdumfbPIzYgV4Q" key="uuid" value="115843398483567"/>
              </eAnnotations>
              <type xmi:type="uml:Class" href="platform:/resource/uml2cs-transformations/models/JavaTypes.uml#_VttEYEWxEdumfbPIzYgV4Q"/>
              <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Qe4AUkW3EdumfbPIzYgV4Q" value="1">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YR-JNEW3EdumfbPIzYgV4Q" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YR-JNUW3EdumfbPIzYgV4Q" key="uuid" value="115843398483568"/>
                </eAnnotations>
              </upperValue>
              <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Qe4AUUW3EdumfbPIzYgV4Q" value="1">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YR-JNkW3EdumfbPIzYgV4Q" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YR-JN0W3EdumfbPIzYgV4Q" key="uuid" value="115843398483569"/>
                </eAnnotations>
              </lowerValue>
            </ownedAttribute>
            <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_U0ZTIETHEdutoZk0i5ZyXw" name="MEJabber_connectBehavior" specification="_5pK38ETGEdutoZk0i5ZyXw">
              <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UBk5oETIEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
                <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UBk5oUTIEdutoZk0i5ZyXw" key="uuid" value="115833130655321"/>
              </eAnnotations>
              <ownedParameter xmi:type="uml:Parameter" xmi:id="_800GkEVgEdu1R4x2hFmiHQ" name="host" visibility="public" effect="create">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Fw4psEVhEdu1R4x2hFmiHQ" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw4psUVhEdu1R4x2hFmiHQ" key="uuid" value="115839692385136"/>
                </eAnnotations>
                <type xmi:type="uml:PrimitiveType" href="platform:/resource/uml2cs-transformations/models/PrimitiveTypes.uml#_8jw3kPyKEdqlTr7ZXrCGhQ"/>
              </ownedParameter>
              <language>java</language>
              <body>setSocket(connect(host, 5222));&#xA;if (getSocket() == null) {&#xA;&#x9;&#x9;&#x9;throw new java.io.IOException(connectError);&#xA;&#x9;&#x9;}&#xA;setConnection(new com.jabberwookie.Client2Server(getSocket()&#xA;&#x9;&#x9;&#x9;&#x9;.openInputStream(), getSocket().openOutputStream()));&#xA;if (!getConnection().open(host, 60000)) {&#xA;&#x9;&#x9;&#x9;throw new java.io.IOException(&quot;Could not establish stream to &quot;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;+ host + &quot;:5222 after 60 seconds&quot;);&#xA;&#x9;&#x9;}</body>
            </ownedBehavior>
            <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_aIMIAETHEdutoZk0i5ZyXw" name="MEJabber_connectBehavior-private" specification="_83NhQETGEdutoZk0i5ZyXw">
              <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UBk5okTIEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
                <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UBk5o0TIEdutoZk0i5ZyXw" key="uuid" value="115833130655422"/>
              </eAnnotations>
              <ownedParameter xmi:type="uml:Parameter" xmi:id="_-kxoUEVgEdu1R4x2hFmiHQ" name="host" visibility="public" effect="create">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Fw4pskVhEdu1R4x2hFmiHQ" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw4ps0VhEdu1R4x2hFmiHQ" key="uuid" value="115839692385140"/>
                </eAnnotations>
                <type xmi:type="uml:PrimitiveType" href="platform:/resource/uml2cs-transformations/models/PrimitiveTypes.uml#_8jw3kPyKEdqlTr7ZXrCGhQ"/>
              </ownedParameter>
              <ownedParameter xmi:type="uml:Parameter" xmi:id="_-kyPYEVgEdu1R4x2hFmiHQ" name="port" visibility="public" effect="read">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Fw4ptEVhEdu1R4x2hFmiHQ" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw4ptUVhEdu1R4x2hFmiHQ" key="uuid" value="115839692385141"/>
                </eAnnotations>
                <type xmi:type="uml:PrimitiveType" href="platform:/resource/uml2cs-transformations/models/PrimitiveTypes.uml#_zcuakPyKEdqlTr7ZXrCGhQ"/>
              </ownedParameter>
              <ownedParameter xmi:type="uml:Parameter" xmi:id="_-kyPY0VgEdu1R4x2hFmiHQ" visibility="public" direction="return" effect="create">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Fw4ptkVhEdu1R4x2hFmiHQ" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Fw4pt0VhEdu1R4x2hFmiHQ" key="uuid" value="115839692385142"/>
                </eAnnotations>
                <type xmi:type="uml:Class" href="platform:/resource/uml2cs-transformations/models/JavaTypes.uml#_VttEYEWxEdumfbPIzYgV4Q"/>
              </ownedParameter>
              <language>java</language>
              <body>StreamConnection s = null;&#xA;try {&#xA;&#x9;&#x9;&#x9;s = (StreamConnection) Connector.open(&quot;socket://&quot; + host + &quot;:&quot;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;+ port);&#xA;&#x9;&#x9;} catch (Exception e) {&#xA;&#x9;&#x9;&#x9;connectError = e.getMessage() + &quot; at MEJabber.connect(&quot; + host&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;+ &quot;, &quot; + port + &quot;)&quot;;&#xA;&#x9;&#x9;}&#xA;return s;</body>
            </ownedBehavior>
            <ownedOperation xmi:type="uml:Operation" xmi:id="_5pK38ETGEdutoZk0i5ZyXw" name="connect" visibility="protected" method="_U0ZTIETHEdutoZk0i5ZyXw">
              <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UBk5pETIEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
                <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UBk5pUTIEdutoZk0i5ZyXw" key="uuid" value="115833130655423"/>
              </eAnnotations>
              <ownedParameter xmi:type="uml:Parameter" xmi:id="_5pK380TGEdutoZk0i5ZyXw" name="host" visibility="public" effect="create">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UBk5pkTIEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UBk5p0TIEdutoZk0i5ZyXw" key="uuid" value="115833130655424"/>
                </eAnnotations>
                <type xmi:type="uml:PrimitiveType" href="platform:/resource/uml2cs-transformations/models/PrimitiveTypes.uml#_8jw3kPyKEdqlTr7ZXrCGhQ"/>
              </ownedParameter>
              <raisedException xmi:type="uml:Class" href="platform:/resource/uml2cs-transformations/models/JavaTypes.uml#_qxYZwETFEdutoZk0i5ZyXw"/>
            </ownedOperation>
            <ownedOperation xmi:type="uml:Operation" xmi:id="_83NhQETGEdutoZk0i5ZyXw" name="connect" visibility="private" method="_aIMIAETHEdutoZk0i5ZyXw">
              <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UBk5qETIEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
                <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UBk5qUTIEdutoZk0i5ZyXw" key="uuid" value="115833130655425"/>
              </eAnnotations>
              <ownedParameter xmi:type="uml:Parameter" xmi:id="_83NhQUTGEdutoZk0i5ZyXw" name="host" visibility="public" effect="create">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UBk5qkTIEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UBk5q0TIEdutoZk0i5ZyXw" key="uuid" value="115833130655426"/>
                </eAnnotations>
                <type xmi:type="uml:PrimitiveType" href="platform:/resource/uml2cs-transformations/models/PrimitiveTypes.uml#_8jw3kPyKEdqlTr7ZXrCGhQ"/>
              </ownedParameter>
              <ownedParameter xmi:type="uml:Parameter" xmi:id="_BrxccETHEdutoZk0i5ZyXw" name="port" visibility="public" effect="read">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UBk5rETIEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UBk5rUTIEdutoZk0i5ZyXw" key="uuid" value="115833130655427"/>
                </eAnnotations>
                <type xmi:type="uml:PrimitiveType" href="platform:/resource/uml2cs-transformations/models/PrimitiveTypes.uml#_zcuakPyKEdqlTr7ZXrCGhQ"/>
              </ownedParameter>
              <ownedParameter xmi:type="uml:Parameter" xmi:id="_FQncMETHEdutoZk0i5ZyXw" visibility="public" direction="return" effect="create">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UBk5rkTIEdutoZk0i5ZyXw" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UBk5r0TIEdutoZk0i5ZyXw" key="uuid" value="115833130655428"/>
                </eAnnotations>
                <type xmi:type="uml:Class" href="platform:/resource/uml2cs-transformations/models/JavaTypes.uml#_VttEYEWxEdumfbPIzYgV4Q"/>
              </ownedParameter>
              <raisedException xmi:type="uml:Class" href="platform:/resource/uml2cs-transformations/models/JavaTypes.uml#_qxYZwETFEdutoZk0i5ZyXw"/>
            </ownedOperation>
          </packagedElement>
          <packagedElement xmi:type="uml:Dependency" xmi:id="_NTQY4EW3EdumfbPIzYgV4Q" name="Dependency1" client="_H1r2cETGEdutoZk0i5ZyXw">
            <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PNfQ8EW3EdumfbPIzYgV4Q" source="http://www.topcased.org/uuid">
              <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_PNfQ8UW3EdumfbPIzYgV4Q" key="uuid" value="115843392396760"/>
            </eAnnotations>
            <supplier xmi:type="uml:Package" href="platform:/resource/uml2cs-transformations/models/JavaTypes.uml#_PkY8wEWxEdumfbPIzYgV4Q"/>
          </packagedElement>
          <packagedElement xmi:type="uml:Association" xmi:id="_Qe2yMEW3EdumfbPIzYgV4Q" name="A_meJabber_socket" memberEnd="_Qe3ZQEW3EdumfbPIzYgV4Q _Qe3ZQUW3EdumfbPIzYgV4Q">
            <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YR9iIEW3EdumfbPIzYgV4Q" source="http://www.topcased.org/uuid">
              <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YR9iIUW3EdumfbPIzYgV4Q" key="uuid" value="115843398483463"/>
            </eAnnotations>
            <ownedEnd xmi:type="uml:Property" xmi:id="_Qe3ZQEW3EdumfbPIzYgV4Q" name="meJabber" visibility="public" type="_H1r2cETGEdutoZk0i5ZyXw" association="_Qe2yMEW3EdumfbPIzYgV4Q">
              <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YR9iIkW3EdumfbPIzYgV4Q" source="http://www.topcased.org/uuid">
                <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YR9iI0W3EdumfbPIzYgV4Q" key="uuid" value="115843398483464"/>
              </eAnnotations>
              <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Qe4AUEW3EdumfbPIzYgV4Q" value="1">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YR9iJEW3EdumfbPIzYgV4Q" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YR9iJUW3EdumfbPIzYgV4Q" key="uuid" value="115843398483465"/>
                </eAnnotations>
              </upperValue>
              <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Qe3ZQkW3EdumfbPIzYgV4Q">
                <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_YR-JMEW3EdumfbPIzYgV4Q" source="http://www.topcased.org/uuid">
                  <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_YR-JMUW3EdumfbPIzYgV4Q" key="uuid" value="115843398483466"/>
                </eAnnotations>
              </lowerValue>
            </ownedEnd>
          </packagedElement>
        </packagedElement>
      </packagedElement>
    </packagedElement>
  </packagedElement>
</uml:Model>
