It's working

Lot of debugging code right now
You need STUN, because it doesn't work without it
This commit is contained in:
yanmorin
2005-09-26 19:29:57 +00:00
parent 2befedfed9
commit 085bd7ce5d
13 changed files with 193 additions and 163 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<XMI xmlns:UML="http://schema.omg.org/spec/UML/1.3" verified="false" timestamp="2005-09-26T10:57:16" xmi.version="1.2" >
<XMI xmlns:UML="http://schema.omg.org/spec/UML/1.3" verified="false" timestamp="2005-09-26T12:12:35" xmi.version="1.2" >
<XMI.header>
<XMI.documentation>
<XMI.exporter>umbrello uml modeller http://uml.sf.net</XMI.exporter>
@ -834,7 +834,7 @@
</hierarchicalcodeblock>
</textblocks>
<header>
<codecomment tag="" text="/************************************************************************&amp;#010; requestmanager.cpp - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.cpp&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 10:47:41&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
<codecomment tag="" text="/************************************************************************&amp;#010; requestmanager.cpp - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.cpp&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 11:30:11&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
</header>
<classfields>
<codeclassfield parent_id="25" field_type="4" initialValue="" role_id="0" writeOutMethods="true" listClassName="" >
@ -1435,7 +1435,7 @@
</hierarchicalcodeblock>
</textblocks>
<header>
<codecomment tag="" text="/************************************************************************&amp;#010; tcpsessionio.cpp - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.cpp&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 10:54:29&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
<codecomment tag="" text="/************************************************************************&amp;#010; tcpsessionio.cpp - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.cpp&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 11:15:52&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
</header>
<classfields>
<codeclassfield parent_id="22" field_type="6750318" initialValue="" role_id="1" writeOutMethods="true" listClassName="" >
@ -2779,7 +2779,7 @@
</hierarchicalcodeblock>
</textblocks>
<header>
<codecomment tag="" text="/************************************************************************&amp;#010; tcpstreampool.cpp - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.cpp&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 10:54:39&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
<codecomment tag="" text="/************************************************************************&amp;#010; tcpstreampool.cpp - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.cpp&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 11:30:08&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
</header>
<classfields>
<codeclassfield parent_id="67" field_type="1" initialValue="" role_id="1" writeOutMethods="true" listClassName="" >
@ -5565,7 +5565,7 @@
</codeblockwithcomments>
</textblocks>
<header>
<codecomment tag="" text="/************************************************************************&amp;#010; requestmanager.h - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.h&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 10:47:41&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
<codecomment tag="" text="/************************************************************************&amp;#010; requestmanager.h - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.h&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 11:30:11&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
</header>
<classfields>
<codeclassfield parent_id="25" field_type="4" initialValue="" role_id="0" writeOutMethods="true" listClassName="" >
@ -6765,7 +6765,7 @@
</codeblockwithcomments>
</textblocks>
<header>
<codecomment tag="" text="/************************************************************************&amp;#010; tcpsessionio.h - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.h&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 10:54:29&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
<codecomment tag="" text="/************************************************************************&amp;#010; tcpsessionio.h - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.h&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 11:15:52&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
</header>
<classfields>
<codeclassfield parent_id="22" field_type="6619250" initialValue="" role_id="1" writeOutMethods="true" listClassName="" >
@ -9048,7 +9048,7 @@
</codeblockwithcomments>
</textblocks>
<header>
<codecomment tag="" text="/************************************************************************&amp;#010; tcpstreampool.h - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.h&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 10:54:39&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
<codecomment tag="" text="/************************************************************************&amp;#010; tcpstreampool.h - Copyright ymorin&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.h&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010; i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010; files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010; java code.&amp;#010; If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010; choose this file even if there are other files with the same extension in the&amp;#010; directory. If you name the file something else, it must be the only one with that&amp;#010; extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Sep 26 2005 at 11:30:08&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />
</header>
<classfields>
<codeclassfield parent_id="67" field_type="7274601" initialValue="" role_id="1" writeOutMethods="true" listClassName="" >