From d622b4d2c4d5283a93201aa60348c530ed032e93 Mon Sep 17 00:00:00 2001 From: Imanol-Mikel Barba Sabariego Date: Sat, 7 Dec 2013 01:01:32 +0000 Subject: [PATCH] git-svn-id: svn://imanolbarba.net/PAD@21 c2ee353e-ed0d-4329-bf56-03aec153487f --- JChatClient/Makefile | 34 ++++++++++++++++++++++++++++++++++ JChatClient/bin/client | Bin 0 -> 19056 bytes JChatClient/doc/doxygen/Doxyfile | 1826 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/_socket_8cpp.html | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/_socket_8h.html | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/_socket_8h_source.html | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/_socket_exception_8h.html | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/_socket_exception_8h_source.html | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/annotated.html | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/bc_s.png | Bin 0 -> 676 bytes JChatClient/doc/html/bdwn.png | Bin 0 -> 147 bytes JChatClient/doc/html/class_server-members.html | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/class_server.html | 487 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/class_socket-members.html | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/class_socket.html | 549 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/class_socket_exception-members.html | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/class_socket_exception.html | 237 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/classes.html | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/client_8cpp.html | 208 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/client_8dox.html | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/client_code.html | 131 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/closed.png | Bin 0 -> 132 bytes JChatClient/doc/html/conf.html | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/conf_8dox.html | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/dir_09c6c7003a5a6c451627316e32d323da.html | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/dir_15c52bfb9a80984ec0ac7c94446ac4fc.html | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/dir_74bdbd27aa6df54b6fb8f419761ac887.html | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/dir_75b82e7e4a5feb05200b9ad7adf06257.html | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/dir_86dc413d07e0b16a37ceb0e2a17fed53.html | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/dir_8f7199732ad0be50edd1dbedbf9226de.html | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/dir_ade356989cf64bc7da597536eeab2615.html | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/dir_b94371269b479bae3e8fa897a2ece63e.html | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/dir_c16c2f6bdf6587439d9ad3d8f0d21517.html | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/dir_c63cc34e984e21a69fd262eeef6a5cbb.html | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/dir_d340535e561321e2c4ccf1a3f2b14fb9.html | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/doxygen.css | 1184 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/doxygen.png | Bin 0 -> 3779 bytes JChatClient/doc/html/dynsections.js | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/files.html | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/ftv2blank.png | Bin 0 -> 86 bytes JChatClient/doc/html/ftv2cl.png | Bin 0 -> 453 bytes JChatClient/doc/html/ftv2doc.png | Bin 0 -> 746 bytes JChatClient/doc/html/ftv2folderclosed.png | Bin 0 -> 616 bytes JChatClient/doc/html/ftv2folderopen.png | Bin 0 -> 597 bytes JChatClient/doc/html/ftv2lastnode.png | Bin 0 -> 86 bytes JChatClient/doc/html/ftv2link.png | Bin 0 -> 746 bytes JChatClient/doc/html/ftv2mlastnode.png | Bin 0 -> 246 bytes JChatClient/doc/html/ftv2mnode.png | Bin 0 -> 246 bytes JChatClient/doc/html/ftv2mo.png | Bin 0 -> 403 bytes JChatClient/doc/html/ftv2node.png | Bin 0 -> 86 bytes JChatClient/doc/html/ftv2ns.png | Bin 0 -> 388 bytes JChatClient/doc/html/ftv2plastnode.png | Bin 0 -> 229 bytes JChatClient/doc/html/ftv2pnode.png | Bin 0 -> 229 bytes JChatClient/doc/html/ftv2splitbar.png | Bin 0 -> 314 bytes JChatClient/doc/html/ftv2vertline.png | Bin 0 -> 86 bytes JChatClient/doc/html/functions.html | 298 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/functions_func.html | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/functions_vars.html | 147 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/globals.html | 132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/globals_defs.html | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/globals_func.html | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/globals_vars.html | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/howto.html | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/howto_8dox.html | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/index.html | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/jquery.js | 8 ++++++++ JChatClient/doc/html/main__server_8cpp.html | 317 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/mainpage_8dox.html | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/makefile_8dox.html | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/nav_f.png | Bin 0 -> 153 bytes JChatClient/doc/html/nav_g.png | Bin 0 -> 95 bytes JChatClient/doc/html/nav_h.png | Bin 0 -> 98 bytes JChatClient/doc/html/open.png | Bin 0 -> 123 bytes JChatClient/doc/html/pages.html | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/search/all_61.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_61.js | 4 ++++ JChatClient/doc/html/search/all_62.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_62.js | 4 ++++ JChatClient/doc/html/search/all_63.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_63.js | 12 ++++++++++++ JChatClient/doc/html/search/all_64.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_64.js | 4 ++++ JChatClient/doc/html/search/all_65.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_65.js | 4 ++++ JChatClient/doc/html/search/all_66.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_66.js | 4 ++++ JChatClient/doc/html/search/all_67.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_67.js | 7 +++++++ JChatClient/doc/html/search/all_68.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_68.js | 5 +++++ JChatClient/doc/html/search/all_69.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_69.js | 4 ++++ JChatClient/doc/html/search/all_6b.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_6b.js | 4 ++++ JChatClient/doc/html/search/all_6c.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_6c.js | 4 ++++ JChatClient/doc/html/search/all_6d.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_6d.js | 8 ++++++++ JChatClient/doc/html/search/all_6e.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_6e.js | 5 +++++ JChatClient/doc/html/search/all_6f.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_6f.js | 5 +++++ JChatClient/doc/html/search/all_70.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_70.js | 6 ++++++ JChatClient/doc/html/search/all_72.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_72.js | 6 ++++++ JChatClient/doc/html/search/all_73.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_73.js | 21 +++++++++++++++++++++ JChatClient/doc/html/search/all_74.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_74.js | 5 +++++ JChatClient/doc/html/search/all_77.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_77.js | 5 +++++ JChatClient/doc/html/search/all_7e.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/all_7e.js | 4 ++++ JChatClient/doc/html/search/classes_73.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/classes_73.js | 6 ++++++ JChatClient/doc/html/search/classes_74.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/classes_74.js | 4 ++++ JChatClient/doc/html/search/close.png | Bin 0 -> 273 bytes JChatClient/doc/html/search/defines_63.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/defines_63.js | 4 ++++ JChatClient/doc/html/search/defines_6e.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/defines_6e.js | 4 ++++ JChatClient/doc/html/search/files_63.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/files_63.js | 5 +++++ JChatClient/doc/html/search/files_68.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/files_68.js | 4 ++++ JChatClient/doc/html/search/files_6d.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/files_6d.js | 5 +++++ JChatClient/doc/html/search/files_73.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/files_73.js | 7 +++++++ JChatClient/doc/html/search/functions_61.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_61.js | 4 ++++ JChatClient/doc/html/search/functions_62.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_62.js | 4 ++++ JChatClient/doc/html/search/functions_63.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_63.js | 6 ++++++ JChatClient/doc/html/search/functions_64.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_64.js | 4 ++++ JChatClient/doc/html/search/functions_65.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_65.js | 4 ++++ JChatClient/doc/html/search/functions_66.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_66.js | 4 ++++ JChatClient/doc/html/search/functions_67.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_67.js | 7 +++++++ JChatClient/doc/html/search/functions_6b.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_6b.js | 4 ++++ JChatClient/doc/html/search/functions_6c.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_6c.js | 4 ++++ JChatClient/doc/html/search/functions_6d.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_6d.js | 4 ++++ JChatClient/doc/html/search/functions_6f.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_6f.js | 5 +++++ JChatClient/doc/html/search/functions_70.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_70.js | 5 +++++ JChatClient/doc/html/search/functions_72.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_72.js | 6 ++++++ JChatClient/doc/html/search/functions_73.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_73.js | 9 +++++++++ JChatClient/doc/html/search/functions_77.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_77.js | 4 ++++ JChatClient/doc/html/search/functions_7e.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/functions_7e.js | 4 ++++ JChatClient/doc/html/search/mag_sel.png | Bin 0 -> 563 bytes JChatClient/doc/html/search/nomatches.html | 12 ++++++++++++ JChatClient/doc/html/search/pages_63.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/pages_63.js | 4 ++++ JChatClient/doc/html/search/pages_66.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/pages_66.js | 4 ++++ JChatClient/doc/html/search/pages_68.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/pages_68.js | 4 ++++ JChatClient/doc/html/search/pages_70.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/pages_70.js | 4 ++++ JChatClient/doc/html/search/pages_73.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/pages_73.js | 4 ++++ JChatClient/doc/html/search/search.css | 271 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/search/search.js | 807 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/search/search_l.png | Bin 0 -> 604 bytes JChatClient/doc/html/search/search_m.png | Bin 0 -> 158 bytes JChatClient/doc/html/search/search_r.png | Bin 0 -> 612 bytes JChatClient/doc/html/search/variables_63.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/variables_63.js | 5 +++++ JChatClient/doc/html/search/variables_69.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/variables_69.js | 4 ++++ JChatClient/doc/html/search/variables_6d.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/variables_6d.js | 5 +++++ JChatClient/doc/html/search/variables_6e.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/variables_6e.js | 4 ++++ JChatClient/doc/html/search/variables_73.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/variables_73.js | 11 +++++++++++ JChatClient/doc/html/search/variables_74.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/variables_74.js | 4 ++++ JChatClient/doc/html/search/variables_77.html | 26 ++++++++++++++++++++++++++ JChatClient/doc/html/search/variables_77.js | 4 ++++ JChatClient/doc/html/server_8cpp.html | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/server_8dox.html | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/server_8h.html | 300 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/server_8h_source.html | 185 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/server_code.html | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/structthread__args-members.html | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/structthread__args.html | 227 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/html/sync_off.png | Bin 0 -> 853 bytes JChatClient/doc/html/sync_on.png | Bin 0 -> 845 bytes JChatClient/doc/html/tab_a.png | Bin 0 -> 142 bytes JChatClient/doc/html/tab_b.png | Bin 0 -> 169 bytes JChatClient/doc/html/tab_h.png | Bin 0 -> 177 bytes JChatClient/doc/html/tab_s.png | Bin 0 -> 184 bytes JChatClient/doc/html/tabs.css | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/Makefile | 19 +++++++++++++++++++ JChatClient/doc/latex/_socket_8cpp.tex | 24 ++++++++++++++++++++++++ JChatClient/doc/latex/_socket_8h.tex | 31 +++++++++++++++++++++++++++++++ JChatClient/doc/latex/_socket_exception_8h.tex | 24 ++++++++++++++++++++++++ JChatClient/doc/latex/annotated.tex | 7 +++++++ JChatClient/doc/latex/class_server.tex | 215 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/class_socket.tex | 271 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/class_socket_exception.tex | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/client_8cpp.tex | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/client_8dox.tex | 12 ++++++++++++ JChatClient/doc/latex/client_code.tex | 46 ++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/conf.tex | 22 ++++++++++++++++++++++ JChatClient/doc/latex/conf_8dox.tex | 12 ++++++++++++ JChatClient/doc/latex/dir_09c6c7003a5a6c451627316e32d323da.tex | 19 +++++++++++++++++++ JChatClient/doc/latex/dir_15c52bfb9a80984ec0ac7c94446ac4fc.tex | 15 +++++++++++++++ JChatClient/doc/latex/dir_74bdbd27aa6df54b6fb8f419761ac887.tex | 8 ++++++++ JChatClient/doc/latex/dir_75b82e7e4a5feb05200b9ad7adf06257.tex | 8 ++++++++ JChatClient/doc/latex/dir_86dc413d07e0b16a37ceb0e2a17fed53.tex | 8 ++++++++ JChatClient/doc/latex/dir_8f7199732ad0be50edd1dbedbf9226de.tex | 8 ++++++++ JChatClient/doc/latex/dir_ade356989cf64bc7da597536eeab2615.tex | 8 ++++++++ JChatClient/doc/latex/dir_b94371269b479bae3e8fa897a2ece63e.tex | 12 ++++++++++++ JChatClient/doc/latex/dir_c16c2f6bdf6587439d9ad3d8f0d21517.tex | 12 ++++++++++++ JChatClient/doc/latex/dir_c63cc34e984e21a69fd262eeef6a5cbb.tex | 8 ++++++++ JChatClient/doc/latex/dir_d340535e561321e2c4ccf1a3f2b14fb9.tex | 8 ++++++++ JChatClient/doc/latex/doxygen.sty | 484 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/files.tex | 8 ++++++++ JChatClient/doc/latex/howto.tex | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/howto_8dox.tex | 12 ++++++++++++ JChatClient/doc/latex/index.tex | 14 ++++++++++++++ JChatClient/doc/latex/main__server_8cpp.tex | 155 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/mainpage_8dox.tex | 3 +++ JChatClient/doc/latex/makefile_8dox.tex | 3 +++ JChatClient/doc/latex/refman.aux | 265 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/refman.idx | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/refman.ilg | 6 ++++++ JChatClient/doc/latex/refman.ind | 237 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/refman.log | 1533 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/refman.out | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/refman.pdf | Bin 0 -> 156199 bytes JChatClient/doc/latex/refman.tex | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/refman.toc | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/server_8cpp.tex | 19 +++++++++++++++++++ JChatClient/doc/latex/server_8dox.tex | 12 ++++++++++++ JChatClient/doc/latex/server_8h.tex | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/server_code.tex | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/doc/latex/structthread__args.tex | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/socket.conf | 2 ++ JChatClient/src/Socket.cpp | 191 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/src/client.cpp | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/src/client.dox | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/src/howto.dox | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/src/include/Socket.h | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/src/include/SocketException.h | 34 ++++++++++++++++++++++++++++++++++ JChatClient/src/include/server.h | 149 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ JChatClient/src/mainpage.dox | 13 +++++++++++++ JChatClient/src/makefile.dox | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ Socket/Makefile | 47 ----------------------------------------------- Socket/bin/client | Bin 18112 -> 0 bytes Socket/bin/server | Bin 26372 -> 0 bytes Socket/bin/socket.conf | 2 -- Socket/doc/doxygen/Doxyfile | 1826 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/_socket_8cpp.html | 114 ------------------------------------------------------------------------------------------------------------------ Socket/doc/html/_socket_8h.html | 127 ------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/_socket_8h_source.html | 151 ------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/_socket_exception_8h.html | 120 ------------------------------------------------------------------------------------------------------------------------ Socket/doc/html/_socket_exception_8h_source.html | 121 ------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/annotated.html | 105 --------------------------------------------------------------------------------------------------------- Socket/doc/html/bc_s.png | Bin 676 -> 0 bytes Socket/doc/html/bdwn.png | Bin 147 -> 0 bytes Socket/doc/html/class_server-members.html | 114 ------------------------------------------------------------------------------------------------------------------ Socket/doc/html/class_server.html | 488 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/class_socket-members.html | 114 ------------------------------------------------------------------------------------------------------------------ Socket/doc/html/class_socket.html | 549 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/class_socket_exception-members.html | 104 -------------------------------------------------------------------------------------------------------- Socket/doc/html/class_socket_exception.html | 237 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/classes.html | 107 ----------------------------------------------------------------------------------------------------------- Socket/doc/html/client_8cpp.html | 171 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/client_8dox.html | 99 --------------------------------------------------------------------------------------------------- Socket/doc/html/client_code.html | 131 ----------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/closed.png | Bin 132 -> 0 bytes Socket/doc/html/conf.html | 124 ---------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/conf_8dox.html | 99 --------------------------------------------------------------------------------------------------- Socket/doc/html/dir_09c6c7003a5a6c451627316e32d323da.html | 115 ------------------------------------------------------------------------------------------------------------------- Socket/doc/html/dir_75b82e7e4a5feb05200b9ad7adf06257.html | 100 ---------------------------------------------------------------------------------------------------- Socket/doc/html/dir_86dc413d07e0b16a37ceb0e2a17fed53.html | 100 ---------------------------------------------------------------------------------------------------- Socket/doc/html/dir_8f7199732ad0be50edd1dbedbf9226de.html | 100 ---------------------------------------------------------------------------------------------------- Socket/doc/html/dir_ade356989cf64bc7da597536eeab2615.html | 100 ---------------------------------------------------------------------------------------------------- Socket/doc/html/dir_b94371269b479bae3e8fa897a2ece63e.html | 107 ----------------------------------------------------------------------------------------------------------- Socket/doc/html/dir_c63cc34e984e21a69fd262eeef6a5cbb.html | 100 ---------------------------------------------------------------------------------------------------- Socket/doc/html/dir_d340535e561321e2c4ccf1a3f2b14fb9.html | 100 ---------------------------------------------------------------------------------------------------- Socket/doc/html/doxygen.css | 1184 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/doxygen.png | Bin 3779 -> 0 bytes Socket/doc/html/dynsections.js | 97 ------------------------------------------------------------------------------------------------- Socket/doc/html/files.html | 115 ------------------------------------------------------------------------------------------------------------------- Socket/doc/html/ftv2blank.png | Bin 86 -> 0 bytes Socket/doc/html/ftv2cl.png | Bin 453 -> 0 bytes Socket/doc/html/ftv2doc.png | Bin 746 -> 0 bytes Socket/doc/html/ftv2folderclosed.png | Bin 616 -> 0 bytes Socket/doc/html/ftv2folderopen.png | Bin 597 -> 0 bytes Socket/doc/html/ftv2lastnode.png | Bin 86 -> 0 bytes Socket/doc/html/ftv2link.png | Bin 746 -> 0 bytes Socket/doc/html/ftv2mlastnode.png | Bin 246 -> 0 bytes Socket/doc/html/ftv2mnode.png | Bin 246 -> 0 bytes Socket/doc/html/ftv2mo.png | Bin 403 -> 0 bytes Socket/doc/html/ftv2node.png | Bin 86 -> 0 bytes Socket/doc/html/ftv2ns.png | Bin 388 -> 0 bytes Socket/doc/html/ftv2plastnode.png | Bin 229 -> 0 bytes Socket/doc/html/ftv2pnode.png | Bin 229 -> 0 bytes Socket/doc/html/ftv2splitbar.png | Bin 314 -> 0 bytes Socket/doc/html/ftv2vertline.png | Bin 86 -> 0 bytes Socket/doc/html/functions.html | 298 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/functions_func.html | 171 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/functions_vars.html | 147 --------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/globals.html | 137 ----------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/globals_defs.html | 108 ------------------------------------------------------------------------------------------------------------ Socket/doc/html/globals_func.html | 128 -------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/globals_vars.html | 105 --------------------------------------------------------------------------------------------------------- Socket/doc/html/howto.html | 172 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/howto_8dox.html | 99 --------------------------------------------------------------------------------------------------- Socket/doc/html/index.html | 97 ------------------------------------------------------------------------------------------------- Socket/doc/html/jquery.js | 8 -------- Socket/doc/html/main__server_8cpp.html | 317 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/mainpage_8dox.html | 96 ------------------------------------------------------------------------------------------------ Socket/doc/html/makefile_8dox.html | 96 ------------------------------------------------------------------------------------------------ Socket/doc/html/nav_f.png | Bin 153 -> 0 bytes Socket/doc/html/nav_g.png | Bin 94 -> 0 bytes Socket/doc/html/nav_h.png | Bin 98 -> 0 bytes Socket/doc/html/open.png | Bin 123 -> 0 bytes Socket/doc/html/pages.html | 98 -------------------------------------------------------------------------------------------------- Socket/doc/html/search/all_61.html | 26 -------------------------- Socket/doc/html/search/all_61.js | 4 ---- Socket/doc/html/search/all_62.html | 26 -------------------------- Socket/doc/html/search/all_62.js | 4 ---- Socket/doc/html/search/all_63.html | 26 -------------------------- Socket/doc/html/search/all_63.js | 12 ------------ Socket/doc/html/search/all_64.html | 26 -------------------------- Socket/doc/html/search/all_64.js | 4 ---- Socket/doc/html/search/all_65.html | 26 -------------------------- Socket/doc/html/search/all_65.js | 4 ---- Socket/doc/html/search/all_66.html | 26 -------------------------- Socket/doc/html/search/all_66.js | 5 ----- Socket/doc/html/search/all_67.html | 26 -------------------------- Socket/doc/html/search/all_67.js | 7 ------- Socket/doc/html/search/all_68.html | 26 -------------------------- Socket/doc/html/search/all_68.js | 5 ----- Socket/doc/html/search/all_69.html | 26 -------------------------- Socket/doc/html/search/all_69.js | 4 ---- Socket/doc/html/search/all_6b.html | 26 -------------------------- Socket/doc/html/search/all_6b.js | 4 ---- Socket/doc/html/search/all_6c.html | 26 -------------------------- Socket/doc/html/search/all_6c.js | 4 ---- Socket/doc/html/search/all_6d.html | 26 -------------------------- Socket/doc/html/search/all_6d.js | 9 --------- Socket/doc/html/search/all_6e.html | 26 -------------------------- Socket/doc/html/search/all_6e.js | 5 ----- Socket/doc/html/search/all_6f.html | 26 -------------------------- Socket/doc/html/search/all_6f.js | 5 ----- Socket/doc/html/search/all_70.html | 26 -------------------------- Socket/doc/html/search/all_70.js | 5 ----- Socket/doc/html/search/all_72.html | 26 -------------------------- Socket/doc/html/search/all_72.js | 6 ------ Socket/doc/html/search/all_73.html | 26 -------------------------- Socket/doc/html/search/all_73.js | 25 ------------------------- Socket/doc/html/search/all_74.html | 26 -------------------------- Socket/doc/html/search/all_74.js | 5 ----- Socket/doc/html/search/all_77.html | 26 -------------------------- Socket/doc/html/search/all_77.js | 5 ----- Socket/doc/html/search/all_7e.html | 26 -------------------------- Socket/doc/html/search/all_7e.js | 4 ---- Socket/doc/html/search/classes_73.html | 26 -------------------------- Socket/doc/html/search/classes_73.js | 6 ------ Socket/doc/html/search/classes_74.html | 26 -------------------------- Socket/doc/html/search/classes_74.js | 4 ---- Socket/doc/html/search/close.png | Bin 273 -> 0 bytes Socket/doc/html/search/defines_63.html | 26 -------------------------- Socket/doc/html/search/defines_63.js | 4 ---- Socket/doc/html/search/defines_6e.html | 26 -------------------------- Socket/doc/html/search/defines_6e.js | 4 ---- Socket/doc/html/search/files_63.html | 26 -------------------------- Socket/doc/html/search/files_63.js | 6 ------ Socket/doc/html/search/files_68.html | 26 -------------------------- Socket/doc/html/search/files_68.js | 4 ---- Socket/doc/html/search/files_6d.html | 26 -------------------------- Socket/doc/html/search/files_6d.js | 6 ------ Socket/doc/html/search/files_73.html | 26 -------------------------- Socket/doc/html/search/files_73.js | 9 --------- Socket/doc/html/search/functions_61.html | 26 -------------------------- Socket/doc/html/search/functions_61.js | 4 ---- Socket/doc/html/search/functions_62.html | 26 -------------------------- Socket/doc/html/search/functions_62.js | 4 ---- Socket/doc/html/search/functions_63.html | 26 -------------------------- Socket/doc/html/search/functions_63.js | 6 ------ Socket/doc/html/search/functions_64.html | 26 -------------------------- Socket/doc/html/search/functions_64.js | 4 ---- Socket/doc/html/search/functions_65.html | 26 -------------------------- Socket/doc/html/search/functions_65.js | 4 ---- Socket/doc/html/search/functions_66.html | 26 -------------------------- Socket/doc/html/search/functions_66.js | 4 ---- Socket/doc/html/search/functions_67.html | 26 -------------------------- Socket/doc/html/search/functions_67.js | 7 ------- Socket/doc/html/search/functions_6b.html | 26 -------------------------- Socket/doc/html/search/functions_6b.js | 4 ---- Socket/doc/html/search/functions_6c.html | 26 -------------------------- Socket/doc/html/search/functions_6c.js | 4 ---- Socket/doc/html/search/functions_6d.html | 26 -------------------------- Socket/doc/html/search/functions_6d.js | 4 ---- Socket/doc/html/search/functions_6f.html | 26 -------------------------- Socket/doc/html/search/functions_6f.js | 5 ----- Socket/doc/html/search/functions_70.html | 26 -------------------------- Socket/doc/html/search/functions_70.js | 4 ---- Socket/doc/html/search/functions_72.html | 26 -------------------------- Socket/doc/html/search/functions_72.js | 6 ------ Socket/doc/html/search/functions_73.html | 26 -------------------------- Socket/doc/html/search/functions_73.js | 10 ---------- Socket/doc/html/search/functions_77.html | 26 -------------------------- Socket/doc/html/search/functions_77.js | 4 ---- Socket/doc/html/search/functions_7e.html | 26 -------------------------- Socket/doc/html/search/functions_7e.js | 4 ---- Socket/doc/html/search/mag_sel.png | Bin 563 -> 0 bytes Socket/doc/html/search/nomatches.html | 12 ------------ Socket/doc/html/search/pages_63.html | 26 -------------------------- Socket/doc/html/search/pages_63.js | 4 ---- Socket/doc/html/search/pages_66.html | 26 -------------------------- Socket/doc/html/search/pages_66.js | 4 ---- Socket/doc/html/search/pages_68.html | 26 -------------------------- Socket/doc/html/search/pages_68.js | 4 ---- Socket/doc/html/search/pages_70.html | 26 -------------------------- Socket/doc/html/search/pages_70.js | 4 ---- Socket/doc/html/search/pages_73.html | 26 -------------------------- Socket/doc/html/search/pages_73.js | 4 ---- Socket/doc/html/search/search.css | 271 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/search/search.js | 807 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/search/search_l.png | Bin 604 -> 0 bytes Socket/doc/html/search/search_m.png | Bin 158 -> 0 bytes Socket/doc/html/search/search_r.png | Bin 612 -> 0 bytes Socket/doc/html/search/variables_63.html | 26 -------------------------- Socket/doc/html/search/variables_63.js | 4 ---- Socket/doc/html/search/variables_69.html | 26 -------------------------- Socket/doc/html/search/variables_69.js | 4 ---- Socket/doc/html/search/variables_6d.html | 26 -------------------------- Socket/doc/html/search/variables_6d.js | 5 ----- Socket/doc/html/search/variables_6e.html | 26 -------------------------- Socket/doc/html/search/variables_6e.js | 4 ---- Socket/doc/html/search/variables_73.html | 26 -------------------------- Socket/doc/html/search/variables_73.js | 11 ----------- Socket/doc/html/search/variables_74.html | 26 -------------------------- Socket/doc/html/search/variables_74.js | 4 ---- Socket/doc/html/search/variables_77.html | 26 -------------------------- Socket/doc/html/search/variables_77.js | 4 ---- Socket/doc/html/server_8cpp.html | 109 ------------------------------------------------------------------------------------------------------------- Socket/doc/html/server_8dox.html | 99 --------------------------------------------------------------------------------------------------- Socket/doc/html/server_8h.html | 300 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Socket/doc/html/server_8h_source.html | 185 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/server_code.html | 202 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/structthread__args-members.html | 106 ---------------------------------------------------------------------------------------------------------- Socket/doc/html/structthread__args.html | 227 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/html/sync_off.png | Bin 853 -> 0 bytes Socket/doc/html/sync_on.png | Bin 845 -> 0 bytes Socket/doc/html/tab_a.png | Bin 142 -> 0 bytes Socket/doc/html/tab_b.png | Bin 169 -> 0 bytes Socket/doc/html/tab_h.png | Bin 177 -> 0 bytes Socket/doc/html/tab_s.png | Bin 184 -> 0 bytes Socket/doc/html/tabs.css | 60 ------------------------------------------------------------ Socket/doc/latex/Makefile | 19 ------------------- Socket/doc/latex/_socket_8cpp.tex | 24 ------------------------ Socket/doc/latex/_socket_8h.tex | 31 ------------------------------- Socket/doc/latex/_socket_exception_8h.tex | 24 ------------------------ Socket/doc/latex/annotated.tex | 7 ------- Socket/doc/latex/class_server.tex | 216 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Socket/doc/latex/class_socket.tex | 271 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/latex/class_socket_exception.tex | 86 -------------------------------------------------------------------------------------- Socket/doc/latex/client_8cpp.tex | 62 -------------------------------------------------------------- Socket/doc/latex/client_8dox.tex | 12 ------------ Socket/doc/latex/client_code.tex | 46 ---------------------------------------------- Socket/doc/latex/conf.tex | 22 ---------------------- Socket/doc/latex/conf_8dox.tex | 12 ------------ Socket/doc/latex/dir_09c6c7003a5a6c451627316e32d323da.tex | 19 ------------------- Socket/doc/latex/dir_75b82e7e4a5feb05200b9ad7adf06257.tex | 8 -------- Socket/doc/latex/dir_86dc413d07e0b16a37ceb0e2a17fed53.tex | 8 -------- Socket/doc/latex/dir_8f7199732ad0be50edd1dbedbf9226de.tex | 8 -------- Socket/doc/latex/dir_ade356989cf64bc7da597536eeab2615.tex | 8 -------- Socket/doc/latex/dir_b94371269b479bae3e8fa897a2ece63e.tex | 12 ------------ Socket/doc/latex/dir_c63cc34e984e21a69fd262eeef6a5cbb.tex | 8 -------- Socket/doc/latex/dir_d340535e561321e2c4ccf1a3f2b14fb9.tex | 8 -------- Socket/doc/latex/doxygen.sty | 484 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/latex/files.tex | 10 ---------- Socket/doc/latex/howto.tex | 59 ----------------------------------------------------------- Socket/doc/latex/howto_8dox.tex | 12 ------------ Socket/doc/latex/index.tex | 14 -------------- Socket/doc/latex/main__server_8cpp.tex | 155 ----------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/latex/mainpage_8dox.tex | 3 --- Socket/doc/latex/makefile_8dox.tex | 3 --- Socket/doc/latex/refman.aux | 323 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/latex/refman.idx | 123 --------------------------------------------------------------------------------------------------------------------------- Socket/doc/latex/refman.ilg | 6 ------ Socket/doc/latex/refman.ind | 261 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/latex/refman.log | 1603 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/latex/refman.out | 126 ------------------------------------------------------------------------------------------------------------------------------ Socket/doc/latex/refman.pdf | Bin 177142 -> 0 bytes Socket/doc/latex/refman.tex | 110 -------------------------------------------------------------------------------------------------------------- Socket/doc/latex/refman.toc | 127 ------------------------------------------------------------------------------------------------------------------------------- Socket/doc/latex/server_8cpp.tex | 19 ------------------- Socket/doc/latex/server_8dox.tex | 12 ------------ Socket/doc/latex/server_8h.tex | 140 -------------------------------------------------------------------------------------------------------------------------------------------- Socket/doc/latex/server_code.tex | 119 ----------------------------------------------------------------------------------------------------------------------- Socket/doc/latex/structthread__args.tex | 90 ------------------------------------------------------------------------------------------ Socket/socket.conf | 2 -- Socket/src/Socket.cpp | 191 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/src/client.cpp | 138 ------------------------------------------------------------------------------------------------------------------------------------------ Socket/src/client.dox | 49 ------------------------------------------------- Socket/src/conf.dox | 31 ------------------------------- Socket/src/howto.dox | 64 ---------------------------------------------------------------- Socket/src/include/Socket.h | 86 -------------------------------------------------------------------------------------- Socket/src/include/SocketException.h | 34 ---------------------------------- Socket/src/include/server.h | 149 ----------------------------------------------------------------------------------------------------------------------------------------------------- Socket/src/main_server.cpp | 160 ---------------------------------------------------------------------------------------------------------------------------------------------------------------- Socket/src/mainpage.dox | 13 ------------- Socket/src/makefile.dox | 53 ----------------------------------------------------- Socket/src/server.cpp | 116 -------------------------------------------------------------------------------------------------------------------- Socket/src/server.dox | 120 ------------------------------------------------------------------------------------------------------------------------ 528 files changed, 19017 insertions(+), 19298 deletions(-) create mode 100644 JChatClient/Makefile create mode 100755 JChatClient/bin/client create mode 100644 JChatClient/doc/doxygen/Doxyfile create mode 100644 JChatClient/doc/html/_socket_8cpp.html create mode 100644 JChatClient/doc/html/_socket_8h.html create mode 100644 JChatClient/doc/html/_socket_8h_source.html create mode 100644 JChatClient/doc/html/_socket_exception_8h.html create mode 100644 JChatClient/doc/html/_socket_exception_8h_source.html create mode 100644 JChatClient/doc/html/annotated.html create mode 100644 JChatClient/doc/html/bc_s.png create mode 100644 JChatClient/doc/html/bdwn.png create mode 100644 JChatClient/doc/html/class_server-members.html create mode 100644 JChatClient/doc/html/class_server.html create mode 100644 JChatClient/doc/html/class_socket-members.html create mode 100644 JChatClient/doc/html/class_socket.html create mode 100644 JChatClient/doc/html/class_socket_exception-members.html create mode 100644 JChatClient/doc/html/class_socket_exception.html create mode 100644 JChatClient/doc/html/classes.html create mode 100644 JChatClient/doc/html/client_8cpp.html create mode 100644 JChatClient/doc/html/client_8dox.html create mode 100644 JChatClient/doc/html/client_code.html create mode 100644 JChatClient/doc/html/closed.png create mode 100644 JChatClient/doc/html/conf.html create mode 100644 JChatClient/doc/html/conf_8dox.html create mode 100644 JChatClient/doc/html/dir_09c6c7003a5a6c451627316e32d323da.html create mode 100644 JChatClient/doc/html/dir_15c52bfb9a80984ec0ac7c94446ac4fc.html create mode 100644 JChatClient/doc/html/dir_74bdbd27aa6df54b6fb8f419761ac887.html create mode 100644 JChatClient/doc/html/dir_75b82e7e4a5feb05200b9ad7adf06257.html create mode 100644 JChatClient/doc/html/dir_86dc413d07e0b16a37ceb0e2a17fed53.html create mode 100644 JChatClient/doc/html/dir_8f7199732ad0be50edd1dbedbf9226de.html create mode 100644 JChatClient/doc/html/dir_ade356989cf64bc7da597536eeab2615.html create mode 100644 JChatClient/doc/html/dir_b94371269b479bae3e8fa897a2ece63e.html create mode 100644 JChatClient/doc/html/dir_c16c2f6bdf6587439d9ad3d8f0d21517.html create mode 100644 JChatClient/doc/html/dir_c63cc34e984e21a69fd262eeef6a5cbb.html create mode 100644 JChatClient/doc/html/dir_d340535e561321e2c4ccf1a3f2b14fb9.html create mode 100644 JChatClient/doc/html/doxygen.css create mode 100644 JChatClient/doc/html/doxygen.png create mode 100644 JChatClient/doc/html/dynsections.js create mode 100644 JChatClient/doc/html/files.html create mode 100644 JChatClient/doc/html/ftv2blank.png create mode 100644 JChatClient/doc/html/ftv2cl.png create mode 100644 JChatClient/doc/html/ftv2doc.png create mode 100644 JChatClient/doc/html/ftv2folderclosed.png create mode 100644 JChatClient/doc/html/ftv2folderopen.png create mode 100644 JChatClient/doc/html/ftv2lastnode.png create mode 100644 JChatClient/doc/html/ftv2link.png create mode 100644 JChatClient/doc/html/ftv2mlastnode.png create mode 100644 JChatClient/doc/html/ftv2mnode.png create mode 100644 JChatClient/doc/html/ftv2mo.png create mode 100644 JChatClient/doc/html/ftv2node.png create mode 100644 JChatClient/doc/html/ftv2ns.png create mode 100644 JChatClient/doc/html/ftv2plastnode.png create mode 100644 JChatClient/doc/html/ftv2pnode.png create mode 100644 JChatClient/doc/html/ftv2splitbar.png create mode 100644 JChatClient/doc/html/ftv2vertline.png create mode 100644 JChatClient/doc/html/functions.html create mode 100644 JChatClient/doc/html/functions_func.html create mode 100644 JChatClient/doc/html/functions_vars.html create mode 100644 JChatClient/doc/html/globals.html create mode 100644 JChatClient/doc/html/globals_defs.html create mode 100644 JChatClient/doc/html/globals_func.html create mode 100644 JChatClient/doc/html/globals_vars.html create mode 100644 JChatClient/doc/html/howto.html create mode 100644 JChatClient/doc/html/howto_8dox.html create mode 100644 JChatClient/doc/html/index.html create mode 100644 JChatClient/doc/html/jquery.js create mode 100644 JChatClient/doc/html/main__server_8cpp.html create mode 100644 JChatClient/doc/html/mainpage_8dox.html create mode 100644 JChatClient/doc/html/makefile_8dox.html create mode 100644 JChatClient/doc/html/nav_f.png create mode 100644 JChatClient/doc/html/nav_g.png create mode 100644 JChatClient/doc/html/nav_h.png create mode 100644 JChatClient/doc/html/open.png create mode 100644 JChatClient/doc/html/pages.html create mode 100644 JChatClient/doc/html/search/all_61.html create mode 100644 JChatClient/doc/html/search/all_61.js create mode 100644 JChatClient/doc/html/search/all_62.html create mode 100644 JChatClient/doc/html/search/all_62.js create mode 100644 JChatClient/doc/html/search/all_63.html create mode 100644 JChatClient/doc/html/search/all_63.js create mode 100644 JChatClient/doc/html/search/all_64.html create mode 100644 JChatClient/doc/html/search/all_64.js create mode 100644 JChatClient/doc/html/search/all_65.html create mode 100644 JChatClient/doc/html/search/all_65.js create mode 100644 JChatClient/doc/html/search/all_66.html create mode 100644 JChatClient/doc/html/search/all_66.js create mode 100644 JChatClient/doc/html/search/all_67.html create mode 100644 JChatClient/doc/html/search/all_67.js create mode 100644 JChatClient/doc/html/search/all_68.html create mode 100644 JChatClient/doc/html/search/all_68.js create mode 100644 JChatClient/doc/html/search/all_69.html create mode 100644 JChatClient/doc/html/search/all_69.js create mode 100644 JChatClient/doc/html/search/all_6b.html create mode 100644 JChatClient/doc/html/search/all_6b.js create mode 100644 JChatClient/doc/html/search/all_6c.html create mode 100644 JChatClient/doc/html/search/all_6c.js create mode 100644 JChatClient/doc/html/search/all_6d.html create mode 100644 JChatClient/doc/html/search/all_6d.js create mode 100644 JChatClient/doc/html/search/all_6e.html create mode 100644 JChatClient/doc/html/search/all_6e.js create mode 100644 JChatClient/doc/html/search/all_6f.html create mode 100644 JChatClient/doc/html/search/all_6f.js create mode 100644 JChatClient/doc/html/search/all_70.html create mode 100644 JChatClient/doc/html/search/all_70.js create mode 100644 JChatClient/doc/html/search/all_72.html create mode 100644 JChatClient/doc/html/search/all_72.js create mode 100644 JChatClient/doc/html/search/all_73.html create mode 100644 JChatClient/doc/html/search/all_73.js create mode 100644 JChatClient/doc/html/search/all_74.html create mode 100644 JChatClient/doc/html/search/all_74.js create mode 100644 JChatClient/doc/html/search/all_77.html create mode 100644 JChatClient/doc/html/search/all_77.js create mode 100644 JChatClient/doc/html/search/all_7e.html create mode 100644 JChatClient/doc/html/search/all_7e.js create mode 100644 JChatClient/doc/html/search/classes_73.html create mode 100644 JChatClient/doc/html/search/classes_73.js create mode 100644 JChatClient/doc/html/search/classes_74.html create mode 100644 JChatClient/doc/html/search/classes_74.js create mode 100644 JChatClient/doc/html/search/close.png create mode 100644 JChatClient/doc/html/search/defines_63.html create mode 100644 JChatClient/doc/html/search/defines_63.js create mode 100644 JChatClient/doc/html/search/defines_6e.html create mode 100644 JChatClient/doc/html/search/defines_6e.js create mode 100644 JChatClient/doc/html/search/files_63.html create mode 100644 JChatClient/doc/html/search/files_63.js create mode 100644 JChatClient/doc/html/search/files_68.html create mode 100644 JChatClient/doc/html/search/files_68.js create mode 100644 JChatClient/doc/html/search/files_6d.html create mode 100644 JChatClient/doc/html/search/files_6d.js create mode 100644 JChatClient/doc/html/search/files_73.html create mode 100644 JChatClient/doc/html/search/files_73.js create mode 100644 JChatClient/doc/html/search/functions_61.html create mode 100644 JChatClient/doc/html/search/functions_61.js create mode 100644 JChatClient/doc/html/search/functions_62.html create mode 100644 JChatClient/doc/html/search/functions_62.js create mode 100644 JChatClient/doc/html/search/functions_63.html create mode 100644 JChatClient/doc/html/search/functions_63.js create mode 100644 JChatClient/doc/html/search/functions_64.html create mode 100644 JChatClient/doc/html/search/functions_64.js create mode 100644 JChatClient/doc/html/search/functions_65.html create mode 100644 JChatClient/doc/html/search/functions_65.js create mode 100644 JChatClient/doc/html/search/functions_66.html create mode 100644 JChatClient/doc/html/search/functions_66.js create mode 100644 JChatClient/doc/html/search/functions_67.html create mode 100644 JChatClient/doc/html/search/functions_67.js create mode 100644 JChatClient/doc/html/search/functions_6b.html create mode 100644 JChatClient/doc/html/search/functions_6b.js create mode 100644 JChatClient/doc/html/search/functions_6c.html create mode 100644 JChatClient/doc/html/search/functions_6c.js create mode 100644 JChatClient/doc/html/search/functions_6d.html create mode 100644 JChatClient/doc/html/search/functions_6d.js create mode 100644 JChatClient/doc/html/search/functions_6f.html create mode 100644 JChatClient/doc/html/search/functions_6f.js create mode 100644 JChatClient/doc/html/search/functions_70.html create mode 100644 JChatClient/doc/html/search/functions_70.js create mode 100644 JChatClient/doc/html/search/functions_72.html create mode 100644 JChatClient/doc/html/search/functions_72.js create mode 100644 JChatClient/doc/html/search/functions_73.html create mode 100644 JChatClient/doc/html/search/functions_73.js create mode 100644 JChatClient/doc/html/search/functions_77.html create mode 100644 JChatClient/doc/html/search/functions_77.js create mode 100644 JChatClient/doc/html/search/functions_7e.html create mode 100644 JChatClient/doc/html/search/functions_7e.js create mode 100644 JChatClient/doc/html/search/mag_sel.png create mode 100644 JChatClient/doc/html/search/nomatches.html create mode 100644 JChatClient/doc/html/search/pages_63.html create mode 100644 JChatClient/doc/html/search/pages_63.js create mode 100644 JChatClient/doc/html/search/pages_66.html create mode 100644 JChatClient/doc/html/search/pages_66.js create mode 100644 JChatClient/doc/html/search/pages_68.html create mode 100644 JChatClient/doc/html/search/pages_68.js create mode 100644 JChatClient/doc/html/search/pages_70.html create mode 100644 JChatClient/doc/html/search/pages_70.js create mode 100644 JChatClient/doc/html/search/pages_73.html create mode 100644 JChatClient/doc/html/search/pages_73.js create mode 100644 JChatClient/doc/html/search/search.css create mode 100644 JChatClient/doc/html/search/search.js create mode 100644 JChatClient/doc/html/search/search_l.png create mode 100644 JChatClient/doc/html/search/search_m.png create mode 100644 JChatClient/doc/html/search/search_r.png create mode 100644 JChatClient/doc/html/search/variables_63.html create mode 100644 JChatClient/doc/html/search/variables_63.js create mode 100644 JChatClient/doc/html/search/variables_69.html create mode 100644 JChatClient/doc/html/search/variables_69.js create mode 100644 JChatClient/doc/html/search/variables_6d.html create mode 100644 JChatClient/doc/html/search/variables_6d.js create mode 100644 JChatClient/doc/html/search/variables_6e.html create mode 100644 JChatClient/doc/html/search/variables_6e.js create mode 100644 JChatClient/doc/html/search/variables_73.html create mode 100644 JChatClient/doc/html/search/variables_73.js create mode 100644 JChatClient/doc/html/search/variables_74.html create mode 100644 JChatClient/doc/html/search/variables_74.js create mode 100644 JChatClient/doc/html/search/variables_77.html create mode 100644 JChatClient/doc/html/search/variables_77.js create mode 100644 JChatClient/doc/html/server_8cpp.html create mode 100644 JChatClient/doc/html/server_8dox.html create mode 100644 JChatClient/doc/html/server_8h.html create mode 100644 JChatClient/doc/html/server_8h_source.html create mode 100644 JChatClient/doc/html/server_code.html create mode 100644 JChatClient/doc/html/structthread__args-members.html create mode 100644 JChatClient/doc/html/structthread__args.html create mode 100644 JChatClient/doc/html/sync_off.png create mode 100644 JChatClient/doc/html/sync_on.png create mode 100644 JChatClient/doc/html/tab_a.png create mode 100644 JChatClient/doc/html/tab_b.png create mode 100644 JChatClient/doc/html/tab_h.png create mode 100644 JChatClient/doc/html/tab_s.png create mode 100644 JChatClient/doc/html/tabs.css create mode 100644 JChatClient/doc/latex/Makefile create mode 100644 JChatClient/doc/latex/_socket_8cpp.tex create mode 100644 JChatClient/doc/latex/_socket_8h.tex create mode 100644 JChatClient/doc/latex/_socket_exception_8h.tex create mode 100644 JChatClient/doc/latex/annotated.tex create mode 100644 JChatClient/doc/latex/class_server.tex create mode 100644 JChatClient/doc/latex/class_socket.tex create mode 100644 JChatClient/doc/latex/class_socket_exception.tex create mode 100644 JChatClient/doc/latex/client_8cpp.tex create mode 100644 JChatClient/doc/latex/client_8dox.tex create mode 100644 JChatClient/doc/latex/client_code.tex create mode 100644 JChatClient/doc/latex/conf.tex create mode 100644 JChatClient/doc/latex/conf_8dox.tex create mode 100644 JChatClient/doc/latex/dir_09c6c7003a5a6c451627316e32d323da.tex create mode 100644 JChatClient/doc/latex/dir_15c52bfb9a80984ec0ac7c94446ac4fc.tex create mode 100644 JChatClient/doc/latex/dir_74bdbd27aa6df54b6fb8f419761ac887.tex create mode 100644 JChatClient/doc/latex/dir_75b82e7e4a5feb05200b9ad7adf06257.tex create mode 100644 JChatClient/doc/latex/dir_86dc413d07e0b16a37ceb0e2a17fed53.tex create mode 100644 JChatClient/doc/latex/dir_8f7199732ad0be50edd1dbedbf9226de.tex create mode 100644 JChatClient/doc/latex/dir_ade356989cf64bc7da597536eeab2615.tex create mode 100644 JChatClient/doc/latex/dir_b94371269b479bae3e8fa897a2ece63e.tex create mode 100644 JChatClient/doc/latex/dir_c16c2f6bdf6587439d9ad3d8f0d21517.tex create mode 100644 JChatClient/doc/latex/dir_c63cc34e984e21a69fd262eeef6a5cbb.tex create mode 100644 JChatClient/doc/latex/dir_d340535e561321e2c4ccf1a3f2b14fb9.tex create mode 100644 JChatClient/doc/latex/doxygen.sty create mode 100644 JChatClient/doc/latex/files.tex create mode 100644 JChatClient/doc/latex/howto.tex create mode 100644 JChatClient/doc/latex/howto_8dox.tex create mode 100644 JChatClient/doc/latex/index.tex create mode 100644 JChatClient/doc/latex/main__server_8cpp.tex create mode 100644 JChatClient/doc/latex/mainpage_8dox.tex create mode 100644 JChatClient/doc/latex/makefile_8dox.tex create mode 100644 JChatClient/doc/latex/refman.aux create mode 100644 JChatClient/doc/latex/refman.idx create mode 100644 JChatClient/doc/latex/refman.ilg create mode 100644 JChatClient/doc/latex/refman.ind create mode 100644 JChatClient/doc/latex/refman.log create mode 100644 JChatClient/doc/latex/refman.out create mode 100644 JChatClient/doc/latex/refman.pdf create mode 100644 JChatClient/doc/latex/refman.tex create mode 100644 JChatClient/doc/latex/refman.toc create mode 100644 JChatClient/doc/latex/server_8cpp.tex create mode 100644 JChatClient/doc/latex/server_8dox.tex create mode 100644 JChatClient/doc/latex/server_8h.tex create mode 100644 JChatClient/doc/latex/server_code.tex create mode 100644 JChatClient/doc/latex/structthread__args.tex create mode 100644 JChatClient/socket.conf create mode 100644 JChatClient/src/Socket.cpp create mode 100644 JChatClient/src/client.cpp create mode 100644 JChatClient/src/client.dox create mode 100644 JChatClient/src/howto.dox create mode 100644 JChatClient/src/include/Socket.h create mode 100644 JChatClient/src/include/SocketException.h create mode 100644 JChatClient/src/include/server.h create mode 100644 JChatClient/src/mainpage.dox create mode 100644 JChatClient/src/makefile.dox delete mode 100644 Socket/Makefile delete mode 100755 Socket/bin/client delete mode 100755 Socket/bin/server delete mode 100644 Socket/bin/socket.conf delete mode 100644 Socket/doc/doxygen/Doxyfile delete mode 100644 Socket/doc/html/_socket_8cpp.html delete mode 100644 Socket/doc/html/_socket_8h.html delete mode 100644 Socket/doc/html/_socket_8h_source.html delete mode 100644 Socket/doc/html/_socket_exception_8h.html delete mode 100644 Socket/doc/html/_socket_exception_8h_source.html delete mode 100644 Socket/doc/html/annotated.html delete mode 100644 Socket/doc/html/bc_s.png delete mode 100644 Socket/doc/html/bdwn.png delete mode 100644 Socket/doc/html/class_server-members.html delete mode 100644 Socket/doc/html/class_server.html delete mode 100644 Socket/doc/html/class_socket-members.html delete mode 100644 Socket/doc/html/class_socket.html delete mode 100644 Socket/doc/html/class_socket_exception-members.html delete mode 100644 Socket/doc/html/class_socket_exception.html delete mode 100644 Socket/doc/html/classes.html delete mode 100644 Socket/doc/html/client_8cpp.html delete mode 100644 Socket/doc/html/client_8dox.html delete mode 100644 Socket/doc/html/client_code.html delete mode 100644 Socket/doc/html/closed.png delete mode 100644 Socket/doc/html/conf.html delete mode 100644 Socket/doc/html/conf_8dox.html delete mode 100644 Socket/doc/html/dir_09c6c7003a5a6c451627316e32d323da.html delete mode 100644 Socket/doc/html/dir_75b82e7e4a5feb05200b9ad7adf06257.html delete mode 100644 Socket/doc/html/dir_86dc413d07e0b16a37ceb0e2a17fed53.html delete mode 100644 Socket/doc/html/dir_8f7199732ad0be50edd1dbedbf9226de.html delete mode 100644 Socket/doc/html/dir_ade356989cf64bc7da597536eeab2615.html delete mode 100644 Socket/doc/html/dir_b94371269b479bae3e8fa897a2ece63e.html delete mode 100644 Socket/doc/html/dir_c63cc34e984e21a69fd262eeef6a5cbb.html delete mode 100644 Socket/doc/html/dir_d340535e561321e2c4ccf1a3f2b14fb9.html delete mode 100644 Socket/doc/html/doxygen.css delete mode 100644 Socket/doc/html/doxygen.png delete mode 100644 Socket/doc/html/dynsections.js delete mode 100644 Socket/doc/html/files.html delete mode 100644 Socket/doc/html/ftv2blank.png delete mode 100644 Socket/doc/html/ftv2cl.png delete mode 100644 Socket/doc/html/ftv2doc.png delete mode 100644 Socket/doc/html/ftv2folderclosed.png delete mode 100644 Socket/doc/html/ftv2folderopen.png delete mode 100644 Socket/doc/html/ftv2lastnode.png delete mode 100644 Socket/doc/html/ftv2link.png delete mode 100644 Socket/doc/html/ftv2mlastnode.png delete mode 100644 Socket/doc/html/ftv2mnode.png delete mode 100644 Socket/doc/html/ftv2mo.png delete mode 100644 Socket/doc/html/ftv2node.png delete mode 100644 Socket/doc/html/ftv2ns.png delete mode 100644 Socket/doc/html/ftv2plastnode.png delete mode 100644 Socket/doc/html/ftv2pnode.png delete mode 100644 Socket/doc/html/ftv2splitbar.png delete mode 100644 Socket/doc/html/ftv2vertline.png delete mode 100644 Socket/doc/html/functions.html delete mode 100644 Socket/doc/html/functions_func.html delete mode 100644 Socket/doc/html/functions_vars.html delete mode 100644 Socket/doc/html/globals.html delete mode 100644 Socket/doc/html/globals_defs.html delete mode 100644 Socket/doc/html/globals_func.html delete mode 100644 Socket/doc/html/globals_vars.html delete mode 100644 Socket/doc/html/howto.html delete mode 100644 Socket/doc/html/howto_8dox.html delete mode 100644 Socket/doc/html/index.html delete mode 100644 Socket/doc/html/jquery.js delete mode 100644 Socket/doc/html/main__server_8cpp.html delete mode 100644 Socket/doc/html/mainpage_8dox.html delete mode 100644 Socket/doc/html/makefile_8dox.html delete mode 100644 Socket/doc/html/nav_f.png delete mode 100644 Socket/doc/html/nav_g.png delete mode 100644 Socket/doc/html/nav_h.png delete mode 100644 Socket/doc/html/open.png delete mode 100644 Socket/doc/html/pages.html delete mode 100644 Socket/doc/html/search/all_61.html delete mode 100644 Socket/doc/html/search/all_61.js delete mode 100644 Socket/doc/html/search/all_62.html delete mode 100644 Socket/doc/html/search/all_62.js delete mode 100644 Socket/doc/html/search/all_63.html delete mode 100644 Socket/doc/html/search/all_63.js delete mode 100644 Socket/doc/html/search/all_64.html delete mode 100644 Socket/doc/html/search/all_64.js delete mode 100644 Socket/doc/html/search/all_65.html delete mode 100644 Socket/doc/html/search/all_65.js delete mode 100644 Socket/doc/html/search/all_66.html delete mode 100644 Socket/doc/html/search/all_66.js delete mode 100644 Socket/doc/html/search/all_67.html delete mode 100644 Socket/doc/html/search/all_67.js delete mode 100644 Socket/doc/html/search/all_68.html delete mode 100644 Socket/doc/html/search/all_68.js delete mode 100644 Socket/doc/html/search/all_69.html delete mode 100644 Socket/doc/html/search/all_69.js delete mode 100644 Socket/doc/html/search/all_6b.html delete mode 100644 Socket/doc/html/search/all_6b.js delete mode 100644 Socket/doc/html/search/all_6c.html delete mode 100644 Socket/doc/html/search/all_6c.js delete mode 100644 Socket/doc/html/search/all_6d.html delete mode 100644 Socket/doc/html/search/all_6d.js delete mode 100644 Socket/doc/html/search/all_6e.html delete mode 100644 Socket/doc/html/search/all_6e.js delete mode 100644 Socket/doc/html/search/all_6f.html delete mode 100644 Socket/doc/html/search/all_6f.js delete mode 100644 Socket/doc/html/search/all_70.html delete mode 100644 Socket/doc/html/search/all_70.js delete mode 100644 Socket/doc/html/search/all_72.html delete mode 100644 Socket/doc/html/search/all_72.js delete mode 100644 Socket/doc/html/search/all_73.html delete mode 100644 Socket/doc/html/search/all_73.js delete mode 100644 Socket/doc/html/search/all_74.html delete mode 100644 Socket/doc/html/search/all_74.js delete mode 100644 Socket/doc/html/search/all_77.html delete mode 100644 Socket/doc/html/search/all_77.js delete mode 100644 Socket/doc/html/search/all_7e.html delete mode 100644 Socket/doc/html/search/all_7e.js delete mode 100644 Socket/doc/html/search/classes_73.html delete mode 100644 Socket/doc/html/search/classes_73.js delete mode 100644 Socket/doc/html/search/classes_74.html delete mode 100644 Socket/doc/html/search/classes_74.js delete mode 100644 Socket/doc/html/search/close.png delete mode 100644 Socket/doc/html/search/defines_63.html delete mode 100644 Socket/doc/html/search/defines_63.js delete mode 100644 Socket/doc/html/search/defines_6e.html delete mode 100644 Socket/doc/html/search/defines_6e.js delete mode 100644 Socket/doc/html/search/files_63.html delete mode 100644 Socket/doc/html/search/files_63.js delete mode 100644 Socket/doc/html/search/files_68.html delete mode 100644 Socket/doc/html/search/files_68.js delete mode 100644 Socket/doc/html/search/files_6d.html delete mode 100644 Socket/doc/html/search/files_6d.js delete mode 100644 Socket/doc/html/search/files_73.html delete mode 100644 Socket/doc/html/search/files_73.js delete mode 100644 Socket/doc/html/search/functions_61.html delete mode 100644 Socket/doc/html/search/functions_61.js delete mode 100644 Socket/doc/html/search/functions_62.html delete mode 100644 Socket/doc/html/search/functions_62.js delete mode 100644 Socket/doc/html/search/functions_63.html delete mode 100644 Socket/doc/html/search/functions_63.js delete mode 100644 Socket/doc/html/search/functions_64.html delete mode 100644 Socket/doc/html/search/functions_64.js delete mode 100644 Socket/doc/html/search/functions_65.html delete mode 100644 Socket/doc/html/search/functions_65.js delete mode 100644 Socket/doc/html/search/functions_66.html delete mode 100644 Socket/doc/html/search/functions_66.js delete mode 100644 Socket/doc/html/search/functions_67.html delete mode 100644 Socket/doc/html/search/functions_67.js delete mode 100644 Socket/doc/html/search/functions_6b.html delete mode 100644 Socket/doc/html/search/functions_6b.js delete mode 100644 Socket/doc/html/search/functions_6c.html delete mode 100644 Socket/doc/html/search/functions_6c.js delete mode 100644 Socket/doc/html/search/functions_6d.html delete mode 100644 Socket/doc/html/search/functions_6d.js delete mode 100644 Socket/doc/html/search/functions_6f.html delete mode 100644 Socket/doc/html/search/functions_6f.js delete mode 100644 Socket/doc/html/search/functions_70.html delete mode 100644 Socket/doc/html/search/functions_70.js delete mode 100644 Socket/doc/html/search/functions_72.html delete mode 100644 Socket/doc/html/search/functions_72.js delete mode 100644 Socket/doc/html/search/functions_73.html delete mode 100644 Socket/doc/html/search/functions_73.js delete mode 100644 Socket/doc/html/search/functions_77.html delete mode 100644 Socket/doc/html/search/functions_77.js delete mode 100644 Socket/doc/html/search/functions_7e.html delete mode 100644 Socket/doc/html/search/functions_7e.js delete mode 100644 Socket/doc/html/search/mag_sel.png delete mode 100644 Socket/doc/html/search/nomatches.html delete mode 100644 Socket/doc/html/search/pages_63.html delete mode 100644 Socket/doc/html/search/pages_63.js delete mode 100644 Socket/doc/html/search/pages_66.html delete mode 100644 Socket/doc/html/search/pages_66.js delete mode 100644 Socket/doc/html/search/pages_68.html delete mode 100644 Socket/doc/html/search/pages_68.js delete mode 100644 Socket/doc/html/search/pages_70.html delete mode 100644 Socket/doc/html/search/pages_70.js delete mode 100644 Socket/doc/html/search/pages_73.html delete mode 100644 Socket/doc/html/search/pages_73.js delete mode 100644 Socket/doc/html/search/search.css delete mode 100644 Socket/doc/html/search/search.js delete mode 100644 Socket/doc/html/search/search_l.png delete mode 100644 Socket/doc/html/search/search_m.png delete mode 100644 Socket/doc/html/search/search_r.png delete mode 100644 Socket/doc/html/search/variables_63.html delete mode 100644 Socket/doc/html/search/variables_63.js delete mode 100644 Socket/doc/html/search/variables_69.html delete mode 100644 Socket/doc/html/search/variables_69.js delete mode 100644 Socket/doc/html/search/variables_6d.html delete mode 100644 Socket/doc/html/search/variables_6d.js delete mode 100644 Socket/doc/html/search/variables_6e.html delete mode 100644 Socket/doc/html/search/variables_6e.js delete mode 100644 Socket/doc/html/search/variables_73.html delete mode 100644 Socket/doc/html/search/variables_73.js delete mode 100644 Socket/doc/html/search/variables_74.html delete mode 100644 Socket/doc/html/search/variables_74.js delete mode 100644 Socket/doc/html/search/variables_77.html delete mode 100644 Socket/doc/html/search/variables_77.js delete mode 100644 Socket/doc/html/server_8cpp.html delete mode 100644 Socket/doc/html/server_8dox.html delete mode 100644 Socket/doc/html/server_8h.html delete mode 100644 Socket/doc/html/server_8h_source.html delete mode 100644 Socket/doc/html/server_code.html delete mode 100644 Socket/doc/html/structthread__args-members.html delete mode 100644 Socket/doc/html/structthread__args.html delete mode 100644 Socket/doc/html/sync_off.png delete mode 100644 Socket/doc/html/sync_on.png delete mode 100644 Socket/doc/html/tab_a.png delete mode 100644 Socket/doc/html/tab_b.png delete mode 100644 Socket/doc/html/tab_h.png delete mode 100644 Socket/doc/html/tab_s.png delete mode 100644 Socket/doc/html/tabs.css delete mode 100644 Socket/doc/latex/Makefile delete mode 100644 Socket/doc/latex/_socket_8cpp.tex delete mode 100644 Socket/doc/latex/_socket_8h.tex delete mode 100644 Socket/doc/latex/_socket_exception_8h.tex delete mode 100644 Socket/doc/latex/annotated.tex delete mode 100644 Socket/doc/latex/class_server.tex delete mode 100644 Socket/doc/latex/class_socket.tex delete mode 100644 Socket/doc/latex/class_socket_exception.tex delete mode 100644 Socket/doc/latex/client_8cpp.tex delete mode 100644 Socket/doc/latex/client_8dox.tex delete mode 100644 Socket/doc/latex/client_code.tex delete mode 100644 Socket/doc/latex/conf.tex delete mode 100644 Socket/doc/latex/conf_8dox.tex delete mode 100644 Socket/doc/latex/dir_09c6c7003a5a6c451627316e32d323da.tex delete mode 100644 Socket/doc/latex/dir_75b82e7e4a5feb05200b9ad7adf06257.tex delete mode 100644 Socket/doc/latex/dir_86dc413d07e0b16a37ceb0e2a17fed53.tex delete mode 100644 Socket/doc/latex/dir_8f7199732ad0be50edd1dbedbf9226de.tex delete mode 100644 Socket/doc/latex/dir_ade356989cf64bc7da597536eeab2615.tex delete mode 100644 Socket/doc/latex/dir_b94371269b479bae3e8fa897a2ece63e.tex delete mode 100644 Socket/doc/latex/dir_c63cc34e984e21a69fd262eeef6a5cbb.tex delete mode 100644 Socket/doc/latex/dir_d340535e561321e2c4ccf1a3f2b14fb9.tex delete mode 100644 Socket/doc/latex/doxygen.sty delete mode 100644 Socket/doc/latex/files.tex delete mode 100644 Socket/doc/latex/howto.tex delete mode 100644 Socket/doc/latex/howto_8dox.tex delete mode 100644 Socket/doc/latex/index.tex delete mode 100644 Socket/doc/latex/main__server_8cpp.tex delete mode 100644 Socket/doc/latex/mainpage_8dox.tex delete mode 100644 Socket/doc/latex/makefile_8dox.tex delete mode 100644 Socket/doc/latex/refman.aux delete mode 100644 Socket/doc/latex/refman.idx delete mode 100644 Socket/doc/latex/refman.ilg delete mode 100644 Socket/doc/latex/refman.ind delete mode 100644 Socket/doc/latex/refman.log delete mode 100644 Socket/doc/latex/refman.out delete mode 100644 Socket/doc/latex/refman.pdf delete mode 100644 Socket/doc/latex/refman.tex delete mode 100644 Socket/doc/latex/refman.toc delete mode 100644 Socket/doc/latex/server_8cpp.tex delete mode 100644 Socket/doc/latex/server_8dox.tex delete mode 100644 Socket/doc/latex/server_8h.tex delete mode 100644 Socket/doc/latex/server_code.tex delete mode 100644 Socket/doc/latex/structthread__args.tex delete mode 100644 Socket/socket.conf delete mode 100644 Socket/src/Socket.cpp delete mode 100644 Socket/src/client.cpp delete mode 100644 Socket/src/client.dox delete mode 100644 Socket/src/conf.dox delete mode 100644 Socket/src/howto.dox delete mode 100644 Socket/src/include/Socket.h delete mode 100644 Socket/src/include/SocketException.h delete mode 100644 Socket/src/include/server.h delete mode 100644 Socket/src/main_server.cpp delete mode 100644 Socket/src/mainpage.dox delete mode 100644 Socket/src/makefile.dox delete mode 100644 Socket/src/server.cpp delete mode 100644 Socket/src/server.dox diff --git a/JChatClient/Makefile b/JChatClient/Makefile new file mode 100644 index 0000000..67585cb --- /dev/null +++ b/JChatClient/Makefile @@ -0,0 +1,34 @@ +CFLAGS += -Isrc/include +LDFLAGS += -lpthread +TARGETS = bin/client + +ifndef $(CXX) + CXX = g++ +endif +STRIP = strip +ifeq ($(DEBUG_BUILD),1) + CFLAGS += -g + STRIP =\# +endif + +.PHONY: all clean + +bin/client: bin/client.o bin/Socket.o + $(CXX) -o bin/client bin/client.o bin/Socket.o $(LDFLAGS) $(CFLAGS) + $(STRIP) bin/client + +bin/client.o: src/client.cpp + $(CXX) -o bin/client.o -c src/client.cpp $(CFLAGS) + +bin/Socket.o: src/Socket.cpp src/include/Socket.h src/include/SocketException.h + $(CXX) -o bin/Socket.o -c src/Socket.cpp $(CFLAGS) + +clean: + rm -rf bin/* + +docs: + cd doc/doxygen;doxygen Doxyfile + cd doc/latex; make + +all: $(TARGETS) + diff --git a/JChatClient/bin/client b/JChatClient/bin/client new file mode 100755 index 0000000..225df92 Binary files /dev/null and b/JChatClient/bin/client differ diff --git a/JChatClient/doc/doxygen/Doxyfile b/JChatClient/doc/doxygen/Doxyfile new file mode 100644 index 0000000..4a2a9bd --- /dev/null +++ b/JChatClient/doc/doxygen/Doxyfile @@ -0,0 +1,1826 @@ +# Doxyfile 1.8.1.2 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all +# text before the first occurrence of this tag. Doxygen uses libiconv (or the +# iconv built into libc) for the transcoding. See +# http://www.gnu.org/software/libiconv for the list of possible encodings. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or sequence of words) that should +# identify the project. Note that if you do not use Doxywizard you need +# to put quotes around the project name if it contains spaces. + +PROJECT_NAME = Socket + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = + +# Using the PROJECT_BRIEF tag one can provide an optional one line description +# for a project that appears at the top of each page and should give viewer +# a quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = "Librería para comunicar via TCP/IP" + +# With the PROJECT_LOGO tag one can specify an logo or icon that is +# included in the documentation. The maximum height of the logo should not +# exceed 55 pixels and the maximum width should not exceed 200 pixels. +# Doxygen will copy the logo to the output directory. + +PROJECT_LOGO = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = ../ + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would +# otherwise cause performance problems for the file system. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, +# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, +# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English +# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, +# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak, +# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. + +OUTPUT_LANGUAGE = Spanish + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" +# "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = "The $name class" \ + "The $name widget" \ + "The $name file" \ + is \ + provides \ + specifies \ + contains \ + represents \ + a \ + an \ + the + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = YES + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. + +STRIP_FROM_PATH = /media/sf_devel/Socket/ + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful if your file system +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like regular Qt-style comments +# (thus requiring an explicit @brief command for a brief description.) + +JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then Doxygen will +# interpret the first line (until the first dot) of a Qt-style +# comment as the brief description. If set to NO, the comments +# will behave just like regular Qt-style comments (thus requiring +# an explicit \brief command for a brief description.) + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will +# be part of the file/class/namespace that contains it. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 8 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# This tag can be used to specify a number of word-keyword mappings (TCL only). +# A mapping has the form "name=value". For example adding +# "class=itcl::class" will allow you to use the command class in the +# itcl::class meaning. + +TCL_SUBST = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java +# sources only. Doxygen will then generate output that is more tailored for +# Java. For instance, namespaces will be presented as packages, qualified +# scopes will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources only. Doxygen will then generate output that is more tailored for +# Fortran. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for +# VHDL. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given extension. +# Doxygen has a built-in mapping, but you can override or extend it using this +# tag. The format is ext=language, where ext is a file extension, and language +# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C, +# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make +# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C +# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions +# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all +# comments according to the Markdown format, which allows for more readable +# documentation. See http://daringfireball.net/projects/markdown/ for details. +# The output of markdown processing is further processed by doxygen, so you +# can mix doxygen, HTML, and XML commands with Markdown formatting. +# Disable only in case of backward compatibilities issues. + +MARKDOWN_SUPPORT = YES + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should +# set this tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. +# func(std::string) {}). This also makes the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. + +BUILTIN_STL_SUPPORT = YES + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. +# Doxygen will parse them like normal C++ but will assume all classes use public +# instead of private inheritance when no explicit protection keyword is present. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate getter +# and setter methods for a property. Setting this option to YES (the default) +# will make doxygen replace the get and set methods by a property in the +# documentation. This will only work if the methods are indeed getting or +# setting a simple type. If this is not the case, or you want to show the +# methods anyway, you should set this option to NO. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and +# unions are shown inside the group in which they are included (e.g. using +# @ingroup) instead of on a separate page (for HTML and Man pages) or +# section (for LaTeX and RTF). + +INLINE_GROUPED_CLASSES = NO + +# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and +# unions with only public data fields will be shown inline in the documentation +# of the scope in which they are defined (i.e. file, namespace, or group +# documentation), provided this scope is documented. If set to NO (the default), +# structs, classes, and unions are shown on a separate page (for HTML and Man +# pages) or section (for LaTeX and RTF). + +INLINE_SIMPLE_STRUCTS = NO + +# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum +# is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically +# be useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. + +TYPEDEF_HIDES_STRUCT = NO + +# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to +# determine which symbols to keep in memory and which to flush to disk. +# When the cache is full, less often used symbols will be written to disk. +# For small to medium size projects (<1000 input files) the default value is +# probably good enough. For larger projects a too small cache size can cause +# doxygen to be busy swapping symbols to and from disk most of the time +# causing a significant performance penalty. +# If the system has enough physical memory increasing the cache will improve the +# performance by keeping more symbols in memory. Note that the value works on +# a logarithmic scale so increasing the size by one will roughly double the +# memory usage. The cache size is given by this formula: +# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, +# corresponding to a cache size of 2^16 = 65536 symbols. + +SYMBOL_CACHE_SIZE = 0 + +# Similar to the SYMBOL_CACHE_SIZE the size of the symbol lookup cache can be +# set using LOOKUP_CACHE_SIZE. This cache is used to resolve symbols given +# their name and scope. Since this can be an expensive process and often the +# same symbol appear multiple times in the code, doxygen keeps a cache of +# pre-resolved symbols. If the cache is too small doxygen will become slower. +# If the cache is too large, memory is wasted. The cache size is given by this +# formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range is 0..9, the default is 0, +# corresponding to a cache size of 2^16 = 65536 symbols. + +LOOKUP_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = YES + +# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal +# scope will be included in the documentation. + +EXTRACT_PACKAGE = YES + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = YES + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + +EXTRACT_LOCAL_METHODS = YES + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base +# name of the file that contains the anonymous namespace. By default +# anonymous namespaces are hidden. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = YES + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + +CASE_SENSE_NAMES = NO + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen +# will list include files with double quotes in the documentation +# rather than with sharp brackets. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = YES + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen +# will sort the (brief and detailed) documentation of class members so that +# constructors and destructors are listed first. If set to NO (the default) +# the constructors will appear in the respective orders defined by +# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. +# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO +# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the +# hierarchy of group names into alphabetical order. If set to NO (the default) +# the group names will appear in their defined order. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to +# do proper type resolution of all parameters of a function it will reject a +# match between the prototype and the implementation of a member function even +# if there is only one candidate or it is obvious which candidate to choose +# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen +# will still accept a match between prototype and implementation in such cases. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or macro consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and macros in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. +# This will remove the Files entry from the Quick Index and from the +# Folder Tree View (if specified). The default is YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the +# Namespaces page. This will remove the Namespaces entry from the Quick Index +# and from the Folder Tree View (if specified). The default is YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output +# is used as the file version. See the manual for examples. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. To create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. +# You can optionally specify a file name after the option, if omitted +# DoxygenLayout.xml will be used as the name of the layout file. + +LAYOUT_FILE = + +# The CITE_BIB_FILES tag can be used to specify one or more bib files +# containing the references data. This must be a list of .bib files. The +# .bib extension is automatically appended if omitted. Using this command +# requires the bibtex tool to be installed. See also +# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style +# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this +# feature you need bibtex and perl available in the search path. + +CITE_BIB_FILES = + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# The WARN_NO_PARAMDOC option can be enabled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of +# documentation. + +WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could +# be obtained via FILE_VERSION_FILTER) + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = ../..//src + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is +# also the default input encoding. Doxygen uses libiconv (or the iconv built +# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for +# the list of possible encodings. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh +# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py +# *.f90 *.f *.for *.vhd *.vhdl + +FILE_PATTERNS = *.c \ + *.cc \ + *.cxx \ + *.cpp \ + *.c++ \ + *.d \ + *.java \ + *.ii \ + *.ixx \ + *.ipp \ + *.i++ \ + *.inl \ + *.h \ + *.hh \ + *.hxx \ + *.hpp \ + *.h++ \ + *.idl \ + *.odl \ + *.cs \ + *.php \ + *.php3 \ + *.inc \ + *.m \ + *.markdown \ + *.md \ + *.mm \ + *.dox \ + *.py \ + *.f90 \ + *.f \ + *.for \ + *.vhd \ + *.vhdl + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should be +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. +# Note that relative paths are relative to the directory from which doxygen is +# run. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories +# for example use the pattern */test/* + +EXCLUDE_PATTERNS = + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = * + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. If FILTER_PATTERNS is specified, this tag will be +# ignored. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty or if +# non of the patterns match the file name, INPUT_FILTER is applied. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) +# and it is also possible to disable source filtering for a specific pattern +# using *.ext= (so without naming a filter). This option only has effect when +# FILTER_SOURCE_FILES is enabled. + +FILTER_SOURCE_PATTERNS = + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C, C++ and Fortran comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = NO + +# If the REFERENCES_RELATION tag is set to YES +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = NO + +# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) +# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from +# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will +# link to the source code. Otherwise they will link to the documentation. + +REFERENCES_LINK_SOURCE = YES + +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You +# will need version 4.8.6 or higher. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = YES + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. Note that when using a custom header you are responsible +# for the proper inclusion of any scripts and style sheets that doxygen +# needs, which is dependent on the configuration options used. +# It is advised to generate a default header using "doxygen -w html +# header.html footer.html stylesheet.css YourConfigFile" and then modify +# that header. Note that the header is subject to change so you typically +# have to redo this when upgrading to a newer version of doxygen or when +# changing the value of configuration settings such as GENERATE_TREEVIEW! + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet. Note that doxygen will try to copy +# the style sheet file to the HTML output directory, so don't put your own +# style sheet in the HTML output directory as well, or it will be erased! + +HTML_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that +# the files will be copied as-is; there are no commands or markers available. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. +# Doxygen will adjust the colors in the style sheet and background images +# according to this color. Hue is specified as an angle on a colorwheel, +# see http://en.wikipedia.org/wiki/Hue for more information. +# For instance the value 0 represents red, 60 is yellow, 120 is green, +# 180 is cyan, 240 is blue, 300 purple, and 360 is red again. +# The allowed range is 0 to 359. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of +# the colors in the HTML output. For a value of 0 the output will use +# grayscales only. A value of 255 will produce the most vivid colors. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to +# the luminance component of the colors in the HTML output. Values below +# 100 gradually make the output lighter, whereas values above 100 make +# the output darker. The value divided by 100 is the actual gamma applied, +# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2, +# and 100 does not change the gamma. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting +# this to NO can help when comparing the output of multiple runs. + +HTML_TIMESTAMP = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. + +HTML_DYNAMIC_SECTIONS = NO + +# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of +# entries shown in the various tree structured indices initially; the user +# can expand and collapse entries dynamically later on. Doxygen will expand +# the tree to such a level that at most the specified number of entries are +# visible (unless a fully collapsed tree already exceeds this amount). +# So setting the number of entries 1 will produce a full collapsed tree by +# default. 0 is a special value representing an infinite number of entries +# and will result in a full expanded tree by default. + +HTML_INDEX_NUM_ENTRIES = 100 + +# If the GENERATE_DOCSET tag is set to YES, additional index files +# will be generated that can be used as input for Apple's Xcode 3 +# integrated development environment, introduced with OSX 10.5 (Leopard). +# To create a documentation set, doxygen will generate a Makefile in the +# HTML output directory. Running make will produce the docset in that +# directory and running "make install" will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find +# it at startup. +# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. + +GENERATE_DOCSET = NO + +# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the +# feed. A documentation feed provides an umbrella under which multiple +# documentation sets from a single provider (such as a company or product suite) +# can be grouped. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that +# should uniquely identify the documentation set bundle. This should be a +# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen +# will append .docset to the name. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify +# the documentation publisher. This should be a reverse domain-name style +# string, e.g. com.mycompany.MyDocSet.documentation. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING +# is used to encode HtmlHelp index (hhk), content (hhc) and project file +# content. + +CHM_INDEX_ENCODING = + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated +# that can be used as input for Qt's qhelpgenerator to generate a +# Qt Compressed Help (.qch) of the generated HTML documentation. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can +# be used to specify the file name of the resulting .qch file. +# The path specified is relative to the HTML output folder. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#namespace + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#virtual-folders + +QHP_VIRTUAL_FOLDER = doc + +# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to +# add. For more information please see +# http://doc.trolltech.com/qthelpproject.html#custom-filters + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see +# +# Qt Help Project / Custom Filters. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's +# filter section matches. +# +# Qt Help Project / Filter Attributes. + +QHP_SECT_FILTER_ATTRS = + +# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can +# be used to specify the location of Qt's qhelpgenerator. +# If non-empty doxygen will try to run qhelpgenerator on the generated +# .qhp file. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files +# will be generated, which together with the HTML files, form an Eclipse help +# plugin. To install this plugin and make it available under the help contents +# menu in Eclipse, the contents of the directory containing the HTML and XML +# files needs to be copied into the plugins directory of eclipse. The name of +# the directory within the plugins directory should be the same as +# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before +# the help appears. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have +# this name. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) +# at top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. Since the tabs have the same information as the +# navigation tree you can set this option to NO if you already set +# GENERATE_TREEVIEW to YES. + +DISABLE_INDEX = NO + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. +# If the tag value is set to YES, a side panel will be generated +# containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). +# Windows users are probably better off using the HTML help feature. +# Since the tree basically has the same information as the tab index you +# could consider to set DISABLE_INDEX to NO when enabling this option. + +GENERATE_TREEVIEW = NO + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values +# (range [0,1..20]) that doxygen will group on one line in the generated HTML +# documentation. Note that a value of 0 will completely suppress the enum +# values from appearing in the overview section. + +ENUM_VALUES_PER_LINE = 4 + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open +# links to external symbols imported via tag files in a separate window. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of Latex formulas included +# as images in the HTML documentation. The default is 10. Note that +# when you change the font size after a successful doxygen run you need +# to manually remove any form_*.png images from the HTML output directory +# to force them to be regenerated. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are +# not supported properly for IE 6.0, but are supported on all modern browsers. +# Note that when changing this option you need to delete any form_*.png files +# in the HTML output before the changes have effect. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax +# (see http://www.mathjax.org) which uses client side Javascript for the +# rendering instead of using prerendered bitmaps. Use this if you do not +# have LaTeX installed or if you want to formulas look prettier in the HTML +# output. When enabled you may also need to install MathJax separately and +# configure the path to it using the MATHJAX_RELPATH option. + +USE_MATHJAX = NO + +# When MathJax is enabled you need to specify the location relative to the +# HTML output directory using the MATHJAX_RELPATH option. The destination +# directory should contain the MathJax.js script. For instance, if the mathjax +# directory is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to +# the MathJax Content Delivery Network so you can quickly see the result without +# installing MathJax. However, it is strongly recommended to install a local +# copy of MathJax from http://www.mathjax.org before deployment. + +MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest + +# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension +# names that should be enabled during MathJax rendering. + +MATHJAX_EXTENSIONS = + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box +# for the HTML output. The underlying search engine uses javascript +# and DHTML and should work on any modern browser. Note that when using +# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets +# (GENERATE_DOCSET) there is already a search function so this one should +# typically be disabled. For large projects the javascript based search engine +# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution. + +SEARCHENGINE = YES + +# When the SERVER_BASED_SEARCH tag is enabled the search engine will be +# implemented using a PHP enabled web server instead of at the web client +# using Javascript. Doxygen will generate the search PHP script and index +# file to put on the web server. The advantage of the server +# based approach is that it scales better to large projects and allows +# full text search. The disadvantages are that it is more difficult to setup +# and does not have live searching capabilities. + +SERVER_BASED_SEARCH = NO + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = YES + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. +# Note that when enabling USE_PDFLATEX this option is only used for +# generating bitmaps for formulas in the HTML output, but not in the +# Makefile that is written to the output directory. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4 + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for +# the generated latex document. The footer should contain everything after +# the last chapter. If it is left blank doxygen will generate a +# standard footer. Notice: only use this tag if you know what you are doing! + +LATEX_FOOTER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = YES + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = YES + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +# If LATEX_SOURCE_CODE is set to YES then doxygen will include +# source code with syntax highlighting in the LaTeX output. +# Note that which sources are shown also depends on other settings +# such as SOURCE_BROWSER. + +LATEX_SOURCE_CODE = NO + +# The LATEX_BIB_STYLE tag can be used to specify the style to use for the +# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See +# http://en.wikipedia.org/wiki/BibTeX for more info. + +LATEX_BIB_STYLE = plain + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load style sheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_DEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# pointed to by INCLUDE_PATH will be searched when a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. To prevent a macro definition from being +# undefined via #undef or recursively expanded use the := operator +# instead of the = operator. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition that +# overrules the definition found in the source code. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all references to function-like macros +# that are alone on a line, have an all uppercase name, and do not end with a +# semicolon, because these will confuse the parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. For each +# tag file the location of the external documentation should be added. The +# format of a tag file without this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths +# or URLs. Note that each tag file must have a unique name (where the name does +# NOT include the path). If a tag file is not located in the directory in which +# doxygen is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base +# or super classes. Setting the tag to NO turns the diagrams off. Note that +# this option also works with HAVE_DOT disabled, but it is recommended to +# install and use dot, since it yields more powerful graphs. + +CLASS_DIAGRAMS = YES + +# You can define message sequence charts within doxygen comments using the \msc +# command. Doxygen will then run the mscgen tool (see +# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the +# documentation. The MSCGEN_PATH tag allows you to specify the directory where +# the mscgen tool resides. If left empty the tool is assumed to be found in the +# default search path. + +MSCGEN_PATH = + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = NO + +# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is +# allowed to run in parallel. When set to 0 (the default) doxygen will +# base this on the number of processors available in the system. You can set it +# explicitly to a value larger than 0 to get control over the balance +# between CPU load and processing speed. + +DOT_NUM_THREADS = 0 + +# By default doxygen will use the Helvetica font for all dot files that +# doxygen generates. When you want a differently looking font you can specify +# the font name using DOT_FONTNAME. You need to make sure dot is able to find +# the font, which can be done by putting it in a standard location or by setting +# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the +# directory containing the font. + +DOT_FONTNAME = Helvetica + +# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. +# The default size is 10pt. + +DOT_FONTSIZE = 10 + +# By default doxygen will tell dot to use the Helvetica font. +# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to +# set the path where dot can find it. + +DOT_FONTPATH = + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for groups, showing the direct groups dependencies + +GROUP_GRAPHS = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If the UML_LOOK tag is enabled, the fields and methods are shown inside +# the class node. If there are many fields or methods and many nodes the +# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS +# threshold limits the number of items for each type to make the size more +# managable. Set this to 0 for no limit. Note that the threshold may be +# exceeded by 50% before the limit is enforced. + +UML_LIMIT_NUM_FIELDS = 10 + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT options are set to YES then +# doxygen will generate a call dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable call graphs +# for selected functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then +# doxygen will generate a caller dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable caller +# graphs for selected functions only using the \callergraph command. + +CALLER_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will generate a graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# If the DIRECTORY_GRAPH and HAVE_DOT tags are set to YES +# then doxygen will show the dependencies a directory has on other directories +# in a graphical way. The dependency relations are determined by the #include +# relations between the files in the directories. + +DIRECTORY_GRAPH = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are svg, png, jpg, or gif. +# If left blank png will be used. If you choose svg you need to set +# HTML_FILE_EXTENSION to xhtml in order to make the SVG files +# visible in IE 9+ (other browsers do not have this requirement). + +DOT_IMAGE_FORMAT = png + +# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to +# enable generation of interactive SVG images that allow zooming and panning. +# Note that this requires a modern browser other than Internet Explorer. +# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you +# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files +# visible. Older versions of IE do not have SVG support. + +INTERACTIVE_SVG = NO + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found in the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MSCFILE_DIRS tag can be used to specify one or more directories that +# contain msc files that are included in the documentation (see the +# \mscfile command). + +MSCFILE_DIRS = + +# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of +# nodes that will be shown in the graph. If the number of nodes in a graph +# becomes larger than this value, doxygen will truncate the graph, which is +# visualized by representing a node as a red box. Note that doxygen if the +# number of direct children of the root node in a graph is already larger than +# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note +# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. + +DOT_GRAPH_MAX_NODES = 50 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that the size of a graph can be further restricted by +# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. + +MAX_DOT_GRAPH_DEPTH = 0 + +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is disabled by default, because dot on Windows does not +# seem to support this out of the box. Warning: Depending on the platform used, +# enabling this option may lead to badly anti-aliased labels on the edges of +# a graph (i.e. they become hard to read). + +DOT_TRANSPARENT = NO + +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) +# support this, this feature is disabled by default. + +DOT_MULTI_TARGETS = NO + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES diff --git a/JChatClient/doc/html/_socket_8cpp.html b/JChatClient/doc/html/_socket_8cpp.html new file mode 100644 index 0000000..2db046b --- /dev/null +++ b/JChatClient/doc/html/_socket_8cpp.html @@ -0,0 +1,114 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/Socket.cpp + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
Referencia del Archivo Socket.cpp
+
+
+ +

Fichero de implementación de la clase Socket. +Más...

+
#include "Socket.h"
+#include "SocketException.h"
+#include <sstream>
+#include <strings.h>
+#include <cstdlib>
+#include <netinet/tcp.h>
+

Descripción detallada

+

Fichero de implementación de la clase Socket.

+
Autor
Imanol Barba Sabariego
+
Fecha
13/06/2013
+

En este fichero se implementan los métodos de la clase Socket definidos en Socket.h

+
+ + + + diff --git a/JChatClient/doc/html/_socket_8h.html b/JChatClient/doc/html/_socket_8h.html new file mode 100644 index 0000000..9ada39b --- /dev/null +++ b/JChatClient/doc/html/_socket_8h.html @@ -0,0 +1,127 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/include/Socket.h + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
Referencia del Archivo Socket.h
+
+
+ +

Header de la clase Socket. +Más...

+
#include <iostream>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netdb.h>
+#include <string>
+#include <sys/types.h>
+#include <unistd.h>
+
+

Ir al código fuente de este archivo.

+ + + + + +

+Clases

class  Socket
 Clase del socket. Más...
 
+

Descripción detallada

+

Header de la clase Socket.

+
Autor
Imanol Barba Sabariego
+
Fecha
12/06/2013
+

En este fichero se define la clase Socket, que es la clase que se abstraer toda la comunicación con sockets al programador

+
+ + + + diff --git a/JChatClient/doc/html/_socket_8h_source.html b/JChatClient/doc/html/_socket_8h_source.html new file mode 100644 index 0000000..edd95d6 --- /dev/null +++ b/JChatClient/doc/html/_socket_8h_source.html @@ -0,0 +1,151 @@ + + + + + + +Socket: Fichero Fuente /home/imanol/devel/eclipse/PAD/JChatClient/src/include/Socket.h + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
Socket.h
+
+
+Ir a la documentación de este archivo.
1 
+
8 #ifndef SOCKET_H_
+
9 #define SOCKET_H_
+
10 
+
11 #include <iostream>
+
12 #include <sys/socket.h>
+
13 #include <netinet/in.h>
+
14 #include <arpa/inet.h>
+
15 #include <netdb.h>
+
16 #include <string>
+
17 #include <sys/types.h>
+
18 #include <unistd.h>
+
19 
+
20 using namespace std;
+
21 
+
23 
+
27 class Socket
+
28 {
+
29  private:
+
31 
+
32  int sock;
+
34 
+
35  struct sockaddr_in sockAddr;
+
37 
+
41  int Receive(char *buff, int length);
+
43 
+
47  int Send(const char *buff, int length);
+
48 
+
49  public:
+
51 
+
52  Socket();
+
54 
+
55  void Create();
+
57 
+
59  void Bind(string address, int port);
+
61 
+
62  void Listen(int backlog);
+
64 
+
66  void Accept(Socket &clientSock);
+
68 
+
70  void Connect(string hostname, int port);
+
72 
+
73  void Close();
+
75 
+
76  int getSock();
+
78 
+
80  const Socket& operator << ( const string& );
+
82 
+
84  const Socket& operator >> ( string& );
+
85 };
+
86 #endif /* SOCKET_H_ */
+
+ + + + diff --git a/JChatClient/doc/html/_socket_exception_8h.html b/JChatClient/doc/html/_socket_exception_8h.html new file mode 100644 index 0000000..3020c47 --- /dev/null +++ b/JChatClient/doc/html/_socket_exception_8h.html @@ -0,0 +1,120 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/include/SocketException.h + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
Referencia del Archivo SocketException.h
+
+
+ +

Header de excepción de Sockets. +Más...

+
#include <string>
+
+

Ir al código fuente de este archivo.

+ + + + + +

+Clases

class  SocketException
 Clase de Excepción de Sockets. Más...
 
+

Descripción detallada

+

Header de excepción de Sockets.

+
Autor
Imanol Barba Sabariego
+
Fecha
10/06/2013
+

En este fichero se define la clase SocketException para el control de excepciones producidas por la librería.

+
+ + + + diff --git a/JChatClient/doc/html/_socket_exception_8h_source.html b/JChatClient/doc/html/_socket_exception_8h_source.html new file mode 100644 index 0000000..8f88423 --- /dev/null +++ b/JChatClient/doc/html/_socket_exception_8h_source.html @@ -0,0 +1,121 @@ + + + + + + +Socket: Fichero Fuente /home/imanol/devel/eclipse/PAD/JChatClient/src/include/SocketException.h + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
SocketException.h
+
+
+Ir a la documentación de este archivo.
1 
+
9 #ifndef SOCKETEXCEPTION_H_
+
10 #define SOCKETEXCEPTION_H_
+
11 
+
12 #include <string>
+
13 
+
14 using namespace std;
+
15 
+
17 
+ +
21 {
+
22  public:
+
24 
+
25  SocketException ( string m ) : message ( m ) {};
+ +
28 
+
29  string description() { return message; }
+
30  private:
+
32  string message;
+
33 };
+
34 #endif /* SOCKETEXCEPTION_H_ */
+
+ + + + diff --git a/JChatClient/doc/html/annotated.html b/JChatClient/doc/html/annotated.html new file mode 100644 index 0000000..974cf9d --- /dev/null +++ b/JChatClient/doc/html/annotated.html @@ -0,0 +1,105 @@ + + + + + + +Socket: Lista de clases + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + +
+ + + + +
+ +
+ +
+
+
Lista de clases
+
+
+
Lista de las clases, estructuras, uniones e interfaces con una breve descripción:
+ + + + + +
oCServerClase de aplicación servidor
oCSocketClase del socket
oCSocketExceptionClase de Excepción de Sockets
\Cthread_argsArgumentos de los threads
+
+
+ + + + diff --git a/JChatClient/doc/html/bc_s.png b/JChatClient/doc/html/bc_s.png new file mode 100644 index 0000000..224b29a Binary files /dev/null and b/JChatClient/doc/html/bc_s.png differ diff --git a/JChatClient/doc/html/bdwn.png b/JChatClient/doc/html/bdwn.png new file mode 100644 index 0000000..940a0b9 Binary files /dev/null and b/JChatClient/doc/html/bdwn.png differ diff --git a/JChatClient/doc/html/class_server-members.html b/JChatClient/doc/html/class_server-members.html new file mode 100644 index 0000000..a892ef5 --- /dev/null +++ b/JChatClient/doc/html/class_server-members.html @@ -0,0 +1,114 @@ + + + + + + +Socket: Lista de los miembros + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
Server Lista de los miembros
+
+
+ +

Lista completa de los miembros de Server, incluyendo todos los heredados:

+ + + + + + + + + + + + + + + +
freeRAM(list< pthread_t * > *threadList)Server
getNWorkers()Server
getStartedThreads()Server
getStoppedThreads()Server
nWorkersServerprivate
requestExit()Server
Server()Serverinline
setNWorkers(int n)Server
shutdownServerServerprivate
ssServerprivate
startedThreadsServerprivate
startServer(string i, int p)Server
stoppedThreadsServerprivate
workerIDServerprivate
+ + + + diff --git a/JChatClient/doc/html/class_server.html b/JChatClient/doc/html/class_server.html new file mode 100644 index 0000000..9134c9d --- /dev/null +++ b/JChatClient/doc/html/class_server.html @@ -0,0 +1,487 @@ + + + + + + +Socket: Referencia de la Clase Server + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
Referencia de la Clase Server
+
+
+ +

Clase de aplicación servidor. + Más...

+ +

#include <server.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Métodos públicos

 Server ()
 Constructor de la clase Server. Más...
 
int getNWorkers ()
 Getter del número de threads activos. Más...
 
void setNWorkers (int n)
 Setter del número de threads activos. Más...
 
list< pthread_t * > * getStartedThreads ()
 Getter de la pila de threads activos. Más...
 
list< pthread_t * > * getStoppedThreads ()
 Getter de la pila de threads terminados. Más...
 
void startServer (string i, int p)
 Método de inicialización del servidor. Más...
 
void freeRAM (list< pthread_t * > *threadList)
 Método para liberar memória de threads. Más...
 
void requestExit ()
 Método para terminar el servidor. Más...
 
+ + + + + + + + + + + + + + + + + + + +

+Atributos privados

int nWorkers
 Contador de threads. Más...
 
bool shutdownServer
 Variable de apagado. Más...
 
int workerID
 Contador de ID de thread. Más...
 
list< pthread_t * > stoppedThreads
 Pila de threads terminados. Más...
 
list< pthread_t * > startedThreads
 Pila de threads empezados. Más...
 
Socket ss
 Socket de comunicación. Más...
 
+

Descripción detallada

+

Clase de aplicación servidor.

+

Esta clase define un objeto con los métodos y atributos necesarios para lanzar una aplicación servidor y atender las conexiones. Para realizar la comunicación con el cliente, usa un objeto de la clase Socket

+

Documentación del constructor y destructor

+ +
+
+ + + + + +
+ + + + + + + +
Server::Server ()
+
+inline
+
+ +

Constructor de la clase Server.

+

Incializa los argumentos inciales del servidor

+ +
+
+

Documentación de las funciones miembro

+ +
+
+ + + + + + + + +
void Server::freeRAM (list< pthread_t * > * threadList)
+
+ +

Método para liberar memória de threads.

+

Este método se llama para que libere la memoria de todos los threads que se le proporcionan por argumento

+
Parámetros
+ + +
threadListContenedor con los threads a liberar
+
+
+ +
+
+ +
+
+ + + + + + + +
int Server::getNWorkers ()
+
+ +

Getter del número de threads activos.

+

Devuelve el número de threads activos en ese instante, por tanto, del número de conexiones que están siendo atendidas.

+ +
+
+ +
+
+ + + + + + + +
list<pthread_t*>* Server::getStartedThreads ()
+
+ +

Getter de la pila de threads activos.

+

Devuelve un contenedor con la lista de threads que estan activos, para terminarlos en caso de que el programa finalice prematuramente

+ +
+
+ +
+
+ + + + + + + +
list<pthread_t*>* Server::getStoppedThreads ()
+
+ +

Getter de la pila de threads terminados.

+

Devuelve un contenedor con la lista de threads que han terminado, para poder liberar la memoria que se le ha asignado

+ +
+
+ +
+
+ + + + + + + +
void Server::requestExit ()
+
+ +

Método para terminar el servidor.

+

Este método inicia la secuencia de finalización del servidor

+ +
+
+ +
+
+ + + + + + + + +
void Server::setNWorkers (int n)
+
+ +

Setter del número de threads activos.

+

Establece el número de threads activos, para poder cambiarlo cuando alguno de los threads activos finaliza

+
Parámetros
+ + +
nNuevo número de threads activos
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Server::startServer (string i,
int p 
)
+
+ +

Método de inicialización del servidor.

+

Incializa el servidor en el puerto e IP especificados para empezar a recibir conexiones entrantes

+
Parámetros
+ + + +
iIP donde se aceptan las conexiones
pPuerto donde se aceptan las conexiones
+
+
+ +
+
+

Documentación de los datos miembro

+ +
+
+ + + + + +
+ + + + +
int Server::nWorkers
+
+private
+
+ +

Contador de threads.

+

Esta variable se encarga de mantener la cuenta de threads activos, por tanto, el número de conexiones que estan siendo antendidas simultáneamente.

+ +
+
+ +
+
+ + + + + +
+ + + + +
bool Server::shutdownServer
+
+private
+
+ +

Variable de apagado.

+

Esta variable controla el apagado del servidor, al ponerla a true, la siguiente iteración del bucle que atiende las conexiones no se producirá y el programa terminará.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Socket Server::ss
+
+private
+
+ +

Socket de comunicación.

+

Esta variable contiene el objeto de la clase Socket que la aplicación servidor usa para poder atender las peticiones. Su función es quedarse escuchando el el puerto e IP introducidas en el fichero de configuración y crear un objeto de la clase Socket para cada petición de cada cliente nuevo, siendo este último objeto creado el que se usa para la comuncación.

+ +
+
+ +
+
+ + + + + +
+ + + + +
list<pthread_t*> Server::startedThreads
+
+private
+
+ +

Pila de threads empezados.

+

Esta variable contiene una lista de threads que han empezado su ejecución. Si el programa finalizara prematuramente, se liberarían los punteros de los threads almacenados en esta pila.

+

NOTA: No se liberará la memoria asignada a los argumentos de los threads, dando lugar a memory leaks; sin embargo, esto se produciria al finalizar el programa, por tanto no es relevante.

+ +
+
+ +
+
+ + + + + +
+ + + + +
list<pthread_t*> Server::stoppedThreads
+
+private
+
+ +

Pila de threads terminados.

+

Esta variable contiene una lista de threads que han finalizado su ejecución. A cada iteración del bucle que atiende conexiones, se libera toda la memoria de los threads que hay almacenados aquí.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int Server::workerID
+
+private
+
+ +

Contador de ID de thread.

+

Esta variable contiene el ID del próximo thread que se creará, por tanto, indica el número de conexiones que han sido atendidas desde el inicio del servidor

+ +
+
+
La documentación para esta clase fue generada a partir del siguiente fichero:
    +
  • /home/imanol/devel/eclipse/PAD/JChatClient/src/include/server.h
  • +
+
+ + + + diff --git a/JChatClient/doc/html/class_socket-members.html b/JChatClient/doc/html/class_socket-members.html new file mode 100644 index 0000000..d77b2b2 --- /dev/null +++ b/JChatClient/doc/html/class_socket-members.html @@ -0,0 +1,114 @@ + + + + + + +Socket: Lista de los miembros + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
Socket Lista de los miembros
+
+
+ +

Lista completa de los miembros de Socket, incluyendo todos los heredados:

+ + + + + + + + + + + + + + + +
Accept(Socket &clientSock)Socket
Bind(string address, int port)Socket
Close()Socket
Connect(string hostname, int port)Socket
Create()Socket
getSock()Socket
Listen(int backlog)Socket
operator<<(const string &)Socket
operator>>(string &)Socket
Receive(char *buff, int length)Socketprivate
Send(const char *buff, int length)Socketprivate
sockSocketprivate
sockAddrSocketprivate
Socket()Socket
+ + + + diff --git a/JChatClient/doc/html/class_socket.html b/JChatClient/doc/html/class_socket.html new file mode 100644 index 0000000..fb5fe45 --- /dev/null +++ b/JChatClient/doc/html/class_socket.html @@ -0,0 +1,549 @@ + + + + + + +Socket: Referencia de la Clase Socket + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+ +
+ +

Clase del socket. + Más...

+ +

#include <Socket.h>

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Métodos públicos

 Socket ()
 Constructor de la clase Socket. Más...
 
void Create ()
 Método para crear sockets. Más...
 
void Bind (string address, int port)
 Método para hacer bind a una dirección y puerto. Más...
 
void Listen (int backlog)
 Método para escuchar conexiones. Más...
 
void Accept (Socket &clientSock)
 Método para aceptar conexiones. Más...
 
void Connect (string hostname, int port)
 Método para efectuar conexiones. Más...
 
void Close ()
 Método para cerrar sockets. Más...
 
int getSock ()
 Getter para el file descriptor del socket. Más...
 
const Socketoperator<< (const string &)
 Método para enviar mensajes. Más...
 
const Socketoperator>> (string &)
 Método para recibir mensajes. Más...
 
+ + + + + + + +

+Métodos privados

int Receive (char *buff, int length)
 Método para recibir un mensaje de longitud conocida. Más...
 
int Send (const char *buff, int length)
 Método para enviar un mensaje de longitud conocida. Más...
 
+ + + + + + + +

+Atributos privados

int sock
 Descriptor del fichero del socket. Más...
 
struct sockaddr_in sockAddr
 Estructura de dirección de socket. Más...
 
+

Descripción detallada

+

Clase del socket.

+

Esta clase define un objeto con los métodos y atributos necesarios para realizar comunicación encriptada o en texto llano a través de un socket TCP/IP en un entorno UNIX abstrayendo la implementación de sockets y de encriptación al programador.

+

Documentación del constructor y destructor

+ +
+
+ + + + + + + +
Socket::Socket ()
+
+ +

Constructor de la clase Socket.

+

Inicializa el file descriptor del socket y prepara la memoria donde se almacenarán las llaves públicas.

+ +
+
+

Documentación de las funciones miembro

+ +
+
+ + + + + + + + +
void Socket::Accept (SocketclientSock)
+
+ +

Método para aceptar conexiones.

+

Este método bloquea el thread que lo ejecuta hasta que recibe una conexión entrante, que almacena como instancia de la clase Socket en la referencia proporcionada por argumento.

+
Parámetros
+ + +
clientSockInstáncia de Socket que comunica con el cliente entrante
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Socket::Bind (string address,
int port 
)
+
+ +

Método para hacer bind a una dirección y puerto.

+

Este método asigna el socket a una dirección IP (y por tanto, a una interfaz de red en concreto) y un puerto, para que posteriormente actúe de servidor escuchando conexiones.

+
Parámetros
+ + + +
addressDirección IP asignada
portPuerto asignado
+
+
+ +
+
+ +
+
+ + + + + + + +
void Socket::Close ()
+
+ +

Método para cerrar sockets.

+

Este método cierra el socket para que no se pueda escribir ni leer más en él, para liberarlo del kernel y terminar la conexión TCP.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void Socket::Connect (string hostname,
int port 
)
+
+ +

Método para efectuar conexiones.

+

Este método sirve a los sockets que actúan como cliente para poder efectuar conexiones a otro socket que esté escuchando en la dirección y puerto especificados y atienda conexiones.

+
Parámetros
+ + + +
hostnameHostname al que conectarse
portPuerto al que conectarse
+
+
+ +
+
+ +
+
+ + + + + + + +
void Socket::Create ()
+
+ +

Método para crear sockets.

+

Crea un file descriptor para un socket que por defecto no está conectado ni asignado a ninguna dirección.

+ +
+
+ +
+
+ + + + + + + +
int Socket::getSock ()
+
+ +

Getter para el file descriptor del socket.

+

Este método devuelve el file descriptor del socket.

+ +
+
+ +
+
+ + + + + + + + +
void Socket::Listen (int backlog)
+
+ +

Método para escuchar conexiones.

+

Este método configura el socket para que se ponga en modo escucha y así pueda atender conexiones entrantes.

+
Parámetros
+ + +
backlogNúmero máximo de conexiones en espera
+
+
+ +
+
+ +
+
+ + + + + + + + +
const Socket & Socket::operator<< (const string & text)
+
+ +

Método para enviar mensajes.

+

Este método envía el mensaje que se le proporciona a través del Socket con o sin encriptación según las opciones de compilación usando el protocolo implementado.

+
Parámetros
+ + +
textMensaje a enviar
+
+
+ +
+
+ +
+
+ + + + + + + + +
const Socket & Socket::operator>> (std::string & text)
+
+ +

Método para recibir mensajes.

+

Este método recibe un mensaje de longitud arbitrária con o sin encriptación según las opciones de compilación usando el protocolo implementado.

+
Parámetros
+ + +
textMensaje a recibir
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
int Socket::Receive (char * buff,
int length 
)
+
+private
+
+ +

Método para recibir un mensaje de longitud conocida.

+

Este método se usa para recibir un mensaje de la longitud que se especifica por argumento y almacenarlo en el buffer proporcionado.

+

Este método garantiza que todo el mensaje se recibirá entero aunque la red no admita una longitud de paquete tan grande.

+
Parámetros
+ + + +
buffBuffer donde se almacena el mensaje recibido
lengthLongitud del mensaje a recibir
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
int Socket::Send (const char * buff,
int length 
)
+
+private
+
+ +

Método para enviar un mensaje de longitud conocida.

+

Este método se usa para enviar un mensaje de la longitud especifidada en el argumento y devuelve el número de bytes enviados.

+

Este método garantiza que todo el mensaje se enviará entero aunque la red no admita una longitud de paquete tan grande.

+
Parámetros
+ + + +
buffBuffer con el mensaje a enviar
lengthLongitud del mensaje
+
+
+ +
+
+

Documentación de los datos miembro

+ +
+
+ + + + + +
+ + + + +
int Socket::sock
+
+private
+
+ +

Descriptor del fichero del socket.

+

Esta variable contiene el file descriptor del socket abierto por el SO.

+ +
+
+ +
+
+ + + + + +
+ + + + +
struct sockaddr_in Socket::sockAddr
+
+private
+
+ +

Estructura de dirección de socket.

+

Este struct es usado por el SO para gestionar la dirección del socket abierto.

+ +
+
+
La documentación para esta clase fue generada a partir de los siguientes ficheros:
    +
  • /home/imanol/devel/eclipse/PAD/JChatClient/src/include/Socket.h
  • +
  • /home/imanol/devel/eclipse/PAD/JChatClient/src/Socket.cpp
  • +
+
+ + + + diff --git a/JChatClient/doc/html/class_socket_exception-members.html b/JChatClient/doc/html/class_socket_exception-members.html new file mode 100644 index 0000000..108c557 --- /dev/null +++ b/JChatClient/doc/html/class_socket_exception-members.html @@ -0,0 +1,104 @@ + + + + + + +Socket: Lista de los miembros + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
SocketException Lista de los miembros
+
+
+ +

Lista completa de los miembros de SocketException, incluyendo todos los heredados:

+ + + + + +
description()SocketExceptioninline
messageSocketExceptionprivate
SocketException(string m)SocketExceptioninline
~SocketException()SocketExceptioninline
+ + + + diff --git a/JChatClient/doc/html/class_socket_exception.html b/JChatClient/doc/html/class_socket_exception.html new file mode 100644 index 0000000..23b9af6 --- /dev/null +++ b/JChatClient/doc/html/class_socket_exception.html @@ -0,0 +1,237 @@ + + + + + + +Socket: Referencia de la Clase SocketException + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
Referencia de la Clase SocketException
+
+
+ +

Clase de Excepción de Sockets. + Más...

+ +

#include <SocketException.h>

+ + + + + + + + + + +

+Métodos públicos

 SocketException (string m)
 Constructor de la clase. Más...
 
 ~SocketException ()
 
string description ()
 Getter del atributo message. Más...
 
+ + + + +

+Atributos privados

string message
 Mensaje asociado a la excepción producida. Más...
 
+

Descripción detallada

+

Clase de Excepción de Sockets.

+

Definición de las excepciones lanzadas por la librería de comunicación TCP/IP

+

Documentación del constructor y destructor

+ +
+
+ + + + + +
+ + + + + + + + +
SocketException::SocketException (string m)
+
+inline
+
+ +

Constructor de la clase.

+

Inicializa el mensaje

+
Parámetros
+ + +
mMensaje inicial
+
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
SocketException::~SocketException ()
+
+inline
+
+ +
+
+

Documentación de las funciones miembro

+ +
+
+ + + + + +
+ + + + + + + +
string SocketException::description ()
+
+inline
+
+ +

Getter del atributo message.

+

Devuelve el mensaje asociado a la excepción producida

+ +
+
+

Documentación de los datos miembro

+ +
+
+ + + + + +
+ + + + +
string SocketException::message
+
+private
+
+ +

Mensaje asociado a la excepción producida.

+ +
+
+
La documentación para esta clase fue generada a partir del siguiente fichero: +
+ + + + diff --git a/JChatClient/doc/html/classes.html b/JChatClient/doc/html/classes.html new file mode 100644 index 0000000..1c04a4c --- /dev/null +++ b/JChatClient/doc/html/classes.html @@ -0,0 +1,107 @@ + + + + + + +Socket: Índice de clases + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + +
+ + + + +
+ +
+ +
+
+
Índice de clases
+
+
+
S | T
+ + + + + +
  S  
+
Socket   
  T  
+
SocketException   
Server   thread_args   
+
S | T
+
+ + + + diff --git a/JChatClient/doc/html/client_8cpp.html b/JChatClient/doc/html/client_8cpp.html new file mode 100644 index 0000000..491747a --- /dev/null +++ b/JChatClient/doc/html/client_8cpp.html @@ -0,0 +1,208 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/client.cpp + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
Referencia del Archivo client.cpp
+
+
+ +

Fichero de implementación de un cliente. +Más...

+
#include "Socket.h"
+#include <iostream>
+#include "SocketException.h"
+#include <sstream>
+#include <signal.h>
+#include <cstdlib>
+#include <sys/time.h>
+
+ + + + + + + + + +

+Funciones

void exitClient (int signal)
 Método para terminar el cliente. Más...
 
void processCMD (string cmd)
 
int main ()
 Método principal del cliente. Más...
 
+ + + +

+Variables

bool connected
 
+

Descripción detallada

+

Fichero de implementación de un cliente.

+
Autor
Imanol Barba Sabariego
+
Fecha
13/06/2013
+

En este fichero se implementa un cliente para poder usar con el servidor creado, usando la clase Socket.

+

Documentación de las funciones

+ +
+
+ + + + + + + + +
void exitClient (int signal)
+
+ +

Método para terminar el cliente.

+

Este método se usa para terminar el cliente immediatamente en el caso que el servidor cierre la conexión de forma inesperada, capturando el signal SIGPIPE.

+
Parámetros
+ + +
signalParámetro que captura el signal recibido
+
+
+ +
+
+ +
+
+ + + + + + + +
int main ()
+
+ +

Método principal del cliente.

+

Este método inicializa el Socket, establece la conexión y realiza las acciones que se le hayan programado para comunicarse con el servidor.

+ +
+
+ +
+
+ + + + + + + + +
void processCMD (string cmd)
+
+ +
+
+

Documentación de las variables

+ +
+
+ + + + +
bool connected
+
+ +
+
+
+ + + + diff --git a/JChatClient/doc/html/client_8dox.html b/JChatClient/doc/html/client_8dox.html new file mode 100644 index 0000000..69c72ad --- /dev/null +++ b/JChatClient/doc/html/client_8dox.html @@ -0,0 +1,99 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/client.dox + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/client.dox
+
+
+

Descripción detallada

+
Autor
Imanol Barba Sabariego
+
Fecha
13/06/2013
+
+ + + + diff --git a/JChatClient/doc/html/client_code.html b/JChatClient/doc/html/client_code.html new file mode 100644 index 0000000..5edc93d --- /dev/null +++ b/JChatClient/doc/html/client_code.html @@ -0,0 +1,131 @@ + + + + + + +Socket: Client + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ +
+
+
+
Client
+
+
+

Ejemplo de aplicación cliente

+
#include "Socket.h"
+
#include <iostream>
+ +
#include <sstream>
+
#include <signal.h>
+
#include <cstdlib>
+
#include <sys/time.h>
+
+
using namespace std;
+
+
void exitClient(int signal)
+
{
+
cout << "Server connection terminated unexpectedly" << endl << "Exiting" << endl;
+
exit(-1);
+
}
+
+
int main()
+
{
+
signal(SIGPIPE, exitClient);
+
signal(SIGINT, exitClient);
+
Socket s;
+
string send, recv, host;
+
int port;
+
s.Create();
+
cout << "Created socket" << endl;
+
cout << "Hostname: ";
+
cin >> host;
+
cout << "Port: ";
+
cin >> port;
+
cin.ignore();
+
s.Connect(host,port);
+
cout << "Connected" << endl;
+
while(true)
+
{
+
cout << "> ";
+
getline(cin,send);
+
s >> recv;
+
cout << "Received: " << recv << endl;
+
}
+
}
+
+ + + + diff --git a/JChatClient/doc/html/closed.png b/JChatClient/doc/html/closed.png new file mode 100644 index 0000000..98cc2c9 Binary files /dev/null and b/JChatClient/doc/html/closed.png differ diff --git a/JChatClient/doc/html/conf.html b/JChatClient/doc/html/conf.html new file mode 100644 index 0000000..8b630a1 --- /dev/null +++ b/JChatClient/doc/html/conf.html @@ -0,0 +1,124 @@ + + + + + + +Socket: Fichero de configuración + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ +
+
+
+
Fichero de configuración
+
+
+

Tabla de contenidos

+ +
+

Descripción de la sintaxis y parámetros del fichero de configuración

+
    A continuación se detalla el uso del fichero de configuración del servidor.
+    <br><br>
+

+Sintáxis

+

La sintaxis es muy sencilla:

+
PARÁMETRO<WHITESPACE>=<WHITESPACE>VALOR 
            donde <WHITESPACE> pueden ser espacios, tabulaciones o saltos de línea.
+            <br>
+

+Parámetros

+

A continuación se detallan los posibles parámetros y qué valores aceptan.
+

+

+bind-ip

+

Contiene la dirección IP que será asigada al Socket del servidor, por tanto, la dirección donde escuchará conexiones. Acepta un string del tipo W.X.Y.Z donde W,X,Y,Z son números de 0 a 255.

+

+port

+

El puerto donde el servidor acepta conexiones. Acepta un número de 1 a 65535.
+
+
+

+

+Ejemplos

+

bind-ip = 127.0.0.1
+port = 3001

+
+ + + + diff --git a/JChatClient/doc/html/conf_8dox.html b/JChatClient/doc/html/conf_8dox.html new file mode 100644 index 0000000..07d7abd --- /dev/null +++ b/JChatClient/doc/html/conf_8dox.html @@ -0,0 +1,99 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/conf.dox + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/conf.dox
+
+
+

Descripción detallada

+
Autor
Imanol Barba Sabariego
+
Fecha
13/06/2013
+
+ + + + diff --git a/JChatClient/doc/html/dir_09c6c7003a5a6c451627316e32d323da.html b/JChatClient/doc/html/dir_09c6c7003a5a6c451627316e32d323da.html new file mode 100644 index 0000000..c957b66 --- /dev/null +++ b/JChatClient/doc/html/dir_09c6c7003a5a6c451627316e32d323da.html @@ -0,0 +1,115 @@ + + + + + + +Socket: Referencia del directorio /home/imanol/devel/eclipse/PAD/Socket/src + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
Referencia del directorio src
+
+
+ + + + +

+Directorios

directorio  include
 
+ + + + + + + + + + + + + +

+Archivos

archivo  client.cpp
 Fichero de implementación de un cliente.
 
archivo  main_server.cpp
 Implementación del servidor.
 
archivo  server.cpp
 Fichero de implementación de la clase Server.
 
archivo  Socket.cpp
 Fichero de implementación de la clase Socket.
 
+
+ + + + diff --git a/JChatClient/doc/html/dir_15c52bfb9a80984ec0ac7c94446ac4fc.html b/JChatClient/doc/html/dir_15c52bfb9a80984ec0ac7c94446ac4fc.html new file mode 100644 index 0000000..545fa83 --- /dev/null +++ b/JChatClient/doc/html/dir_15c52bfb9a80984ec0ac7c94446ac4fc.html @@ -0,0 +1,109 @@ + + + + + + +Socket: Referencia del directorio /home/imanol/devel/eclipse/PAD/JChatClient/src + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
Referencia del directorio src
+
+
+ + + + +

+Directorios

directorio  include
 
+ + + + + + + +

+Archivos

archivo  client.cpp
 Fichero de implementación de un cliente.
 
archivo  Socket.cpp
 Fichero de implementación de la clase Socket.
 
+
+ + + + diff --git a/JChatClient/doc/html/dir_74bdbd27aa6df54b6fb8f419761ac887.html b/JChatClient/doc/html/dir_74bdbd27aa6df54b6fb8f419761ac887.html new file mode 100644 index 0000000..225fa77 --- /dev/null +++ b/JChatClient/doc/html/dir_74bdbd27aa6df54b6fb8f419761ac887.html @@ -0,0 +1,100 @@ + + + + + + +Socket: Referencia del directorio /home/imanol/devel/eclipse/PAD/JChatClient + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
Referencia del directorio JChatClient
+
+
+ + + + +

+Directorios

directorio  src
 
+
+ + + + diff --git a/JChatClient/doc/html/dir_75b82e7e4a5feb05200b9ad7adf06257.html b/JChatClient/doc/html/dir_75b82e7e4a5feb05200b9ad7adf06257.html new file mode 100644 index 0000000..c3132fc --- /dev/null +++ b/JChatClient/doc/html/dir_75b82e7e4a5feb05200b9ad7adf06257.html @@ -0,0 +1,100 @@ + + + + + + +Socket: Referencia del directorio /home + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
Referencia del directorio home
+
+
+ + + + +

+Directorios

directorio  imanol
 
+
+ + + + diff --git a/JChatClient/doc/html/dir_86dc413d07e0b16a37ceb0e2a17fed53.html b/JChatClient/doc/html/dir_86dc413d07e0b16a37ceb0e2a17fed53.html new file mode 100644 index 0000000..740eb65 --- /dev/null +++ b/JChatClient/doc/html/dir_86dc413d07e0b16a37ceb0e2a17fed53.html @@ -0,0 +1,100 @@ + + + + + + +Socket: Referencia del directorio /home/imanol/devel/eclipse + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
Referencia del directorio eclipse
+
+
+ + + + +

+Directorios

directorio  PAD
 
+
+ + + + diff --git a/JChatClient/doc/html/dir_8f7199732ad0be50edd1dbedbf9226de.html b/JChatClient/doc/html/dir_8f7199732ad0be50edd1dbedbf9226de.html new file mode 100644 index 0000000..558cbdc --- /dev/null +++ b/JChatClient/doc/html/dir_8f7199732ad0be50edd1dbedbf9226de.html @@ -0,0 +1,100 @@ + + + + + + +Socket: Referencia del directorio /home/imanol/devel + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
Referencia del directorio devel
+
+
+ + + + +

+Directorios

directorio  eclipse
 
+
+ + + + diff --git a/JChatClient/doc/html/dir_ade356989cf64bc7da597536eeab2615.html b/JChatClient/doc/html/dir_ade356989cf64bc7da597536eeab2615.html new file mode 100644 index 0000000..8ee8ed0 --- /dev/null +++ b/JChatClient/doc/html/dir_ade356989cf64bc7da597536eeab2615.html @@ -0,0 +1,100 @@ + + + + + + +Socket: Referencia del directorio /home/imanol + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
Referencia del directorio imanol
+
+
+ + + + +

+Directorios

directorio  devel
 
+
+ + + + diff --git a/JChatClient/doc/html/dir_b94371269b479bae3e8fa897a2ece63e.html b/JChatClient/doc/html/dir_b94371269b479bae3e8fa897a2ece63e.html new file mode 100644 index 0000000..289c476 --- /dev/null +++ b/JChatClient/doc/html/dir_b94371269b479bae3e8fa897a2ece63e.html @@ -0,0 +1,107 @@ + + + + + + +Socket: Referencia del directorio /home/imanol/devel/eclipse/PAD/Socket/src/include + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
Referencia del directorio include
+
+
+ + + + + + + + + + + +

+Archivos

archivo  server.h [código]
 Header de la clase Server.
 
archivo  Socket.h [código]
 Header de la clase Socket.
 
archivo  SocketException.h [código]
 Header de excepción de Sockets.
 
+
+ + + + diff --git a/JChatClient/doc/html/dir_c16c2f6bdf6587439d9ad3d8f0d21517.html b/JChatClient/doc/html/dir_c16c2f6bdf6587439d9ad3d8f0d21517.html new file mode 100644 index 0000000..c080617 --- /dev/null +++ b/JChatClient/doc/html/dir_c16c2f6bdf6587439d9ad3d8f0d21517.html @@ -0,0 +1,107 @@ + + + + + + +Socket: Referencia del directorio /home/imanol/devel/eclipse/PAD/JChatClient/src/include + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
Referencia del directorio include
+
+
+ + + + + + + + + + + +

+Archivos

archivo  server.h [código]
 Header de la clase Server.
 
archivo  Socket.h [código]
 Header de la clase Socket.
 
archivo  SocketException.h [código]
 Header de excepción de Sockets.
 
+
+ + + + diff --git a/JChatClient/doc/html/dir_c63cc34e984e21a69fd262eeef6a5cbb.html b/JChatClient/doc/html/dir_c63cc34e984e21a69fd262eeef6a5cbb.html new file mode 100644 index 0000000..9949537 --- /dev/null +++ b/JChatClient/doc/html/dir_c63cc34e984e21a69fd262eeef6a5cbb.html @@ -0,0 +1,100 @@ + + + + + + +Socket: Referencia del directorio /home/imanol/devel/eclipse/PAD + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
Referencia del directorio PAD
+
+
+ + + + +

+Directorios

directorio  JChatClient
 
+
+ + + + diff --git a/JChatClient/doc/html/dir_d340535e561321e2c4ccf1a3f2b14fb9.html b/JChatClient/doc/html/dir_d340535e561321e2c4ccf1a3f2b14fb9.html new file mode 100644 index 0000000..05b5c42 --- /dev/null +++ b/JChatClient/doc/html/dir_d340535e561321e2c4ccf1a3f2b14fb9.html @@ -0,0 +1,100 @@ + + + + + + +Socket: Referencia del directorio /home/imanol/devel/eclipse/PAD/Socket + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
Referencia del directorio Socket
+
+
+ + + + +

+Directorios

directorio  src
 
+
+ + + + diff --git a/JChatClient/doc/html/doxygen.css b/JChatClient/doc/html/doxygen.css new file mode 100644 index 0000000..dabaff2 --- /dev/null +++ b/JChatClient/doc/html/doxygen.css @@ -0,0 +1,1184 @@ +/* The standard CSS for doxygen 1.8.3.1 */ + +body, table, div, p, dl { + font: 400 14px/19px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd, p.starttd { + margin-top: 2px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 4px; + margin: 4px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +div.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: bold; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + border-top-left-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + -moz-border-radius-topleft: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + -webkit-border-top-left-radius: 4px; + +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view when not used as main index */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 5px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 2px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 20px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + diff --git a/JChatClient/doc/html/doxygen.png b/JChatClient/doc/html/doxygen.png new file mode 100644 index 0000000..3ff17d8 Binary files /dev/null and b/JChatClient/doc/html/doxygen.png differ diff --git a/JChatClient/doc/html/dynsections.js b/JChatClient/doc/html/dynsections.js new file mode 100644 index 0000000..ed092c7 --- /dev/null +++ b/JChatClient/doc/html/dynsections.js @@ -0,0 +1,97 @@ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} +function toggleLevel(level) +{ + $('table.directory tr').each(function(){ + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + +Socket: Lista de archivos + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + +
+ + + + +
+ +
+ +
+
+
Lista de archivos
+
+
+
Lista de todos los archivos con descripciones breves:
+
[detalle nivel 123456789]
+ + + + + + + + + + + + + +
\-home
 \-imanol
  \-devel
   \-eclipse
    \-PAD
     \-JChatClient
      \-src
       o-include
       |o*server.hHeader de la clase Server
       |o*Socket.hHeader de la clase Socket
       |\*SocketException.hHeader de excepción de Sockets
       o*client.cppFichero de implementación de un cliente
       \*Socket.cppFichero de implementación de la clase Socket
+
+
+ + + + diff --git a/JChatClient/doc/html/ftv2blank.png b/JChatClient/doc/html/ftv2blank.png new file mode 100644 index 0000000..63c605b Binary files /dev/null and b/JChatClient/doc/html/ftv2blank.png differ diff --git a/JChatClient/doc/html/ftv2cl.png b/JChatClient/doc/html/ftv2cl.png new file mode 100644 index 0000000..132f657 Binary files /dev/null and b/JChatClient/doc/html/ftv2cl.png differ diff --git a/JChatClient/doc/html/ftv2doc.png b/JChatClient/doc/html/ftv2doc.png new file mode 100644 index 0000000..17edabf Binary files /dev/null and b/JChatClient/doc/html/ftv2doc.png differ diff --git a/JChatClient/doc/html/ftv2folderclosed.png b/JChatClient/doc/html/ftv2folderclosed.png new file mode 100644 index 0000000..bb8ab35 Binary files /dev/null and b/JChatClient/doc/html/ftv2folderclosed.png differ diff --git a/JChatClient/doc/html/ftv2folderopen.png b/JChatClient/doc/html/ftv2folderopen.png new file mode 100644 index 0000000..d6c7f67 Binary files /dev/null and b/JChatClient/doc/html/ftv2folderopen.png differ diff --git a/JChatClient/doc/html/ftv2lastnode.png b/JChatClient/doc/html/ftv2lastnode.png new file mode 100644 index 0000000..63c605b Binary files /dev/null and b/JChatClient/doc/html/ftv2lastnode.png differ diff --git a/JChatClient/doc/html/ftv2link.png b/JChatClient/doc/html/ftv2link.png new file mode 100644 index 0000000..17edabf Binary files /dev/null and b/JChatClient/doc/html/ftv2link.png differ diff --git a/JChatClient/doc/html/ftv2mlastnode.png b/JChatClient/doc/html/ftv2mlastnode.png new file mode 100644 index 0000000..0b63f6d Binary files /dev/null and b/JChatClient/doc/html/ftv2mlastnode.png differ diff --git a/JChatClient/doc/html/ftv2mnode.png b/JChatClient/doc/html/ftv2mnode.png new file mode 100644 index 0000000..0b63f6d Binary files /dev/null and b/JChatClient/doc/html/ftv2mnode.png differ diff --git a/JChatClient/doc/html/ftv2mo.png b/JChatClient/doc/html/ftv2mo.png new file mode 100644 index 0000000..4bfb80f Binary files /dev/null and b/JChatClient/doc/html/ftv2mo.png differ diff --git a/JChatClient/doc/html/ftv2node.png b/JChatClient/doc/html/ftv2node.png new file mode 100644 index 0000000..63c605b Binary files /dev/null and b/JChatClient/doc/html/ftv2node.png differ diff --git a/JChatClient/doc/html/ftv2ns.png b/JChatClient/doc/html/ftv2ns.png new file mode 100644 index 0000000..72e3d71 Binary files /dev/null and b/JChatClient/doc/html/ftv2ns.png differ diff --git a/JChatClient/doc/html/ftv2plastnode.png b/JChatClient/doc/html/ftv2plastnode.png new file mode 100644 index 0000000..c6ee22f Binary files /dev/null and b/JChatClient/doc/html/ftv2plastnode.png differ diff --git a/JChatClient/doc/html/ftv2pnode.png b/JChatClient/doc/html/ftv2pnode.png new file mode 100644 index 0000000..c6ee22f Binary files /dev/null and b/JChatClient/doc/html/ftv2pnode.png differ diff --git a/JChatClient/doc/html/ftv2splitbar.png b/JChatClient/doc/html/ftv2splitbar.png new file mode 100644 index 0000000..fe895f2 Binary files /dev/null and b/JChatClient/doc/html/ftv2splitbar.png differ diff --git a/JChatClient/doc/html/ftv2vertline.png b/JChatClient/doc/html/ftv2vertline.png new file mode 100644 index 0000000..63c605b Binary files /dev/null and b/JChatClient/doc/html/ftv2vertline.png differ diff --git a/JChatClient/doc/html/functions.html b/JChatClient/doc/html/functions.html new file mode 100644 index 0000000..2731864 --- /dev/null +++ b/JChatClient/doc/html/functions.html @@ -0,0 +1,298 @@ + + + + + + +Socket: Miembros de las clases + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + +
+ + + + +
+ +
+ +
+
Lista de todos los campos de clases con enlaces a las classes a que pertenecen:
+ +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- f -

+ + +

- g -

+ + +

- i -

+ + +

- l -

+ + +

- m -

+ + +

- n -

+ + +

- o -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- w -

+ + +

- ~ -

+
+ + + + diff --git a/JChatClient/doc/html/functions_func.html b/JChatClient/doc/html/functions_func.html new file mode 100644 index 0000000..c11c629 --- /dev/null +++ b/JChatClient/doc/html/functions_func.html @@ -0,0 +1,171 @@ + + + + + + +Socket: Miembros de las clases - Funciones + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/JChatClient/doc/html/functions_vars.html b/JChatClient/doc/html/functions_vars.html new file mode 100644 index 0000000..e86beb7 --- /dev/null +++ b/JChatClient/doc/html/functions_vars.html @@ -0,0 +1,147 @@ + + + + + + +Socket: Miembros de las clases - Variables + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/JChatClient/doc/html/globals.html b/JChatClient/doc/html/globals.html new file mode 100644 index 0000000..5276d24 --- /dev/null +++ b/JChatClient/doc/html/globals.html @@ -0,0 +1,132 @@ + + + + + + +Socket: Miembros de los ficheros + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
Lista de todos los mienbros de los ficheros con enlaces a los ficheros a los que corresponden:
+
+ + + + diff --git a/JChatClient/doc/html/globals_defs.html b/JChatClient/doc/html/globals_defs.html new file mode 100644 index 0000000..1a3f5dc --- /dev/null +++ b/JChatClient/doc/html/globals_defs.html @@ -0,0 +1,108 @@ + + + + + + +Socket: Miembros de los ficheros + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/JChatClient/doc/html/globals_func.html b/JChatClient/doc/html/globals_func.html new file mode 100644 index 0000000..36b1b7e --- /dev/null +++ b/JChatClient/doc/html/globals_func.html @@ -0,0 +1,123 @@ + + + + + + +Socket: Miembros de los ficheros + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/JChatClient/doc/html/globals_vars.html b/JChatClient/doc/html/globals_vars.html new file mode 100644 index 0000000..62eff9f --- /dev/null +++ b/JChatClient/doc/html/globals_vars.html @@ -0,0 +1,105 @@ + + + + + + +Socket: Miembros de los ficheros + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + +
+ + + + +
+ +
+ +
+
+ + + + diff --git a/JChatClient/doc/html/howto.html b/JChatClient/doc/html/howto.html new file mode 100644 index 0000000..647fb19 --- /dev/null +++ b/JChatClient/doc/html/howto.html @@ -0,0 +1,167 @@ + + + + + + +Socket: HOWTO + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ +
+
+
+
HOWTO
+
+
+ +

Descripción de funcionamiento y uso de la librería.

+
    A continuación se desglosan las instrucciones para el desarrollo con esta libería y su posterior uso.
+    <br><br>
+

+Descripción del protocolo

+

En las comunicaciones con Sockets hay un problema, es fácil saber la longitud del mensaje que vas a enviar, pero cuesta saber la longitud del mensaje que deseas recibir, ya que la transmisión se puede detener por llegar al fin del mensaje o bien por que hay problemas en la red.

+

Los sockets de UNIX nos dan una solución, que es usar llamadas no bloqueantes para recibir el mensaje, es decir: Si leo de un socket, y no he llenado el buffer donde guardo los datos que recibo de allí, la aplicación no se bloquea esperando recibir la suficiente cantidad de datos. A su vez, se usan llamadas a la función select() para comprovar si hay datos disponibles a para leer o la conexión está terminada.

+

Esto requiere uso de la forks e ir haciendo encuesta (polling) al socket, cosa que consume más recursos del sistema.

+

Debido a la complejidad añadida que supone hacerlo por esta vía, ya que la librería usa threads que son más ligeros para el sistema y la memoria RAM; se ha optado por implementar un sencillísimo protocolo de comunicación que no supone gasto de computación y repercute de forma nímia en el rendimiento de la transferencia.

+


+

+

+Modo en texto llano

+

Este modo transmite los carácteres de texto sin ningún tipo de encriptación, por lo tanto son totalmente visibles para cualquier agente intermedio. Sin embargo, el modo sin encriptación es más rápido y ofrece el doble de velocidad de transferencia aproximadamente.
+

+

+Envío/Recepción de mensajes

+

El mensaje se transmite de la siguiente forma:

+
    +
  1. Bob le quiere mandar a Alice un mensaje, primero primero pone el número de carácteres (bytes) que ocupa el mensaje en forma de string terminado con carácter NULL ('\0') y lo manda.
  2. +
  3. Bob transmite el mensaje íntegro.
  4. +
  5. Alice lee uno a uno los carácteres del socket hasta encontrar un carácter NULL ('\0'), entonces lee lo que ha recibido, que es la longitud del mensaje real.
  6. +
  7. Alice pasa a extraer los N bytes que ha leído que recibiría y obtiene el mensaje final.
    +
    +
    +
  8. +
+

+Compilación

+

A continuación se detallan las opciones e instrucciones necesarias para compilar esta librería.
+

+

+Opciones de compilación

+

Los siguientes #defines establecen la configuración en tiempo de compilación

+
    +
  • RSALENGTH : La longitud de la llave RSA que se usará.
  • +
  • AESLENGTH : La longitud de la llave AES que se usará.
  • +
  • CONFFILE : La ruta absoluta o relativa al fichero de configuración del servidor (véase: conf).
  • +
  • PUBLICKEY : La ruta absoluta o relativa a la llave pública RSA. Existe en server.h y client.cpp
  • +
  • PRIVATEKEY : La ruta absoluta o relativa a la llave pública RSA. Existe en server.h y client.cpp
    +
  • +
+

+Flags de compilación y librerías

+

Flags de compilación necesarios:

+
    +
  • -I/carpeta/con/cabeceras_de/crypto++ -I/carpeta/con/cabeceras/de_la/librería/Socket
  • +
  • -L/carpeta/con/la_librería/crypto++
  • +
  • -lcryptopp -lpthread
  • +
+

Véase: makefile
+
+
+

+

+Ejemplos

+

A continuación se detalla el código para programar una aplicación servidor cliente sencilla
+

+

+Programar un cliente

+

Véase: Client
+
+

+
+ + + + diff --git a/JChatClient/doc/html/howto_8dox.html b/JChatClient/doc/html/howto_8dox.html new file mode 100644 index 0000000..d3d1e33 --- /dev/null +++ b/JChatClient/doc/html/howto_8dox.html @@ -0,0 +1,99 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/howto.dox + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/howto.dox
+
+
+

Descripción detallada

+
Autor
Imanol Barba Sabariego
+
Fecha
13/06/2013
+
+ + + + diff --git a/JChatClient/doc/html/index.html b/JChatClient/doc/html/index.html new file mode 100644 index 0000000..6afa940 --- /dev/null +++ b/JChatClient/doc/html/index.html @@ -0,0 +1,97 @@ + + + + + + +Socket: Página principal + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + +
+ + + + +
+ +
+ +
+
+
Página principal
+
+
+

La librería Socket es una implementación de comunicación con Sockets TCP/IP en GNU/Linux.

+

El objetivo principal de esta librería es abstraer toda la capa de comunicación al programador, lo único que debe hacer es guardar los datos a enviar en un contenedor STL del tipo std::string y enviarlo a una instancia debidamente incializada de la clase Socket. Este se encarga de inicializar los sockets, atender las conexiones o realizar nuevas, etc.

+

Para más información, consultar el HOWTO
+
+

+
Autor
Imanol Barba Sabariego
+
Fecha
11/06/2013
+
+ + + + diff --git a/JChatClient/doc/html/jquery.js b/JChatClient/doc/html/jquery.js new file mode 100644 index 0000000..63939e7 --- /dev/null +++ b/JChatClient/doc/html/jquery.js @@ -0,0 +1,8 @@ +/*! jQuery v1.7.1 jquery.com | jquery.org/license */ +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; +f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")), +f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() +{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c) +{if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); diff --git a/JChatClient/doc/html/main__server_8cpp.html b/JChatClient/doc/html/main__server_8cpp.html new file mode 100644 index 0000000..d70ba46 --- /dev/null +++ b/JChatClient/doc/html/main__server_8cpp.html @@ -0,0 +1,317 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/main_server.cpp + + + + + + + + + +
+
+
+ + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+ + + + + + + + + + +
+ +
+ + + +
+ +
+
Referencia del Archivo main_server.cpp
+
+
+ +

Implementación del servidor. +Más...

+
#include "server.h"
+#include <sys/types.h>
+#include <unistd.h>
+#include <sstream>
+
+ + + + + + + + + + + + + + + + + + + +

+Funciones

void killThread (thread_args *t_arg)
 Método de finalización de Threads. Más...
 
void * WorkerThread (void *args)
 Método gestión de conexiones. Más...
 
void stopServer (int signal)
 Método de detención del servidor. Más...
 
void processText (string *str)
 Método auxiliar de procesado de texto. Más...
 
bool readConf (string *ip, int *port)
 Método de lectura de configuración. Más...
 
int main ()
 Método principal del servidor. Más...
 
+ + + + +

+Variables

Serverserv
 Instancia de la clase Server. Más...
 
+

Descripción detallada

+

Implementación del servidor.

+
Autor
Imanol Barba Sabariego
+
Fecha
13/06/2013
+

En este fichero se implementa un servidor TCP/IP usando las clases Socket y Server.

+

Documentación de las funciones

+ +
+
+ + + + + + + + +
void killThread (thread_argst_arg)
+
+ +

Método de finalización de Threads.

+

Éste método se ejecuta para liberar la memoria de los argumentos del thread y mandarlo a la pila de threads terminados.

+
Parámetros
+ + +
t_argPuntero al struct que contiene los argumentos del thread
+
+
+ +
+
+ +
+
+ + + + + + + +
int main ()
+
+ +

Método principal del servidor.

+

Lee la configuración usando readConf() y incializa el servidor.

+ +
+
+ +
+
+ + + + + + + + +
void processText (string * str)
+
+ +

Método auxiliar de procesado de texto.

+

Éste método usa para procesar las entradas de texto del fichero de configuración para adaptarlas a un formato adecuado.

+

De momento se limita a eliminar whitespace (tabulaciones, saltos de línea y espacios).

+
Parámetros
+ + +
strLínea de texto a procesar
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
bool readConf (string * ip,
int * port 
)
+
+ +

Método de lectura de configuración.

+

Éste método lee el fichero de configuración espeficado para obtener parámetros de configuración para el funcionamiento del servidor.

+
Parámetros
+ + + +
ipPuntero donde se almacena la IP leída
portPuntero donde se almacena el puerto leído
+
+
+ +
+
+ +
+
+ + + + + + + + +
void stopServer (int signal)
+
+ +

Método de detención del servidor.

+

Este método detiene el servidor al recibir el signal SIGINT del SO.

+
Parámetros
+ + +
signalParámetro que captura el signal recibido
+
+
+ +
+
+ +
+
+ + + + + + + + +
void* WorkerThread (void * args)
+
+ +

Método gestión de conexiones.

+

Éste método es el que los threads ejecutan al crearse, aquí es donde se define el comportamiento del servidor, ya que cada conexión se gestionará como aquí se detalla.

+

Por defecto, el comportamiento que lleva programado es el de un servidor "echo", esperará que el cliente le envíe un mensaje y responderá con el mismo mensaje.

+
Parámetros
+ + +
argsPuntero al struct de los argumentos del thread casteado a tipo void*
+
+
+ +
+
+

Documentación de las variables

+ +
+
+ + + + +
Server* serv
+
+ +

Instancia de la clase Server.

+

Esta variable contiene la instancia de la clase Server que aquí se usa e inicializa.

+

Se trata de una variable global para poder así usarla en las funciones que reciban signals del SO.

+ +
+
+
+ + + + diff --git a/JChatClient/doc/html/mainpage_8dox.html b/JChatClient/doc/html/mainpage_8dox.html new file mode 100644 index 0000000..f766742 --- /dev/null +++ b/JChatClient/doc/html/mainpage_8dox.html @@ -0,0 +1,96 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/mainpage.dox + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/mainpage.dox
+
+
+
+ + + + diff --git a/JChatClient/doc/html/makefile_8dox.html b/JChatClient/doc/html/makefile_8dox.html new file mode 100644 index 0000000..533e132 --- /dev/null +++ b/JChatClient/doc/html/makefile_8dox.html @@ -0,0 +1,96 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/makefile.dox + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/makefile.dox
+
+
+
+ + + + diff --git a/JChatClient/doc/html/nav_f.png b/JChatClient/doc/html/nav_f.png new file mode 100644 index 0000000..72a58a5 Binary files /dev/null and b/JChatClient/doc/html/nav_f.png differ diff --git a/JChatClient/doc/html/nav_g.png b/JChatClient/doc/html/nav_g.png new file mode 100644 index 0000000..2093a23 Binary files /dev/null and b/JChatClient/doc/html/nav_g.png differ diff --git a/JChatClient/doc/html/nav_h.png b/JChatClient/doc/html/nav_h.png new file mode 100644 index 0000000..33389b1 Binary files /dev/null and b/JChatClient/doc/html/nav_h.png differ diff --git a/JChatClient/doc/html/open.png b/JChatClient/doc/html/open.png new file mode 100644 index 0000000..30f75c7 Binary files /dev/null and b/JChatClient/doc/html/open.png differ diff --git a/JChatClient/doc/html/pages.html b/JChatClient/doc/html/pages.html new file mode 100644 index 0000000..9863f38 --- /dev/null +++ b/JChatClient/doc/html/pages.html @@ -0,0 +1,96 @@ + + + + + + +Socket: Páginas relacionadas + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + +
+ + + + +
+ +
+ +
+
+
Páginas relacionadas
+
+
+
Lista de toda la documentación relacionada:
+ + + +
oClientEjemplo de aplicación cliente
\HOWTODescripción de funcionamiento y uso de la librería
+
+
+ + + + diff --git a/JChatClient/doc/html/search/all_61.html b/JChatClient/doc/html/search/all_61.html new file mode 100644 index 0000000..a89287e --- /dev/null +++ b/JChatClient/doc/html/search/all_61.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_61.js b/JChatClient/doc/html/search/all_61.js new file mode 100644 index 0000000..000738b --- /dev/null +++ b/JChatClient/doc/html/search/all_61.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['accept',['Accept',['../class_socket.html#a25cdd79546b8e7e49f2195208ae6d00c',1,'Socket']]] +]; diff --git a/JChatClient/doc/html/search/all_62.html b/JChatClient/doc/html/search/all_62.html new file mode 100644 index 0000000..ba79ca5 --- /dev/null +++ b/JChatClient/doc/html/search/all_62.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_62.js b/JChatClient/doc/html/search/all_62.js new file mode 100644 index 0000000..0d84826 --- /dev/null +++ b/JChatClient/doc/html/search/all_62.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['bind',['Bind',['../class_socket.html#afdc52c70cf11911cc1a3c595a7849cf0',1,'Socket']]] +]; diff --git a/JChatClient/doc/html/search/all_63.html b/JChatClient/doc/html/search/all_63.html new file mode 100644 index 0000000..f86180f --- /dev/null +++ b/JChatClient/doc/html/search/all_63.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_63.js b/JChatClient/doc/html/search/all_63.js new file mode 100644 index 0000000..47f0683 --- /dev/null +++ b/JChatClient/doc/html/search/all_63.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['client_2ecpp',['client.cpp',['../client_8cpp.html',1,'']]], + ['client_2edox',['client.dox',['../client_8dox.html',1,'']]], + ['client',['Client',['../client_code.html',1,'']]], + ['close',['Close',['../class_socket.html#a4c8ced9a8ce58834191b3b4f2033b173',1,'Socket']]], + ['condition',['condition',['../structthread__args.html#a96ee28beaed4175257db3d8794245f25',1,'thread_args']]], + ['conffile',['CONFFILE',['../server_8h.html#ad22e7f0ef164a8dafb32f779f737a1bd',1,'server.h']]], + ['connect',['Connect',['../class_socket.html#aa1d074c1aa400e8bca7c7da79b036abe',1,'Socket']]], + ['connected',['connected',['../client_8cpp.html#ab36823025f12a809217f7771125658c2',1,'client.cpp']]], + ['create',['Create',['../class_socket.html#add736ccf41f102910a2b8ac5e77eb8b1',1,'Socket']]] +]; diff --git a/JChatClient/doc/html/search/all_64.html b/JChatClient/doc/html/search/all_64.html new file mode 100644 index 0000000..2fecc27 --- /dev/null +++ b/JChatClient/doc/html/search/all_64.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_64.js b/JChatClient/doc/html/search/all_64.js new file mode 100644 index 0000000..7881f7d --- /dev/null +++ b/JChatClient/doc/html/search/all_64.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['description',['description',['../class_socket_exception.html#ae160a594055812694ac93f7118c4af1c',1,'SocketException']]] +]; diff --git a/JChatClient/doc/html/search/all_65.html b/JChatClient/doc/html/search/all_65.html new file mode 100644 index 0000000..a033f34 --- /dev/null +++ b/JChatClient/doc/html/search/all_65.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_65.js b/JChatClient/doc/html/search/all_65.js new file mode 100644 index 0000000..2bb09d2 --- /dev/null +++ b/JChatClient/doc/html/search/all_65.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['exitclient',['exitClient',['../client_8cpp.html#a00a6f7afcba6bb656a7b05c67efa42ba',1,'client.cpp']]] +]; diff --git a/JChatClient/doc/html/search/all_66.html b/JChatClient/doc/html/search/all_66.html new file mode 100644 index 0000000..83b3930 --- /dev/null +++ b/JChatClient/doc/html/search/all_66.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_66.js b/JChatClient/doc/html/search/all_66.js new file mode 100644 index 0000000..c197ea2 --- /dev/null +++ b/JChatClient/doc/html/search/all_66.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['freeram',['freeRAM',['../class_server.html#a018bee9f1e342d9f349765187d89becd',1,'Server']]] +]; diff --git a/JChatClient/doc/html/search/all_67.html b/JChatClient/doc/html/search/all_67.html new file mode 100644 index 0000000..9f2e88b --- /dev/null +++ b/JChatClient/doc/html/search/all_67.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_67.js b/JChatClient/doc/html/search/all_67.js new file mode 100644 index 0000000..d2e484a --- /dev/null +++ b/JChatClient/doc/html/search/all_67.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['getnworkers',['getNWorkers',['../class_server.html#acf13ac1f7fc49f28c1b1fa76eab209ab',1,'Server']]], + ['getsock',['getSock',['../class_socket.html#abc14da0faa1d00fe361eeede1b3cda4a',1,'Socket']]], + ['getstartedthreads',['getStartedThreads',['../class_server.html#aea36a7c64710f7d6e852a72a124b61bb',1,'Server']]], + ['getstoppedthreads',['getStoppedThreads',['../class_server.html#a266d431df0fc72ae28a9a865e4d0aa5d',1,'Server']]] +]; diff --git a/JChatClient/doc/html/search/all_68.html b/JChatClient/doc/html/search/all_68.html new file mode 100644 index 0000000..4e070aa --- /dev/null +++ b/JChatClient/doc/html/search/all_68.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_68.js b/JChatClient/doc/html/search/all_68.js new file mode 100644 index 0000000..8a0f3d3 --- /dev/null +++ b/JChatClient/doc/html/search/all_68.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['howto',['HOWTO',['../howto.html',1,'']]], + ['howto_2edox',['howto.dox',['../howto_8dox.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/all_69.html b/JChatClient/doc/html/search/all_69.html new file mode 100644 index 0000000..50a836e --- /dev/null +++ b/JChatClient/doc/html/search/all_69.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_69.js b/JChatClient/doc/html/search/all_69.js new file mode 100644 index 0000000..9f04bbd --- /dev/null +++ b/JChatClient/doc/html/search/all_69.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['id',['id',['../structthread__args.html#a6322b3468fd88f8f49977a6439e9f352',1,'thread_args']]] +]; diff --git a/JChatClient/doc/html/search/all_6b.html b/JChatClient/doc/html/search/all_6b.html new file mode 100644 index 0000000..f5a875a --- /dev/null +++ b/JChatClient/doc/html/search/all_6b.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_6b.js b/JChatClient/doc/html/search/all_6b.js new file mode 100644 index 0000000..53dcd3b --- /dev/null +++ b/JChatClient/doc/html/search/all_6b.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['killthread',['killThread',['../server_8h.html#ab99831172d1d4bca2c79bb37c7c062df',1,'server.h']]] +]; diff --git a/JChatClient/doc/html/search/all_6c.html b/JChatClient/doc/html/search/all_6c.html new file mode 100644 index 0000000..c4afb9a --- /dev/null +++ b/JChatClient/doc/html/search/all_6c.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_6c.js b/JChatClient/doc/html/search/all_6c.js new file mode 100644 index 0000000..f316fae --- /dev/null +++ b/JChatClient/doc/html/search/all_6c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['listen',['Listen',['../class_socket.html#a4d476d11854d7acb17b8d196c8171865',1,'Socket']]] +]; diff --git a/JChatClient/doc/html/search/all_6d.html b/JChatClient/doc/html/search/all_6d.html new file mode 100644 index 0000000..8087110 --- /dev/null +++ b/JChatClient/doc/html/search/all_6d.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_6d.js b/JChatClient/doc/html/search/all_6d.js new file mode 100644 index 0000000..318dbab --- /dev/null +++ b/JChatClient/doc/html/search/all_6d.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['main',['main',['../client_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4',1,'client.cpp']]], + ['mainpage_2edox',['mainpage.dox',['../mainpage_8dox.html',1,'']]], + ['makefile_2edox',['makefile.dox',['../makefile_8dox.html',1,'']]], + ['message',['message',['../class_socket_exception.html#a43f3472f1433552059ffeb9a251a9b76',1,'SocketException']]], + ['mutex',['mutex',['../structthread__args.html#ad5d64499f5f6e2df467c96b52a94c520',1,'thread_args']]] +]; diff --git a/JChatClient/doc/html/search/all_6e.html b/JChatClient/doc/html/search/all_6e.html new file mode 100644 index 0000000..438dfeb --- /dev/null +++ b/JChatClient/doc/html/search/all_6e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_6e.js b/JChatClient/doc/html/search/all_6e.js new file mode 100644 index 0000000..4d6fdd7 --- /dev/null +++ b/JChatClient/doc/html/search/all_6e.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['n',['N',['../server_8h.html#a0240ac851181b84ac374872dc5434ee4',1,'server.h']]], + ['nworkers',['nWorkers',['../class_server.html#a690955b1e335072c061df67014a6e698',1,'Server']]] +]; diff --git a/JChatClient/doc/html/search/all_6f.html b/JChatClient/doc/html/search/all_6f.html new file mode 100644 index 0000000..d790b62 --- /dev/null +++ b/JChatClient/doc/html/search/all_6f.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_6f.js b/JChatClient/doc/html/search/all_6f.js new file mode 100644 index 0000000..f63c1a7 --- /dev/null +++ b/JChatClient/doc/html/search/all_6f.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['operator_3c_3c',['operator<<',['../class_socket.html#a5beab0c84c933510a53126f786cff6de',1,'Socket']]], + ['operator_3e_3e',['operator>>',['../class_socket.html#ab6b2dffea36c60c53f8d5e539f1cf000',1,'Socket']]] +]; diff --git a/JChatClient/doc/html/search/all_70.html b/JChatClient/doc/html/search/all_70.html new file mode 100644 index 0000000..76420c3 --- /dev/null +++ b/JChatClient/doc/html/search/all_70.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_70.js b/JChatClient/doc/html/search/all_70.js new file mode 100644 index 0000000..a144d8c --- /dev/null +++ b/JChatClient/doc/html/search/all_70.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['p_c3_a1gina_20principal',['Página principal',['../index.html',1,'']]], + ['processcmd',['processCMD',['../client_8cpp.html#aad6144e222ae07102486edee29350121',1,'client.cpp']]], + ['processtext',['processText',['../server_8h.html#aa6328bc358b87d3e11c3f460d6427c5b',1,'server.h']]] +]; diff --git a/JChatClient/doc/html/search/all_72.html b/JChatClient/doc/html/search/all_72.html new file mode 100644 index 0000000..3157ef9 --- /dev/null +++ b/JChatClient/doc/html/search/all_72.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_72.js b/JChatClient/doc/html/search/all_72.js new file mode 100644 index 0000000..84d1331 --- /dev/null +++ b/JChatClient/doc/html/search/all_72.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['readconf',['readConf',['../server_8h.html#a4f850f08d755a0d0ebe936b5b84975e3',1,'server.h']]], + ['receive',['Receive',['../class_socket.html#aa1a8b143bb2adf57934156d9e33b8611',1,'Socket']]], + ['requestexit',['requestExit',['../class_server.html#a74769349252c1ad61717b156e42d61d3',1,'Server']]] +]; diff --git a/JChatClient/doc/html/search/all_73.html b/JChatClient/doc/html/search/all_73.html new file mode 100644 index 0000000..922305a --- /dev/null +++ b/JChatClient/doc/html/search/all_73.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_73.js b/JChatClient/doc/html/search/all_73.js new file mode 100644 index 0000000..1aae6f4 --- /dev/null +++ b/JChatClient/doc/html/search/all_73.js @@ -0,0 +1,21 @@ +var searchData= +[ + ['s',['s',['../structthread__args.html#aede3ef61778d02bdf25c368d1cf9d489',1,'thread_args']]], + ['send',['Send',['../class_socket.html#a4c4ecb88d5587177899198861d29d3dd',1,'Socket']]], + ['serv',['serv',['../structthread__args.html#ab29508135b033282f374d0fb47028fbd',1,'thread_args']]], + ['server',['Server',['../class_server.html',1,'Server'],['../class_server.html#ad5ec9462b520e59f7ea831e157ee5e59',1,'Server::Server()']]], + ['server_2eh',['server.h',['../server_8h.html',1,'']]], + ['setnworkers',['setNWorkers',['../class_server.html#a0090663c66f1f371f8b1aa87c5f49623',1,'Server']]], + ['shutdownserver',['shutdownServer',['../class_server.html#aa9231b38adc787954a13f04372de8ed2',1,'Server']]], + ['sock',['sock',['../class_socket.html#a231ddf6e338a86640e26808b83efeaa1',1,'Socket']]], + ['sockaddr',['sockAddr',['../class_socket.html#ae4d80b83c327ed835b5f4575a499a400',1,'Socket']]], + ['socket',['Socket',['../class_socket.html',1,'Socket'],['../class_socket.html#a7c3256c4fc6e2c603df73201049fae5a',1,'Socket::Socket()']]], + ['socket_2ecpp',['Socket.cpp',['../_socket_8cpp.html',1,'']]], + ['socket_2eh',['Socket.h',['../_socket_8h.html',1,'']]], + ['socketexception',['SocketException',['../class_socket_exception.html',1,'SocketException'],['../class_socket_exception.html#a06573084bad8aca1443281c0970fe033',1,'SocketException::SocketException()']]], + ['socketexception_2eh',['SocketException.h',['../_socket_exception_8h.html',1,'']]], + ['ss',['ss',['../class_server.html#af9e1a6848bdd627741b85e75777e3b45',1,'Server']]], + ['startedthreads',['startedThreads',['../class_server.html#a40fdc13e227f651943e0aa3757824396',1,'Server']]], + ['startserver',['startServer',['../class_server.html#aef89851f83a9bbe4459c46b6c7906e1f',1,'Server']]], + ['stoppedthreads',['stoppedThreads',['../class_server.html#a36a18616b526f3053a1036641a62cb0a',1,'Server']]] +]; diff --git a/JChatClient/doc/html/search/all_74.html b/JChatClient/doc/html/search/all_74.html new file mode 100644 index 0000000..924c35a --- /dev/null +++ b/JChatClient/doc/html/search/all_74.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_74.js b/JChatClient/doc/html/search/all_74.js new file mode 100644 index 0000000..bd24771 --- /dev/null +++ b/JChatClient/doc/html/search/all_74.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['thread',['thread',['../structthread__args.html#acdcd2db4307e5e75d5110067e196a70e',1,'thread_args']]], + ['thread_5fargs',['thread_args',['../structthread__args.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/all_77.html b/JChatClient/doc/html/search/all_77.html new file mode 100644 index 0000000..834fbb9 --- /dev/null +++ b/JChatClient/doc/html/search/all_77.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_77.js b/JChatClient/doc/html/search/all_77.js new file mode 100644 index 0000000..14b3111 --- /dev/null +++ b/JChatClient/doc/html/search/all_77.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['workerid',['workerID',['../class_server.html#ae10d91b60157ccfcc06cc463e8443007',1,'Server']]], + ['workerthread',['WorkerThread',['../server_8h.html#a7d13c650ec7a525ad17cabba4f371745',1,'server.h']]] +]; diff --git a/JChatClient/doc/html/search/all_7e.html b/JChatClient/doc/html/search/all_7e.html new file mode 100644 index 0000000..b499059 --- /dev/null +++ b/JChatClient/doc/html/search/all_7e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/all_7e.js b/JChatClient/doc/html/search/all_7e.js new file mode 100644 index 0000000..25baf99 --- /dev/null +++ b/JChatClient/doc/html/search/all_7e.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['_7esocketexception',['~SocketException',['../class_socket_exception.html#a659557c899329aea01977c980c4db9b9',1,'SocketException']]] +]; diff --git a/JChatClient/doc/html/search/classes_73.html b/JChatClient/doc/html/search/classes_73.html new file mode 100644 index 0000000..bea334e --- /dev/null +++ b/JChatClient/doc/html/search/classes_73.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/classes_73.js b/JChatClient/doc/html/search/classes_73.js new file mode 100644 index 0000000..1ffbf96 --- /dev/null +++ b/JChatClient/doc/html/search/classes_73.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['server',['Server',['../class_server.html',1,'']]], + ['socket',['Socket',['../class_socket.html',1,'']]], + ['socketexception',['SocketException',['../class_socket_exception.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/classes_74.html b/JChatClient/doc/html/search/classes_74.html new file mode 100644 index 0000000..96e7f73 --- /dev/null +++ b/JChatClient/doc/html/search/classes_74.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/classes_74.js b/JChatClient/doc/html/search/classes_74.js new file mode 100644 index 0000000..795e062 --- /dev/null +++ b/JChatClient/doc/html/search/classes_74.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['thread_5fargs',['thread_args',['../structthread__args.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/close.png b/JChatClient/doc/html/search/close.png new file mode 100644 index 0000000..9342d3d Binary files /dev/null and b/JChatClient/doc/html/search/close.png differ diff --git a/JChatClient/doc/html/search/defines_63.html b/JChatClient/doc/html/search/defines_63.html new file mode 100644 index 0000000..9443654 --- /dev/null +++ b/JChatClient/doc/html/search/defines_63.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/defines_63.js b/JChatClient/doc/html/search/defines_63.js new file mode 100644 index 0000000..7430966 --- /dev/null +++ b/JChatClient/doc/html/search/defines_63.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['conffile',['CONFFILE',['../server_8h.html#ad22e7f0ef164a8dafb32f779f737a1bd',1,'server.h']]] +]; diff --git a/JChatClient/doc/html/search/defines_6e.html b/JChatClient/doc/html/search/defines_6e.html new file mode 100644 index 0000000..2a4777f --- /dev/null +++ b/JChatClient/doc/html/search/defines_6e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/defines_6e.js b/JChatClient/doc/html/search/defines_6e.js new file mode 100644 index 0000000..63110e6 --- /dev/null +++ b/JChatClient/doc/html/search/defines_6e.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['n',['N',['../server_8h.html#a0240ac851181b84ac374872dc5434ee4',1,'server.h']]] +]; diff --git a/JChatClient/doc/html/search/files_63.html b/JChatClient/doc/html/search/files_63.html new file mode 100644 index 0000000..40e5ead --- /dev/null +++ b/JChatClient/doc/html/search/files_63.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/files_63.js b/JChatClient/doc/html/search/files_63.js new file mode 100644 index 0000000..90ef86b --- /dev/null +++ b/JChatClient/doc/html/search/files_63.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['client_2ecpp',['client.cpp',['../client_8cpp.html',1,'']]], + ['client_2edox',['client.dox',['../client_8dox.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/files_68.html b/JChatClient/doc/html/search/files_68.html new file mode 100644 index 0000000..3fc9719 --- /dev/null +++ b/JChatClient/doc/html/search/files_68.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/files_68.js b/JChatClient/doc/html/search/files_68.js new file mode 100644 index 0000000..92c0f10 --- /dev/null +++ b/JChatClient/doc/html/search/files_68.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['howto_2edox',['howto.dox',['../howto_8dox.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/files_6d.html b/JChatClient/doc/html/search/files_6d.html new file mode 100644 index 0000000..d0a6c12 --- /dev/null +++ b/JChatClient/doc/html/search/files_6d.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/files_6d.js b/JChatClient/doc/html/search/files_6d.js new file mode 100644 index 0000000..f7ae2d2 --- /dev/null +++ b/JChatClient/doc/html/search/files_6d.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['mainpage_2edox',['mainpage.dox',['../mainpage_8dox.html',1,'']]], + ['makefile_2edox',['makefile.dox',['../makefile_8dox.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/files_73.html b/JChatClient/doc/html/search/files_73.html new file mode 100644 index 0000000..de69534 --- /dev/null +++ b/JChatClient/doc/html/search/files_73.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/files_73.js b/JChatClient/doc/html/search/files_73.js new file mode 100644 index 0000000..6658d4f --- /dev/null +++ b/JChatClient/doc/html/search/files_73.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['server_2eh',['server.h',['../server_8h.html',1,'']]], + ['socket_2ecpp',['Socket.cpp',['../_socket_8cpp.html',1,'']]], + ['socket_2eh',['Socket.h',['../_socket_8h.html',1,'']]], + ['socketexception_2eh',['SocketException.h',['../_socket_exception_8h.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/functions_61.html b/JChatClient/doc/html/search/functions_61.html new file mode 100644 index 0000000..2b43fac --- /dev/null +++ b/JChatClient/doc/html/search/functions_61.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_61.js b/JChatClient/doc/html/search/functions_61.js new file mode 100644 index 0000000..000738b --- /dev/null +++ b/JChatClient/doc/html/search/functions_61.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['accept',['Accept',['../class_socket.html#a25cdd79546b8e7e49f2195208ae6d00c',1,'Socket']]] +]; diff --git a/JChatClient/doc/html/search/functions_62.html b/JChatClient/doc/html/search/functions_62.html new file mode 100644 index 0000000..8429cb8 --- /dev/null +++ b/JChatClient/doc/html/search/functions_62.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_62.js b/JChatClient/doc/html/search/functions_62.js new file mode 100644 index 0000000..0d84826 --- /dev/null +++ b/JChatClient/doc/html/search/functions_62.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['bind',['Bind',['../class_socket.html#afdc52c70cf11911cc1a3c595a7849cf0',1,'Socket']]] +]; diff --git a/JChatClient/doc/html/search/functions_63.html b/JChatClient/doc/html/search/functions_63.html new file mode 100644 index 0000000..6c18d84 --- /dev/null +++ b/JChatClient/doc/html/search/functions_63.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_63.js b/JChatClient/doc/html/search/functions_63.js new file mode 100644 index 0000000..b3e4053 --- /dev/null +++ b/JChatClient/doc/html/search/functions_63.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['close',['Close',['../class_socket.html#a4c8ced9a8ce58834191b3b4f2033b173',1,'Socket']]], + ['connect',['Connect',['../class_socket.html#aa1d074c1aa400e8bca7c7da79b036abe',1,'Socket']]], + ['create',['Create',['../class_socket.html#add736ccf41f102910a2b8ac5e77eb8b1',1,'Socket']]] +]; diff --git a/JChatClient/doc/html/search/functions_64.html b/JChatClient/doc/html/search/functions_64.html new file mode 100644 index 0000000..ba595bc --- /dev/null +++ b/JChatClient/doc/html/search/functions_64.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_64.js b/JChatClient/doc/html/search/functions_64.js new file mode 100644 index 0000000..7881f7d --- /dev/null +++ b/JChatClient/doc/html/search/functions_64.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['description',['description',['../class_socket_exception.html#ae160a594055812694ac93f7118c4af1c',1,'SocketException']]] +]; diff --git a/JChatClient/doc/html/search/functions_65.html b/JChatClient/doc/html/search/functions_65.html new file mode 100644 index 0000000..ae5bedf --- /dev/null +++ b/JChatClient/doc/html/search/functions_65.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_65.js b/JChatClient/doc/html/search/functions_65.js new file mode 100644 index 0000000..2bb09d2 --- /dev/null +++ b/JChatClient/doc/html/search/functions_65.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['exitclient',['exitClient',['../client_8cpp.html#a00a6f7afcba6bb656a7b05c67efa42ba',1,'client.cpp']]] +]; diff --git a/JChatClient/doc/html/search/functions_66.html b/JChatClient/doc/html/search/functions_66.html new file mode 100644 index 0000000..556482c --- /dev/null +++ b/JChatClient/doc/html/search/functions_66.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_66.js b/JChatClient/doc/html/search/functions_66.js new file mode 100644 index 0000000..c197ea2 --- /dev/null +++ b/JChatClient/doc/html/search/functions_66.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['freeram',['freeRAM',['../class_server.html#a018bee9f1e342d9f349765187d89becd',1,'Server']]] +]; diff --git a/JChatClient/doc/html/search/functions_67.html b/JChatClient/doc/html/search/functions_67.html new file mode 100644 index 0000000..d3a6198 --- /dev/null +++ b/JChatClient/doc/html/search/functions_67.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_67.js b/JChatClient/doc/html/search/functions_67.js new file mode 100644 index 0000000..d2e484a --- /dev/null +++ b/JChatClient/doc/html/search/functions_67.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['getnworkers',['getNWorkers',['../class_server.html#acf13ac1f7fc49f28c1b1fa76eab209ab',1,'Server']]], + ['getsock',['getSock',['../class_socket.html#abc14da0faa1d00fe361eeede1b3cda4a',1,'Socket']]], + ['getstartedthreads',['getStartedThreads',['../class_server.html#aea36a7c64710f7d6e852a72a124b61bb',1,'Server']]], + ['getstoppedthreads',['getStoppedThreads',['../class_server.html#a266d431df0fc72ae28a9a865e4d0aa5d',1,'Server']]] +]; diff --git a/JChatClient/doc/html/search/functions_6b.html b/JChatClient/doc/html/search/functions_6b.html new file mode 100644 index 0000000..04900a1 --- /dev/null +++ b/JChatClient/doc/html/search/functions_6b.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_6b.js b/JChatClient/doc/html/search/functions_6b.js new file mode 100644 index 0000000..53dcd3b --- /dev/null +++ b/JChatClient/doc/html/search/functions_6b.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['killthread',['killThread',['../server_8h.html#ab99831172d1d4bca2c79bb37c7c062df',1,'server.h']]] +]; diff --git a/JChatClient/doc/html/search/functions_6c.html b/JChatClient/doc/html/search/functions_6c.html new file mode 100644 index 0000000..02109a0 --- /dev/null +++ b/JChatClient/doc/html/search/functions_6c.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_6c.js b/JChatClient/doc/html/search/functions_6c.js new file mode 100644 index 0000000..f316fae --- /dev/null +++ b/JChatClient/doc/html/search/functions_6c.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['listen',['Listen',['../class_socket.html#a4d476d11854d7acb17b8d196c8171865',1,'Socket']]] +]; diff --git a/JChatClient/doc/html/search/functions_6d.html b/JChatClient/doc/html/search/functions_6d.html new file mode 100644 index 0000000..fb5348b --- /dev/null +++ b/JChatClient/doc/html/search/functions_6d.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_6d.js b/JChatClient/doc/html/search/functions_6d.js new file mode 100644 index 0000000..dde903e --- /dev/null +++ b/JChatClient/doc/html/search/functions_6d.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['main',['main',['../client_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4',1,'client.cpp']]] +]; diff --git a/JChatClient/doc/html/search/functions_6f.html b/JChatClient/doc/html/search/functions_6f.html new file mode 100644 index 0000000..5a463ad --- /dev/null +++ b/JChatClient/doc/html/search/functions_6f.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_6f.js b/JChatClient/doc/html/search/functions_6f.js new file mode 100644 index 0000000..f63c1a7 --- /dev/null +++ b/JChatClient/doc/html/search/functions_6f.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['operator_3c_3c',['operator<<',['../class_socket.html#a5beab0c84c933510a53126f786cff6de',1,'Socket']]], + ['operator_3e_3e',['operator>>',['../class_socket.html#ab6b2dffea36c60c53f8d5e539f1cf000',1,'Socket']]] +]; diff --git a/JChatClient/doc/html/search/functions_70.html b/JChatClient/doc/html/search/functions_70.html new file mode 100644 index 0000000..90a0b1e --- /dev/null +++ b/JChatClient/doc/html/search/functions_70.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_70.js b/JChatClient/doc/html/search/functions_70.js new file mode 100644 index 0000000..5228625 --- /dev/null +++ b/JChatClient/doc/html/search/functions_70.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['processcmd',['processCMD',['../client_8cpp.html#aad6144e222ae07102486edee29350121',1,'client.cpp']]], + ['processtext',['processText',['../server_8h.html#aa6328bc358b87d3e11c3f460d6427c5b',1,'server.h']]] +]; diff --git a/JChatClient/doc/html/search/functions_72.html b/JChatClient/doc/html/search/functions_72.html new file mode 100644 index 0000000..bb678ae --- /dev/null +++ b/JChatClient/doc/html/search/functions_72.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_72.js b/JChatClient/doc/html/search/functions_72.js new file mode 100644 index 0000000..84d1331 --- /dev/null +++ b/JChatClient/doc/html/search/functions_72.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['readconf',['readConf',['../server_8h.html#a4f850f08d755a0d0ebe936b5b84975e3',1,'server.h']]], + ['receive',['Receive',['../class_socket.html#aa1a8b143bb2adf57934156d9e33b8611',1,'Socket']]], + ['requestexit',['requestExit',['../class_server.html#a74769349252c1ad61717b156e42d61d3',1,'Server']]] +]; diff --git a/JChatClient/doc/html/search/functions_73.html b/JChatClient/doc/html/search/functions_73.html new file mode 100644 index 0000000..b8ef62c --- /dev/null +++ b/JChatClient/doc/html/search/functions_73.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_73.js b/JChatClient/doc/html/search/functions_73.js new file mode 100644 index 0000000..5f7b866 --- /dev/null +++ b/JChatClient/doc/html/search/functions_73.js @@ -0,0 +1,9 @@ +var searchData= +[ + ['send',['Send',['../class_socket.html#a4c4ecb88d5587177899198861d29d3dd',1,'Socket']]], + ['server',['Server',['../class_server.html#ad5ec9462b520e59f7ea831e157ee5e59',1,'Server']]], + ['setnworkers',['setNWorkers',['../class_server.html#a0090663c66f1f371f8b1aa87c5f49623',1,'Server']]], + ['socket',['Socket',['../class_socket.html#a7c3256c4fc6e2c603df73201049fae5a',1,'Socket']]], + ['socketexception',['SocketException',['../class_socket_exception.html#a06573084bad8aca1443281c0970fe033',1,'SocketException']]], + ['startserver',['startServer',['../class_server.html#aef89851f83a9bbe4459c46b6c7906e1f',1,'Server']]] +]; diff --git a/JChatClient/doc/html/search/functions_77.html b/JChatClient/doc/html/search/functions_77.html new file mode 100644 index 0000000..2fa955a --- /dev/null +++ b/JChatClient/doc/html/search/functions_77.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_77.js b/JChatClient/doc/html/search/functions_77.js new file mode 100644 index 0000000..5e49aac --- /dev/null +++ b/JChatClient/doc/html/search/functions_77.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['workerthread',['WorkerThread',['../server_8h.html#a7d13c650ec7a525ad17cabba4f371745',1,'server.h']]] +]; diff --git a/JChatClient/doc/html/search/functions_7e.html b/JChatClient/doc/html/search/functions_7e.html new file mode 100644 index 0000000..8735f30 --- /dev/null +++ b/JChatClient/doc/html/search/functions_7e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/functions_7e.js b/JChatClient/doc/html/search/functions_7e.js new file mode 100644 index 0000000..25baf99 --- /dev/null +++ b/JChatClient/doc/html/search/functions_7e.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['_7esocketexception',['~SocketException',['../class_socket_exception.html#a659557c899329aea01977c980c4db9b9',1,'SocketException']]] +]; diff --git a/JChatClient/doc/html/search/mag_sel.png b/JChatClient/doc/html/search/mag_sel.png new file mode 100644 index 0000000..81f6040 Binary files /dev/null and b/JChatClient/doc/html/search/mag_sel.png differ diff --git a/JChatClient/doc/html/search/nomatches.html b/JChatClient/doc/html/search/nomatches.html new file mode 100644 index 0000000..1655363 --- /dev/null +++ b/JChatClient/doc/html/search/nomatches.html @@ -0,0 +1,12 @@ + + + + + + + +
+
Nada coincide
+
+ + diff --git a/JChatClient/doc/html/search/pages_63.html b/JChatClient/doc/html/search/pages_63.html new file mode 100644 index 0000000..c5612f7 --- /dev/null +++ b/JChatClient/doc/html/search/pages_63.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/pages_63.js b/JChatClient/doc/html/search/pages_63.js new file mode 100644 index 0000000..15c4535 --- /dev/null +++ b/JChatClient/doc/html/search/pages_63.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['client',['Client',['../client_code.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/pages_66.html b/JChatClient/doc/html/search/pages_66.html new file mode 100644 index 0000000..0915aab --- /dev/null +++ b/JChatClient/doc/html/search/pages_66.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/pages_66.js b/JChatClient/doc/html/search/pages_66.js new file mode 100644 index 0000000..565057d --- /dev/null +++ b/JChatClient/doc/html/search/pages_66.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['fichero_20de_20configuraci_c3_b3n',['Fichero de configuración',['../conf.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/pages_68.html b/JChatClient/doc/html/search/pages_68.html new file mode 100644 index 0000000..49958c2 --- /dev/null +++ b/JChatClient/doc/html/search/pages_68.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/pages_68.js b/JChatClient/doc/html/search/pages_68.js new file mode 100644 index 0000000..f30ca32 --- /dev/null +++ b/JChatClient/doc/html/search/pages_68.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['howto',['HOWTO',['../howto.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/pages_70.html b/JChatClient/doc/html/search/pages_70.html new file mode 100644 index 0000000..1d1142a --- /dev/null +++ b/JChatClient/doc/html/search/pages_70.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/pages_70.js b/JChatClient/doc/html/search/pages_70.js new file mode 100644 index 0000000..53eada5 --- /dev/null +++ b/JChatClient/doc/html/search/pages_70.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['p_c3_a1gina_20principal',['Página principal',['../index.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/pages_73.html b/JChatClient/doc/html/search/pages_73.html new file mode 100644 index 0000000..b970642 --- /dev/null +++ b/JChatClient/doc/html/search/pages_73.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/pages_73.js b/JChatClient/doc/html/search/pages_73.js new file mode 100644 index 0000000..1cf46cf --- /dev/null +++ b/JChatClient/doc/html/search/pages_73.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['server',['Server',['../server_code.html',1,'']]] +]; diff --git a/JChatClient/doc/html/search/search.css b/JChatClient/doc/html/search/search.css new file mode 100644 index 0000000..5b208ed --- /dev/null +++ b/JChatClient/doc/html/search/search.css @@ -0,0 +1,271 @@ +/*---------------- Search Box */ + +#FSearchBox { + float: left; +} + +#MSearchBox { + white-space : nowrap; + position: absolute; + float: none; + display: inline; + margin-top: 8px; + right: 0px; + width: 170px; + z-index: 102; + background-color: white; +} + +#MSearchBox .left +{ + display:block; + position:absolute; + left:10px; + width:20px; + height:19px; + background:url('search_l.png') no-repeat; + background-position:right; +} + +#MSearchSelect { + display:block; + position:absolute; + width:20px; + height:19px; +} + +.left #MSearchSelect { + left:4px; +} + +.right #MSearchSelect { + right:5px; +} + +#MSearchField { + display:block; + position:absolute; + height:19px; + background:url('search_m.png') repeat-x; + border:none; + width:116px; + margin-left:20px; + padding-left:4px; + color: #909090; + outline: none; + font: 9pt Arial, Verdana, sans-serif; +} + +#FSearchBox #MSearchField { + margin-left:15px; +} + +#MSearchBox .right { + display:block; + position:absolute; + right:10px; + top:0px; + width:20px; + height:19px; + background:url('search_r.png') no-repeat; + background-position:left; +} + +#MSearchClose { + display: none; + position: absolute; + top: 4px; + background : none; + border: none; + margin: 0px 4px 0px 0px; + padding: 0px 0px; + outline: none; +} + +.left #MSearchClose { + left: 6px; +} + +.right #MSearchClose { + right: 2px; +} + +.MSearchBoxActive #MSearchField { + color: #000000; +} + +/*---------------- Search filter selection */ + +#MSearchSelectWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #90A5CE; + background-color: #F9FAFC; + z-index: 1; + padding-top: 4px; + padding-bottom: 4px; + -moz-border-radius: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +.SelectItem { + font: 8pt Arial, Verdana, sans-serif; + padding-left: 2px; + padding-right: 12px; + border: 0px; +} + +span.SelectionMark { + margin-right: 4px; + font-family: monospace; + outline-style: none; + text-decoration: none; +} + +a.SelectItem { + display: block; + outline-style: none; + color: #000000; + text-decoration: none; + padding-left: 6px; + padding-right: 12px; +} + +a.SelectItem:focus, +a.SelectItem:active { + color: #000000; + outline-style: none; + text-decoration: none; +} + +a.SelectItem:hover { + color: #FFFFFF; + background-color: #3D578C; + outline-style: none; + text-decoration: none; + cursor: pointer; + display: block; +} + +/*---------------- Search results window */ + +iframe#MSearchResults { + width: 60ex; + height: 15em; +} + +#MSearchResultsWindow { + display: none; + position: absolute; + left: 0; top: 0; + border: 1px solid #000; + background-color: #EEF1F7; +} + +/* ----------------------------------- */ + + +#SRIndex { + clear:both; + padding-bottom: 15px; +} + +.SREntry { + font-size: 10pt; + padding-left: 1ex; +} + +.SRPage .SREntry { + font-size: 8pt; + padding: 1px 5px; +} + +body.SRPage { + margin: 5px 2px; +} + +.SRChildren { + padding-left: 3ex; padding-bottom: .5em +} + +.SRPage .SRChildren { + display: none; +} + +.SRSymbol { + font-weight: bold; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRScope { + display: block; + color: #425E97; + font-family: Arial, Verdana, sans-serif; + text-decoration: none; + outline: none; +} + +a.SRSymbol:focus, a.SRSymbol:active, +a.SRScope:focus, a.SRScope:active { + text-decoration: underline; +} + +span.SRScope { + padding-left: 4px; +} + +.SRPage .SRStatus { + padding: 2px 5px; + font-size: 8pt; + font-style: italic; +} + +.SRResult { + display: none; +} + +DIV.searchresults { + margin-left: 10px; + margin-right: 10px; +} + +/*---------------- External search page results */ + +.searchresult { + background-color: #F0F3F8; +} + +.pages b { + color: white; + padding: 5px 5px 3px 5px; + background-image: url("../tab_a.png"); + background-repeat: repeat-x; + text-shadow: 0 1px 1px #000000; +} + +.pages { + line-height: 17px; + margin-left: 4px; + text-decoration: none; +} + +.hl { + font-weight: bold; +} + +#searchresults { + margin-bottom: 20px; +} + +.searchpages { + margin-top: 10px; +} + diff --git a/JChatClient/doc/html/search/search.js b/JChatClient/doc/html/search/search.js new file mode 100644 index 0000000..5e06b2b --- /dev/null +++ b/JChatClient/doc/html/search/search.js @@ -0,0 +1,807 @@ +// Search script generated by doxygen +// Copyright (C) 2009 by Dimitri van Heesch. + +// The code in this file is loosly based on main.js, part of Natural Docs, +// which is Copyright (C) 2003-2008 Greg Valure +// Natural Docs is licensed under the GPL. + +var indexSectionsWithContent = +{ + 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111011111101110010000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 1: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 2: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000010000100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111100011101101100010000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 4: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000001000110000110010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 5: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + 6: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000010000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" +}; + +var indexSectionNames = +{ + 0: "all", + 1: "classes", + 2: "files", + 3: "functions", + 4: "variables", + 5: "defines", + 6: "pages" +}; + +function convertToId(search) +{ + var result = ''; + for (i=0;i do a search + { + this.Search(); + } + } + + this.OnSearchSelectKey = function(evt) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==40 && this.searchIndex0) // Up + { + this.searchIndex--; + this.OnSelectItem(this.searchIndex); + } + else if (e.keyCode==13 || e.keyCode==27) + { + this.OnSelectItem(this.searchIndex); + this.CloseSelectionWindow(); + this.DOMSearchField().focus(); + } + return false; + } + + // --------- Actions + + // Closes the results window. + this.CloseResultsWindow = function() + { + this.DOMPopupSearchResultsWindow().style.display = 'none'; + this.DOMSearchClose().style.display = 'none'; + this.Activate(false); + } + + this.CloseSelectionWindow = function() + { + this.DOMSearchSelectWindow().style.display = 'none'; + } + + // Performs a search. + this.Search = function() + { + this.keyTimeout = 0; + + // strip leading whitespace + var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); + + var code = searchValue.toLowerCase().charCodeAt(0); + var hexCode; + if (code<16) + { + hexCode="0"+code.toString(16); + } + else + { + hexCode=code.toString(16); + } + + var resultsPage; + var resultsPageWithSearch; + var hasResultsPage; + + if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1') + { + resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; + resultsPageWithSearch = resultsPage+'?'+escape(searchValue); + hasResultsPage = true; + } + else // nothing available for this search term + { + resultsPage = this.resultsPath + '/nomatches.html'; + resultsPageWithSearch = resultsPage; + hasResultsPage = false; + } + + window.frames.MSearchResults.location = resultsPageWithSearch; + var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + + if (domPopupSearchResultsWindow.style.display!='block') + { + var domSearchBox = this.DOMSearchBox(); + this.DOMSearchClose().style.display = 'inline'; + if (this.insideFrame) + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + domPopupSearchResultsWindow.style.position = 'relative'; + domPopupSearchResultsWindow.style.display = 'block'; + var width = document.body.clientWidth - 8; // the -8 is for IE :-( + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResults.style.width = width + 'px'; + } + else + { + var domPopupSearchResults = this.DOMPopupSearchResults(); + var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; + var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + } + } + + this.lastSearchValue = searchValue; + this.lastResultsPage = resultsPage; + } + + // -------- Activation Functions + + // Activates or deactivates the search panel, resetting things to + // their default values if necessary. + this.Activate = function(isActive) + { + if (isActive || // open it + this.DOMPopupSearchResultsWindow().style.display == 'block' + ) + { + this.DOMSearchBox().className = 'MSearchBoxActive'; + + var searchField = this.DOMSearchField(); + + if (searchField.value == this.searchLabel) // clear "Search" term upon entry + { + searchField.value = ''; + this.searchActive = true; + } + } + else if (!isActive) // directly remove the panel + { + this.DOMSearchBox().className = 'MSearchBoxInactive'; + this.DOMSearchField().value = this.searchLabel; + this.searchActive = false; + this.lastSearchValue = '' + this.lastResultsPage = ''; + } + } +} + +// ----------------------------------------------------------------------- + +// The class that handles everything on the search results page. +function SearchResults(name) +{ + // The number of matches from the last run of . + this.lastMatchCount = 0; + this.lastKey = 0; + this.repeatOn = false; + + // Toggles the visibility of the passed element ID. + this.FindChildElement = function(id) + { + var parentElement = document.getElementById(id); + var element = parentElement.firstChild; + + while (element && element!=parentElement) + { + if (element.nodeName == 'DIV' && element.className == 'SRChildren') + { + return element; + } + + if (element.nodeName == 'DIV' && element.hasChildNodes()) + { + element = element.firstChild; + } + else if (element.nextSibling) + { + element = element.nextSibling; + } + else + { + do + { + element = element.parentNode; + } + while (element && element!=parentElement && !element.nextSibling); + + if (element && element!=parentElement) + { + element = element.nextSibling; + } + } + } + } + + this.Toggle = function(id) + { + var element = this.FindChildElement(id); + if (element) + { + if (element.style.display == 'block') + { + element.style.display = 'none'; + } + else + { + element.style.display = 'block'; + } + } + } + + // Searches for the passed string. If there is no parameter, + // it takes it from the URL query. + // + // Always returns true, since other documents may try to call it + // and that may or may not be possible. + this.Search = function(search) + { + if (!search) // get search word from URL + { + search = window.location.search; + search = search.substring(1); // Remove the leading '?' + search = unescape(search); + } + + search = search.replace(/^ +/, ""); // strip leading spaces + search = search.replace(/ +$/, ""); // strip trailing spaces + search = search.toLowerCase(); + search = convertToId(search); + + var resultRows = document.getElementsByTagName("div"); + var matches = 0; + + var i = 0; + while (i < resultRows.length) + { + var row = resultRows.item(i); + if (row.className == "SRResult") + { + var rowMatchName = row.id.toLowerCase(); + rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' + + if (search.length<=rowMatchName.length && + rowMatchName.substr(0, search.length)==search) + { + row.style.display = 'block'; + matches++; + } + else + { + row.style.display = 'none'; + } + } + i++; + } + document.getElementById("Searching").style.display='none'; + if (matches == 0) // no results + { + document.getElementById("NoMatches").style.display='block'; + } + else // at least one result + { + document.getElementById("NoMatches").style.display='none'; + } + this.lastMatchCount = matches; + return true; + } + + // return the first item with index index or higher that is visible + this.NavNext = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index++; + } + return focusItem; + } + + this.NavPrev = function(index) + { + var focusItem; + while (1) + { + var focusName = 'Item'+index; + focusItem = document.getElementById(focusName); + if (focusItem && focusItem.parentNode.parentNode.style.display=='block') + { + break; + } + else if (!focusItem) // last element + { + break; + } + focusItem=null; + index--; + } + return focusItem; + } + + this.ProcessKeys = function(e) + { + if (e.type == "keydown") + { + this.repeatOn = false; + this.lastKey = e.keyCode; + } + else if (e.type == "keypress") + { + if (!this.repeatOn) + { + if (this.lastKey) this.repeatOn = true; + return false; // ignore first keypress after keydown + } + } + else if (e.type == "keyup") + { + this.lastKey = 0; + this.repeatOn = false; + } + return this.lastKey!=0; + } + + this.Nav = function(evt,itemIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + var newIndex = itemIndex-1; + var focusItem = this.NavPrev(newIndex); + if (focusItem) + { + var child = this.FindChildElement(focusItem.parentNode.parentNode.id); + if (child && child.style.display == 'block') // children visible + { + var n=0; + var tmpElem; + while (1) // search for last child + { + tmpElem = document.getElementById('Item'+newIndex+'_c'+n); + if (tmpElem) + { + focusItem = tmpElem; + } + else // found it! + { + break; + } + n++; + } + } + } + if (focusItem) + { + focusItem.focus(); + } + else // return focus to search field + { + parent.document.getElementById("MSearchField").focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = itemIndex+1; + var focusItem; + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem && elem.style.display == 'block') // children visible + { + focusItem = document.getElementById('Item'+itemIndex+'_c0'); + } + if (!focusItem) focusItem = this.NavNext(newIndex); + if (focusItem) focusItem.focus(); + } + else if (this.lastKey==39) // Right + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'block'; + } + else if (this.lastKey==37) // Left + { + var item = document.getElementById('Item'+itemIndex); + var elem = this.FindChildElement(item.parentNode.parentNode.id); + if (elem) elem.style.display = 'none'; + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } + + this.NavChild = function(evt,itemIndex,childIndex) + { + var e = (evt) ? evt : window.event; // for IE + if (e.keyCode==13) return true; + if (!this.ProcessKeys(e)) return false; + + if (this.lastKey==38) // Up + { + if (childIndex>0) + { + var newIndex = childIndex-1; + document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); + } + else // already at first child, jump to parent + { + document.getElementById('Item'+itemIndex).focus(); + } + } + else if (this.lastKey==40) // Down + { + var newIndex = childIndex+1; + var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); + if (!elem) // last child, jump to parent next parent + { + elem = this.NavNext(itemIndex+1); + } + if (elem) + { + elem.focus(); + } + } + else if (this.lastKey==27) // Escape + { + parent.searchBox.CloseResultsWindow(); + parent.document.getElementById("MSearchField").focus(); + } + else if (this.lastKey==13) // Enter + { + return true; + } + return false; + } +} + +function setKeyActions(elem,action) +{ + elem.setAttribute('onkeydown',action); + elem.setAttribute('onkeypress',action); + elem.setAttribute('onkeyup',action); +} + +function setClassAttr(elem,attr) +{ + elem.setAttribute('class',attr); + elem.setAttribute('className',attr); +} + +function createResults() +{ + var results = document.getElementById("SRResults"); + for (var e=0; e + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/variables_63.js b/JChatClient/doc/html/search/variables_63.js new file mode 100644 index 0000000..8bac232 --- /dev/null +++ b/JChatClient/doc/html/search/variables_63.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['condition',['condition',['../structthread__args.html#a96ee28beaed4175257db3d8794245f25',1,'thread_args']]], + ['connected',['connected',['../client_8cpp.html#ab36823025f12a809217f7771125658c2',1,'client.cpp']]] +]; diff --git a/JChatClient/doc/html/search/variables_69.html b/JChatClient/doc/html/search/variables_69.html new file mode 100644 index 0000000..169916a --- /dev/null +++ b/JChatClient/doc/html/search/variables_69.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/variables_69.js b/JChatClient/doc/html/search/variables_69.js new file mode 100644 index 0000000..9f04bbd --- /dev/null +++ b/JChatClient/doc/html/search/variables_69.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['id',['id',['../structthread__args.html#a6322b3468fd88f8f49977a6439e9f352',1,'thread_args']]] +]; diff --git a/JChatClient/doc/html/search/variables_6d.html b/JChatClient/doc/html/search/variables_6d.html new file mode 100644 index 0000000..4f3a2e8 --- /dev/null +++ b/JChatClient/doc/html/search/variables_6d.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/variables_6d.js b/JChatClient/doc/html/search/variables_6d.js new file mode 100644 index 0000000..8da3879 --- /dev/null +++ b/JChatClient/doc/html/search/variables_6d.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['message',['message',['../class_socket_exception.html#a43f3472f1433552059ffeb9a251a9b76',1,'SocketException']]], + ['mutex',['mutex',['../structthread__args.html#ad5d64499f5f6e2df467c96b52a94c520',1,'thread_args']]] +]; diff --git a/JChatClient/doc/html/search/variables_6e.html b/JChatClient/doc/html/search/variables_6e.html new file mode 100644 index 0000000..f46dc26 --- /dev/null +++ b/JChatClient/doc/html/search/variables_6e.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/variables_6e.js b/JChatClient/doc/html/search/variables_6e.js new file mode 100644 index 0000000..9c1aa09 --- /dev/null +++ b/JChatClient/doc/html/search/variables_6e.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['nworkers',['nWorkers',['../class_server.html#a690955b1e335072c061df67014a6e698',1,'Server']]] +]; diff --git a/JChatClient/doc/html/search/variables_73.html b/JChatClient/doc/html/search/variables_73.html new file mode 100644 index 0000000..bd33d86 --- /dev/null +++ b/JChatClient/doc/html/search/variables_73.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/variables_73.js b/JChatClient/doc/html/search/variables_73.js new file mode 100644 index 0000000..8a01376 --- /dev/null +++ b/JChatClient/doc/html/search/variables_73.js @@ -0,0 +1,11 @@ +var searchData= +[ + ['s',['s',['../structthread__args.html#aede3ef61778d02bdf25c368d1cf9d489',1,'thread_args']]], + ['serv',['serv',['../structthread__args.html#ab29508135b033282f374d0fb47028fbd',1,'thread_args']]], + ['shutdownserver',['shutdownServer',['../class_server.html#aa9231b38adc787954a13f04372de8ed2',1,'Server']]], + ['sock',['sock',['../class_socket.html#a231ddf6e338a86640e26808b83efeaa1',1,'Socket']]], + ['sockaddr',['sockAddr',['../class_socket.html#ae4d80b83c327ed835b5f4575a499a400',1,'Socket']]], + ['ss',['ss',['../class_server.html#af9e1a6848bdd627741b85e75777e3b45',1,'Server']]], + ['startedthreads',['startedThreads',['../class_server.html#a40fdc13e227f651943e0aa3757824396',1,'Server']]], + ['stoppedthreads',['stoppedThreads',['../class_server.html#a36a18616b526f3053a1036641a62cb0a',1,'Server']]] +]; diff --git a/JChatClient/doc/html/search/variables_74.html b/JChatClient/doc/html/search/variables_74.html new file mode 100644 index 0000000..98e5b96 --- /dev/null +++ b/JChatClient/doc/html/search/variables_74.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/variables_74.js b/JChatClient/doc/html/search/variables_74.js new file mode 100644 index 0000000..a60e6b8 --- /dev/null +++ b/JChatClient/doc/html/search/variables_74.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['thread',['thread',['../structthread__args.html#acdcd2db4307e5e75d5110067e196a70e',1,'thread_args']]] +]; diff --git a/JChatClient/doc/html/search/variables_77.html b/JChatClient/doc/html/search/variables_77.html new file mode 100644 index 0000000..b378305 --- /dev/null +++ b/JChatClient/doc/html/search/variables_77.html @@ -0,0 +1,26 @@ + + + + + + + + + +
+
Cargando...
+
+ +
Buscando...
+
Nada coincide
+ +
+ + diff --git a/JChatClient/doc/html/search/variables_77.js b/JChatClient/doc/html/search/variables_77.js new file mode 100644 index 0000000..351ed13 --- /dev/null +++ b/JChatClient/doc/html/search/variables_77.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['workerid',['workerID',['../class_server.html#ae10d91b60157ccfcc06cc463e8443007',1,'Server']]] +]; diff --git a/JChatClient/doc/html/server_8cpp.html b/JChatClient/doc/html/server_8cpp.html new file mode 100644 index 0000000..6827cd2 --- /dev/null +++ b/JChatClient/doc/html/server_8cpp.html @@ -0,0 +1,109 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/server.cpp + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
Referencia del Archivo server.cpp
+
+
+ +

Fichero de implementación de la clase Server. +Más...

+
#include "server.h"
+

Descripción detallada

+

Fichero de implementación de la clase Server.

+
Autor
Imanol Barba Sabariego
+
Fecha
13/06/2013
+

En este fichero se implementan los métodos de la clase Server definidos en server.h

+
+ + + + diff --git a/JChatClient/doc/html/server_8dox.html b/JChatClient/doc/html/server_8dox.html new file mode 100644 index 0000000..b85145c --- /dev/null +++ b/JChatClient/doc/html/server_8dox.html @@ -0,0 +1,99 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/server.dox + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/server.dox
+
+
+

Descripción detallada

+
Autor
Imanol Barba Sabariego
+
Fecha
13/06/2013
+
+ + + + diff --git a/JChatClient/doc/html/server_8h.html b/JChatClient/doc/html/server_8h.html new file mode 100644 index 0000000..9eeed44 --- /dev/null +++ b/JChatClient/doc/html/server_8h.html @@ -0,0 +1,300 @@ + + + + + + +Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/JChatClient/src/include/server.h + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ + +
+
+ +
+
Referencia del Archivo server.h
+
+
+ +

Header de la clase Server. +Más...

+
#include "Socket.h"
+#include "SocketException.h"
+#include <iostream>
+#include <sstream>
+#include <signal.h>
+#include <fstream>
+#include <list>
+
+

Ir al código fuente de este archivo.

+ + + + + + + + +

+Clases

class  Server
 Clase de aplicación servidor. Más...
 
struct  thread_args
 Argumentos de los threads. Más...
 
+ + + + + + + +

+'defines'

#define N   5
 Numero de conexiones permitidas activas (en espera o activas) Más...
 
#define CONFFILE   "socket.conf"
 Ruta al fichero de configuración. Más...
 
+ + + + + + + + + + + + + +

+Funciones

void killThread (thread_args *t_arg)
 Método de finalización de Threads. Más...
 
void * WorkerThread (void *args)
 Método gestión de conexiones. Más...
 
void processText (string *str)
 Método auxiliar de procesado de texto. Más...
 
bool readConf (string *ip, int *port)
 Método de lectura de configuración. Más...
 
+

Descripción detallada

+

Header de la clase Server.

+
Autor
Imanol Barba Sabariego
+
Fecha
11/06/2013
+

En este fichero se define la clase Server y algunos métodos globales usados por ésta para la gestión de threads y otros aspectos.

+

Documentación de los 'defines'

+ +
+
+ + + + +
#define CONFFILE   "socket.conf"
+
+ +

Ruta al fichero de configuración.

+

Ruta relativa o absoluta al fichero de configuración, de no existir o ser inválido el programa no funcionará.

+ +
+
+ +
+
+ + + + +
#define N   5
+
+ +

Numero de conexiones permitidas activas (en espera o activas)

+

Esta constante controla cuantas conexiones puede haber en espera o cuantas puede haber establecias en cualquier momento: habrá N activas y N en espera como mucho, no N en espera o activas.

+ +
+
+

Documentación de las funciones

+ +
+
+ + + + + + + + +
void killThread (thread_argst_arg)
+
+ +

Método de finalización de Threads.

+

Éste método se ejecuta para liberar la memoria de los argumentos del thread y mandarlo a la pila de threads terminados.

+
Parámetros
+ + +
t_argPuntero al struct que contiene los argumentos del thread
+
+
+ +
+
+ +
+
+ + + + + + + + +
void processText (string * str)
+
+ +

Método auxiliar de procesado de texto.

+

Éste método usa para procesar las entradas de texto del fichero de configuración para adaptarlas a un formato adecuado.

+

De momento se limita a eliminar whitespace (tabulaciones, saltos de línea y espacios).

+
Parámetros
+ + +
strLínea de texto a procesar
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
bool readConf (string * ip,
int * port 
)
+
+ +

Método de lectura de configuración.

+

Éste método lee el fichero de configuración espeficado para obtener parámetros de configuración para el funcionamiento del servidor.

+
Parámetros
+ + + +
ipPuntero donde se almacena la IP leída
portPuntero donde se almacena el puerto leído
+
+
+ +
+
+ +
+
+ + + + + + + + +
void* WorkerThread (void * args)
+
+ +

Método gestión de conexiones.

+

Éste método es el que los threads ejecutan al crearse, aquí es donde se define el comportamiento del servidor, ya que cada conexión se gestionará como aquí se detalla.

+

Por defecto, el comportamiento que lleva programado es el de un servidor "echo", esperará que el cliente le envíe un mensaje y responderá con el mismo mensaje.

+
Parámetros
+ + +
argsPuntero al struct de los argumentos del thread casteado a tipo void*
+
+
+ +
+
+
+ + + + diff --git a/JChatClient/doc/html/server_8h_source.html b/JChatClient/doc/html/server_8h_source.html new file mode 100644 index 0000000..3ba2997 --- /dev/null +++ b/JChatClient/doc/html/server_8h_source.html @@ -0,0 +1,185 @@ + + + + + + +Socket: Fichero Fuente /home/imanol/devel/eclipse/PAD/JChatClient/src/include/server.h + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
server.h
+
+
+Ir a la documentación de este archivo.
1 
+
9 #ifndef SERVER_H_
+
10 #define SERVER_H_
+
11 
+
12 #include "Socket.h"
+
13 #include "SocketException.h"
+
14 #include <iostream>
+
15 #include <sstream>
+
16 #include <signal.h>
+
17 #include <fstream>
+
18 #include <list>
+
19 #include <fstream>
+
20 
+
22 
+
24 #define N 5
+
25 
+
26 
+
27 #define CONFFILE "socket.conf"
+
28 
+
29 
+
31 using namespace std;
+
32 
+
34 
+
38 class Server
+
39 {
+
40  private:
+
42 
+
44  int nWorkers;
+
46 
+ +
50 
+
52  int workerID;
+
54 
+
56  list<pthread_t*> stoppedThreads;
+
58 
+
63  list<pthread_t*> startedThreads;
+
65 
+ +
69 
+
70  public:
+
72 
+
73  Server() : nWorkers(0), workerID(0), shutdownServer(false) {}
+
75 
+
76  int getNWorkers();
+
78 
+
79  void setNWorkers(int n );
+
81 
+
82  list<pthread_t*>* getStartedThreads();
+
84 
+
85  list<pthread_t*>* getStoppedThreads();
+
87 
+
88  void startServer(string i , int p);
+
90 
+
91  void freeRAM(list<pthread_t*> *threadList);
+
93 
+
94  void requestExit();
+
95 };
+
96 
+
98 
+ +
103 {
+
105 
+
106  pthread_mutex_t *mutex;
+
108 
+
112  pthread_cond_t *condition;
+
114 
+
116  pthread_t *thread;
+
118 
+ +
122 
+ +
126 
+
127  int id;
+
128 };
+
129 
+
131 
+
132 void killThread(thread_args *t_arg );
+
134 
+
139 void *WorkerThread(void* args );
+
141 
+
144 void processText(string *str);
+
146 
+
147 bool readConf(string *ip, int *port);
+
148 
+
149 #endif /* SERVER_H_ */
+
+ + + + diff --git a/JChatClient/doc/html/server_code.html b/JChatClient/doc/html/server_code.html new file mode 100644 index 0000000..3b369ce --- /dev/null +++ b/JChatClient/doc/html/server_code.html @@ -0,0 +1,202 @@ + + + + + + +Socket: Server + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + +
+ +
+ +
+
+ +
+
+

Ejemplo de aplicación servidor

+
#include "server.h"
+
#include <fstream>
+
+ +
+
void killThread(thread_args *t_arg)
+
{
+
(t_arg->s)->Close();
+
pthread_mutex_lock(t_arg->mutex);
+
t_arg->serv->setNWorkers(t_arg->serv->getNWorkers()-1);
+
cout << "Worker " << t_arg->id << ": connection terminated" << endl;
+
pthread_mutex_unlock(t_arg->mutex);
+
pthread_cond_signal(t_arg->condition);
+
t_arg->serv->getStartedThreads()->remove(t_arg->thread);
+
t_arg->serv->getStoppedThreads()->push_back(t_arg->thread);
+
if(t_arg->s != 0)
+
{
+
delete t_arg->s;
+
t_arg->s = 0;
+
}
+
if(t_arg != 0)
+
{
+
delete t_arg;
+
t_arg = 0;
+
}
+
pthread_exit(NULL);
+
}
+
+
void *WorkerThread(void* args)
+
{
+
struct thread_args *t_arg = (struct thread_args*)args;
+
while(true)
+
{
+
string message;
+
*(t_arg->s) >> message;
+
cout << "Worker " << t_arg->id << " received: " << message << endl;
+
string send = "You said: ";
+
send += message;
+
*(t_arg->s) << send;
+
}
+
killThread(t_arg);
+
}
+
+
void stopServer(int signal)
+
{
+
serv->requestExit();
+
}
+
+
void processText(string *str)
+
{
+
for(int i = 0; i < str->length(); i++)
+
{
+
if((*str)[i] == 32 || (*str)[i] == 10 || (*str)[i] == 11)
+
{
+
str->erase(i--,1);
+
}
+
}
+
}
+
+
bool readConf(string *ip, int *port)
+
{
+
*ip = "";
+
*port = 0;
+
ifstream confFile;
+
confFile.open(CONFFILE);
+
if(!confFile.is_open())
+
{
+
cout << "Error opening configuration file" << endl;
+
return false;
+
}
+
string parameter;
+
while(true)
+
{
+
getline(confFile, parameter, '=');
+
processText(&parameter);
+
if(confFile.eof())
+
{
+
break;
+
}
+
if(parameter == "bind-ip")
+
{
+
confFile >> *ip;
+
}
+
else if(parameter == "port")
+
{
+
confFile >> *port;
+
}
+
}
+
confFile.close();
+
if(*ip == "" || *port == 0)
+
{
+
return false;
+
}
+
return true;
+
}
+
+
int main()
+
{
+
string ip;
+
int port;
+
serv = new Server();
+
signal(SIGINT, stopServer);
+
if(!readConf(&ip,&port))
+
{
+
cout << "Configuration couldn't be loaded" << endl;
+
return -1;
+
}
+
serv->startServer(ip,port);
+
delete serv;
+
return 0;
+
}
+
+ + + + diff --git a/JChatClient/doc/html/structthread__args-members.html b/JChatClient/doc/html/structthread__args-members.html new file mode 100644 index 0000000..32a000e --- /dev/null +++ b/JChatClient/doc/html/structthread__args-members.html @@ -0,0 +1,106 @@ + + + + + + +Socket: Lista de los miembros + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+
+
thread_args Lista de los miembros
+
+
+ +

Lista completa de los miembros de thread_args, incluyendo todos los heredados:

+ + + + + + + +
conditionthread_args
idthread_args
mutexthread_args
sthread_args
servthread_args
threadthread_args
+ + + + diff --git a/JChatClient/doc/html/structthread__args.html b/JChatClient/doc/html/structthread__args.html new file mode 100644 index 0000000..e0c756c --- /dev/null +++ b/JChatClient/doc/html/structthread__args.html @@ -0,0 +1,227 @@ + + + + + + +Socket: Referencia de la Estructura thread_args + + + + + + + + + +
+
+ + + + + + +
+
Socket +
+
Librería para comunicar via TCP/IP
+
+
+ + + + + + + + + +
+ +
+ +
+
+ +
+
Referencia de la Estructura thread_args
+
+
+ +

Argumentos de los threads. + Más...

+ +

#include <server.h>

+ + + + + + + + + + + + + + + + + + + + +

+Atributos públicos

pthread_mutex_t * mutex
 Variable de control de la exclusión mútua entre threads. Más...
 
pthread_cond_t * condition
 Variable de notificación a otros threads. Más...
 
pthread_t * thread
 Puntero al thread. Más...
 
Sockets
 Puntero al socket. Más...
 
Serverserv
 Puntero al servidor. Más...
 
int id
 ID del thread. Más...
 
+

Descripción detallada

+

Argumentos de los threads.

+

Este struct define los argumentos que recibe un thread abierto por la aplicación servidor al recibir una conexión entrante

+
Autor
Imanol Barba Sabariego
+
Fecha
11/06/2013
+

Documentación de los datos miembro

+ +
+
+ + + + +
pthread_cond_t* thread_args::condition
+
+ +

Variable de notificación a otros threads.

+

Esta variable se usa para notificar a otros threads cuando deben realizar otras acciones.

+

Actualmente se usa para notificar al thread principal cuando el thread que lo invoca ha terminado, en caso de que el principal haya quedado bloqueado y no admita más conexiones.

+ +
+
+ +
+
+ + + + +
int thread_args::id
+
+ +

ID del thread.

+

Identifica al thread con un ID único

+ +
+
+ +
+
+ + + + +
pthread_mutex_t* thread_args::mutex
+
+ +

Variable de control de la exclusión mútua entre threads.

+

Esta variable se usa para bloquear otros threads en operaciones de exclusion mútua donde se modifican variables compartidas

+ +
+
+ +
+
+ + + + +
Socket* thread_args::s
+
+ +

Puntero al socket.

+

Esta variable representa el puntero al socket que proviene de la conexión entrante recibida por el servidor. Con este, el thread puede recibir y enviar los datos.

+ +
+
+ +
+
+ + + + +
Server* thread_args::serv
+
+ +

Puntero al servidor.

+

Esta variable representa el puntero al servidor de la aplicación. Con este puntero, los threads se mueven a la pila de threads terminados una vez terminan la ejecución para que el thread principal (el propio servidor), vaya liberando la memoria asignada.

+ +
+
+ +
+
+ + + + +
pthread_t* thread_args::thread
+
+ +

Puntero al thread.

+

Esta variable representa el puntero del propio thread. Al finalizar, este enviará su puntero a la lista de threads terminados, donde la memoria asignada al thread se destruirá.

+ +
+
+
La documentación para esta estructura fue generada a partir del siguiente fichero:
    +
  • /home/imanol/devel/eclipse/PAD/JChatClient/src/include/server.h
  • +
+
+ + + + diff --git a/JChatClient/doc/html/sync_off.png b/JChatClient/doc/html/sync_off.png new file mode 100644 index 0000000..3b443fc Binary files /dev/null and b/JChatClient/doc/html/sync_off.png differ diff --git a/JChatClient/doc/html/sync_on.png b/JChatClient/doc/html/sync_on.png new file mode 100644 index 0000000..e08320f Binary files /dev/null and b/JChatClient/doc/html/sync_on.png differ diff --git a/JChatClient/doc/html/tab_a.png b/JChatClient/doc/html/tab_a.png new file mode 100644 index 0000000..3b725c4 Binary files /dev/null and b/JChatClient/doc/html/tab_a.png differ diff --git a/JChatClient/doc/html/tab_b.png b/JChatClient/doc/html/tab_b.png new file mode 100644 index 0000000..e2b4a86 Binary files /dev/null and b/JChatClient/doc/html/tab_b.png differ diff --git a/JChatClient/doc/html/tab_h.png b/JChatClient/doc/html/tab_h.png new file mode 100644 index 0000000..fd5cb70 Binary files /dev/null and b/JChatClient/doc/html/tab_h.png differ diff --git a/JChatClient/doc/html/tab_s.png b/JChatClient/doc/html/tab_s.png new file mode 100644 index 0000000..ab478c9 Binary files /dev/null and b/JChatClient/doc/html/tab_s.png differ diff --git a/JChatClient/doc/html/tabs.css b/JChatClient/doc/html/tabs.css new file mode 100644 index 0000000..9cf578f --- /dev/null +++ b/JChatClient/doc/html/tabs.css @@ -0,0 +1,60 @@ +.tabs, .tabs2, .tabs3 { + background-image: url('tab_b.png'); + width: 100%; + z-index: 101; + font-size: 13px; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +} + +.tabs2 { + font-size: 10px; +} +.tabs3 { + font-size: 9px; +} + +.tablist { + margin: 0; + padding: 0; + display: table; +} + +.tablist li { + float: left; + display: table-cell; + background-image: url('tab_b.png'); + line-height: 36px; + list-style: none; +} + +.tablist a { + display: block; + padding: 0 20px; + font-weight: bold; + background-image:url('tab_s.png'); + background-repeat:no-repeat; + background-position:right; + color: #283A5D; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; + outline: none; +} + +.tabs3 .tablist a { + padding: 0 10px; +} + +.tablist a:hover { + background-image: url('tab_h.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + text-decoration: none; +} + +.tablist li.current a { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} diff --git a/JChatClient/doc/latex/Makefile b/JChatClient/doc/latex/Makefile new file mode 100644 index 0000000..083d8b1 --- /dev/null +++ b/JChatClient/doc/latex/Makefile @@ -0,0 +1,19 @@ +all: refman.pdf + +pdf: refman.pdf + +refman.pdf: clean refman.tex + pdflatex refman + makeindex refman.idx + pdflatex refman + latex_count=5 ; \ + while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ + do \ + echo "Rerunning latex...." ;\ + pdflatex refman ;\ + latex_count=`expr $$latex_count - 1` ;\ + done + + +clean: + rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf diff --git a/JChatClient/doc/latex/_socket_8cpp.tex b/JChatClient/doc/latex/_socket_8cpp.tex new file mode 100644 index 0000000..64c8a4c --- /dev/null +++ b/JChatClient/doc/latex/_socket_8cpp.tex @@ -0,0 +1,24 @@ +\hypertarget{_socket_8cpp}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/\-Socket.cpp} +\label{_socket_8cpp}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/\-Socket.\-cpp@{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/\-Socket.\-cpp}} +} + + +Fichero de implementación de la clase \hyperlink{class_socket}{Socket}. + + +{\ttfamily \#include \char`\"{}Socket.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Socket\-Exception.\-h\char`\"{}}\\* +{\ttfamily \#include $<$sstream$>$}\\* +{\ttfamily \#include $<$strings.\-h$>$}\\* +{\ttfamily \#include $<$cstdlib$>$}\\* +{\ttfamily \#include $<$netinet/tcp.\-h$>$}\\* + + +\subsection{Descripción detallada} +Fichero de implementación de la clase \hyperlink{class_socket}{Socket}. \begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +13/06/2013 +\end{DoxyDate} +En este fichero se implementan los métodos de la clase \hyperlink{class_socket}{Socket} definidos en \hyperlink{_socket_8h}{Socket.\-h} \ No newline at end of file diff --git a/JChatClient/doc/latex/_socket_8h.tex b/JChatClient/doc/latex/_socket_8h.tex new file mode 100644 index 0000000..9a73226 --- /dev/null +++ b/JChatClient/doc/latex/_socket_8h.tex @@ -0,0 +1,31 @@ +\hypertarget{_socket_8h}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\-Socket.h} +\label{_socket_8h}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\-Socket.\-h@{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\-Socket.\-h}} +} + + +Header de la clase \hyperlink{class_socket}{Socket}. + + +{\ttfamily \#include $<$iostream$>$}\\* +{\ttfamily \#include $<$sys/socket.\-h$>$}\\* +{\ttfamily \#include $<$netinet/in.\-h$>$}\\* +{\ttfamily \#include $<$arpa/inet.\-h$>$}\\* +{\ttfamily \#include $<$netdb.\-h$>$}\\* +{\ttfamily \#include $<$string$>$}\\* +{\ttfamily \#include $<$sys/types.\-h$>$}\\* +{\ttfamily \#include $<$unistd.\-h$>$}\\* +\subsection*{Clases} +\begin{DoxyCompactItemize} +\item +class \hyperlink{class_socket}{Socket} +\begin{DoxyCompactList}\small\item\em Clase del socket. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Descripción detallada} +Header de la clase \hyperlink{class_socket}{Socket}. \begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +12/06/2013 +\end{DoxyDate} +En este fichero se define la clase \hyperlink{class_socket}{Socket}, que es la clase que se abstraer toda la comunicación con sockets al programador \ No newline at end of file diff --git a/JChatClient/doc/latex/_socket_exception_8h.tex b/JChatClient/doc/latex/_socket_exception_8h.tex new file mode 100644 index 0000000..2bfc196 --- /dev/null +++ b/JChatClient/doc/latex/_socket_exception_8h.tex @@ -0,0 +1,24 @@ +\hypertarget{_socket_exception_8h}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\-Socket\-Exception.h} +\label{_socket_exception_8h}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\-Socket\-Exception.\-h@{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\-Socket\-Exception.\-h}} +} + + +Header de excepción de Sockets. + + +{\ttfamily \#include $<$string$>$}\\* +\subsection*{Clases} +\begin{DoxyCompactItemize} +\item +class \hyperlink{class_socket_exception}{Socket\-Exception} +\begin{DoxyCompactList}\small\item\em Clase de Excepción de Sockets. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Descripción detallada} +Header de excepción de Sockets. \begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +10/06/2013 +\end{DoxyDate} +En este fichero se define la clase \hyperlink{class_socket_exception}{Socket\-Exception} para el control de excepciones producidas por la librería. \ No newline at end of file diff --git a/JChatClient/doc/latex/annotated.tex b/JChatClient/doc/latex/annotated.tex new file mode 100644 index 0000000..7269aed --- /dev/null +++ b/JChatClient/doc/latex/annotated.tex @@ -0,0 +1,7 @@ +\section{Lista de clases} +Lista de las clases, estructuras, uniones e interfaces con una breve descripción\-:\begin{DoxyCompactList} +\item\contentsline{section}{\hyperlink{class_server}{Server} \\*Clase de aplicación servidor }{\pageref{class_server}}{} +\item\contentsline{section}{\hyperlink{class_socket}{Socket} \\*Clase del socket }{\pageref{class_socket}}{} +\item\contentsline{section}{\hyperlink{class_socket_exception}{Socket\-Exception} \\*Clase de Excepción de Sockets }{\pageref{class_socket_exception}}{} +\item\contentsline{section}{\hyperlink{structthread__args}{thread\-\_\-args} \\*Argumentos de los threads }{\pageref{structthread__args}}{} +\end{DoxyCompactList} diff --git a/JChatClient/doc/latex/class_server.tex b/JChatClient/doc/latex/class_server.tex new file mode 100644 index 0000000..9dcf59b --- /dev/null +++ b/JChatClient/doc/latex/class_server.tex @@ -0,0 +1,215 @@ +\hypertarget{class_server}{\section{Referencia de la Clase Server} +\label{class_server}\index{Server@{Server}} +} + + +Clase de aplicación servidor. + + + + +{\ttfamily \#include $<$server.\-h$>$} + +\subsection*{Métodos públicos} +\begin{DoxyCompactItemize} +\item +\hyperlink{class_server_ad5ec9462b520e59f7ea831e157ee5e59}{Server} () +\begin{DoxyCompactList}\small\item\em Constructor de la clase \hyperlink{class_server}{Server}. \end{DoxyCompactList}\item +int \hyperlink{class_server_acf13ac1f7fc49f28c1b1fa76eab209ab}{get\-N\-Workers} () +\begin{DoxyCompactList}\small\item\em Getter del número de threads activos. \end{DoxyCompactList}\item +void \hyperlink{class_server_a0090663c66f1f371f8b1aa87c5f49623}{set\-N\-Workers} (int n) +\begin{DoxyCompactList}\small\item\em Setter del número de threads activos. \end{DoxyCompactList}\item +list$<$ pthread\-\_\-t $\ast$ $>$ $\ast$ \hyperlink{class_server_aea36a7c64710f7d6e852a72a124b61bb}{get\-Started\-Threads} () +\begin{DoxyCompactList}\small\item\em Getter de la pila de threads activos. \end{DoxyCompactList}\item +list$<$ pthread\-\_\-t $\ast$ $>$ $\ast$ \hyperlink{class_server_a266d431df0fc72ae28a9a865e4d0aa5d}{get\-Stopped\-Threads} () +\begin{DoxyCompactList}\small\item\em Getter de la pila de threads terminados. \end{DoxyCompactList}\item +void \hyperlink{class_server_aef89851f83a9bbe4459c46b6c7906e1f}{start\-Server} (string i, int p) +\begin{DoxyCompactList}\small\item\em Método de inicialización del servidor. \end{DoxyCompactList}\item +void \hyperlink{class_server_a018bee9f1e342d9f349765187d89becd}{free\-R\-A\-M} (list$<$ pthread\-\_\-t $\ast$ $>$ $\ast$thread\-List) +\begin{DoxyCompactList}\small\item\em Método para liberar memória de threads. \end{DoxyCompactList}\item +void \hyperlink{class_server_a74769349252c1ad61717b156e42d61d3}{request\-Exit} () +\begin{DoxyCompactList}\small\item\em Método para terminar el servidor. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Atributos privados} +\begin{DoxyCompactItemize} +\item +int \hyperlink{class_server_a690955b1e335072c061df67014a6e698}{n\-Workers} +\begin{DoxyCompactList}\small\item\em Contador de threads. \end{DoxyCompactList}\item +bool \hyperlink{class_server_aa9231b38adc787954a13f04372de8ed2}{shutdown\-Server} +\begin{DoxyCompactList}\small\item\em Variable de apagado. \end{DoxyCompactList}\item +int \hyperlink{class_server_ae10d91b60157ccfcc06cc463e8443007}{worker\-I\-D} +\begin{DoxyCompactList}\small\item\em Contador de I\-D de thread. \end{DoxyCompactList}\item +list$<$ pthread\-\_\-t $\ast$ $>$ \hyperlink{class_server_a36a18616b526f3053a1036641a62cb0a}{stopped\-Threads} +\begin{DoxyCompactList}\small\item\em Pila de threads terminados. \end{DoxyCompactList}\item +list$<$ pthread\-\_\-t $\ast$ $>$ \hyperlink{class_server_a40fdc13e227f651943e0aa3757824396}{started\-Threads} +\begin{DoxyCompactList}\small\item\em Pila de threads empezados. \end{DoxyCompactList}\item +\hyperlink{class_socket}{Socket} \hyperlink{class_server_af9e1a6848bdd627741b85e75777e3b45}{ss} +\begin{DoxyCompactList}\small\item\em \hyperlink{class_socket}{Socket} de comunicación. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Descripción detallada} +Clase de aplicación servidor. + +Esta clase define un objeto con los métodos y atributos necesarios para lanzar una aplicación servidor y atender las conexiones. Para realizar la comunicación con el cliente, usa un objeto de la clase \hyperlink{class_socket}{Socket} + +\subsection{Documentación del constructor y destructor} +\hypertarget{class_server_ad5ec9462b520e59f7ea831e157ee5e59}{\index{Server@{Server}!Server@{Server}} +\index{Server@{Server}!Server@{Server}} +\subsubsection[{Server}]{\setlength{\rightskip}{0pt plus 5cm}Server\-::\-Server ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_server_ad5ec9462b520e59f7ea831e157ee5e59} + + +Constructor de la clase \hyperlink{class_server}{Server}. + +Incializa los argumentos inciales del servidor + +\subsection{Documentación de las funciones miembro} +\hypertarget{class_server_a018bee9f1e342d9f349765187d89becd}{\index{Server@{Server}!free\-R\-A\-M@{free\-R\-A\-M}} +\index{free\-R\-A\-M@{free\-R\-A\-M}!Server@{Server}} +\subsubsection[{free\-R\-A\-M}]{\setlength{\rightskip}{0pt plus 5cm}void Server\-::free\-R\-A\-M ( +\begin{DoxyParamCaption} +\item[{list$<$ pthread\-\_\-t $\ast$ $>$ $\ast$}]{thread\-List} +\end{DoxyParamCaption} +)}}\label{class_server_a018bee9f1e342d9f349765187d89becd} + + +Método para liberar memória de threads. + +Este método se llama para que libere la memoria de todos los threads que se le proporcionan por argumento +\begin{DoxyParams}{Parámetros} +{\em thread\-List} & Contenedor con los threads a liberar \\ +\hline +\end{DoxyParams} +\hypertarget{class_server_acf13ac1f7fc49f28c1b1fa76eab209ab}{\index{Server@{Server}!get\-N\-Workers@{get\-N\-Workers}} +\index{get\-N\-Workers@{get\-N\-Workers}!Server@{Server}} +\subsubsection[{get\-N\-Workers}]{\setlength{\rightskip}{0pt plus 5cm}int Server\-::get\-N\-Workers ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{class_server_acf13ac1f7fc49f28c1b1fa76eab209ab} + + +Getter del número de threads activos. + +Devuelve el número de threads activos en ese instante, por tanto, del número de conexiones que están siendo atendidas. \hypertarget{class_server_aea36a7c64710f7d6e852a72a124b61bb}{\index{Server@{Server}!get\-Started\-Threads@{get\-Started\-Threads}} +\index{get\-Started\-Threads@{get\-Started\-Threads}!Server@{Server}} +\subsubsection[{get\-Started\-Threads}]{\setlength{\rightskip}{0pt plus 5cm}list$<$pthread\-\_\-t$\ast$$>$$\ast$ Server\-::get\-Started\-Threads ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{class_server_aea36a7c64710f7d6e852a72a124b61bb} + + +Getter de la pila de threads activos. + +Devuelve un contenedor con la lista de threads que estan activos, para terminarlos en caso de que el programa finalice prematuramente \hypertarget{class_server_a266d431df0fc72ae28a9a865e4d0aa5d}{\index{Server@{Server}!get\-Stopped\-Threads@{get\-Stopped\-Threads}} +\index{get\-Stopped\-Threads@{get\-Stopped\-Threads}!Server@{Server}} +\subsubsection[{get\-Stopped\-Threads}]{\setlength{\rightskip}{0pt plus 5cm}list$<$pthread\-\_\-t$\ast$$>$$\ast$ Server\-::get\-Stopped\-Threads ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{class_server_a266d431df0fc72ae28a9a865e4d0aa5d} + + +Getter de la pila de threads terminados. + +Devuelve un contenedor con la lista de threads que han terminado, para poder liberar la memoria que se le ha asignado \hypertarget{class_server_a74769349252c1ad61717b156e42d61d3}{\index{Server@{Server}!request\-Exit@{request\-Exit}} +\index{request\-Exit@{request\-Exit}!Server@{Server}} +\subsubsection[{request\-Exit}]{\setlength{\rightskip}{0pt plus 5cm}void Server\-::request\-Exit ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{class_server_a74769349252c1ad61717b156e42d61d3} + + +Método para terminar el servidor. + +Este método inicia la secuencia de finalización del servidor \hypertarget{class_server_a0090663c66f1f371f8b1aa87c5f49623}{\index{Server@{Server}!set\-N\-Workers@{set\-N\-Workers}} +\index{set\-N\-Workers@{set\-N\-Workers}!Server@{Server}} +\subsubsection[{set\-N\-Workers}]{\setlength{\rightskip}{0pt plus 5cm}void Server\-::set\-N\-Workers ( +\begin{DoxyParamCaption} +\item[{int}]{n} +\end{DoxyParamCaption} +)}}\label{class_server_a0090663c66f1f371f8b1aa87c5f49623} + + +Setter del número de threads activos. + +Establece el número de threads activos, para poder cambiarlo cuando alguno de los threads activos finaliza +\begin{DoxyParams}{Parámetros} +{\em n} & Nuevo número de threads activos \\ +\hline +\end{DoxyParams} +\hypertarget{class_server_aef89851f83a9bbe4459c46b6c7906e1f}{\index{Server@{Server}!start\-Server@{start\-Server}} +\index{start\-Server@{start\-Server}!Server@{Server}} +\subsubsection[{start\-Server}]{\setlength{\rightskip}{0pt plus 5cm}void Server\-::start\-Server ( +\begin{DoxyParamCaption} +\item[{string}]{i, } +\item[{int}]{p} +\end{DoxyParamCaption} +)}}\label{class_server_aef89851f83a9bbe4459c46b6c7906e1f} + + +Método de inicialización del servidor. + +Incializa el servidor en el puerto e I\-P especificados para empezar a recibir conexiones entrantes +\begin{DoxyParams}{Parámetros} +{\em i} & I\-P donde se aceptan las conexiones \\ +\hline +{\em p} & Puerto donde se aceptan las conexiones \\ +\hline +\end{DoxyParams} + + +\subsection{Documentación de los datos miembro} +\hypertarget{class_server_a690955b1e335072c061df67014a6e698}{\index{Server@{Server}!n\-Workers@{n\-Workers}} +\index{n\-Workers@{n\-Workers}!Server@{Server}} +\subsubsection[{n\-Workers}]{\setlength{\rightskip}{0pt plus 5cm}int Server\-::n\-Workers\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_a690955b1e335072c061df67014a6e698} + + +Contador de threads. + +Esta variable se encarga de mantener la cuenta de threads activos, por tanto, el número de conexiones que estan siendo antendidas simultáneamente. \hypertarget{class_server_aa9231b38adc787954a13f04372de8ed2}{\index{Server@{Server}!shutdown\-Server@{shutdown\-Server}} +\index{shutdown\-Server@{shutdown\-Server}!Server@{Server}} +\subsubsection[{shutdown\-Server}]{\setlength{\rightskip}{0pt plus 5cm}bool Server\-::shutdown\-Server\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_aa9231b38adc787954a13f04372de8ed2} + + +Variable de apagado. + +Esta variable controla el apagado del servidor, al ponerla a true, la siguiente iteración del bucle que atiende las conexiones no se producirá y el programa terminará. \hypertarget{class_server_af9e1a6848bdd627741b85e75777e3b45}{\index{Server@{Server}!ss@{ss}} +\index{ss@{ss}!Server@{Server}} +\subsubsection[{ss}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Socket} Server\-::ss\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_af9e1a6848bdd627741b85e75777e3b45} + + +\hyperlink{class_socket}{Socket} de comunicación. + +Esta variable contiene el objeto de la clase \hyperlink{class_socket}{Socket} que la aplicación servidor usa para poder atender las peticiones. Su función es quedarse escuchando el el puerto e I\-P introducidas en el fichero de configuración y crear un objeto de la clase \hyperlink{class_socket}{Socket} para cada petición de cada cliente nuevo, siendo este último objeto creado el que se usa para la comuncación. \hypertarget{class_server_a40fdc13e227f651943e0aa3757824396}{\index{Server@{Server}!started\-Threads@{started\-Threads}} +\index{started\-Threads@{started\-Threads}!Server@{Server}} +\subsubsection[{started\-Threads}]{\setlength{\rightskip}{0pt plus 5cm}list$<$pthread\-\_\-t$\ast$$>$ Server\-::started\-Threads\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_a40fdc13e227f651943e0aa3757824396} + + +Pila de threads empezados. + +Esta variable contiene una lista de threads que han empezado su ejecución. Si el programa finalizara prematuramente, se liberarían los punteros de los threads almacenados en esta pila. + +{\bfseries N\-O\-T\-A\-: No se liberará la memoria asignada a los argumentos de los threads, dando lugar a memory leaks; sin embargo, esto se produciria al finalizar el programa, por tanto no es relevante.} \hypertarget{class_server_a36a18616b526f3053a1036641a62cb0a}{\index{Server@{Server}!stopped\-Threads@{stopped\-Threads}} +\index{stopped\-Threads@{stopped\-Threads}!Server@{Server}} +\subsubsection[{stopped\-Threads}]{\setlength{\rightskip}{0pt plus 5cm}list$<$pthread\-\_\-t$\ast$$>$ Server\-::stopped\-Threads\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_a36a18616b526f3053a1036641a62cb0a} + + +Pila de threads terminados. + +Esta variable contiene una lista de threads que han finalizado su ejecución. A cada iteración del bucle que atiende conexiones, se libera toda la memoria de los threads que hay almacenados aquí. \hypertarget{class_server_ae10d91b60157ccfcc06cc463e8443007}{\index{Server@{Server}!worker\-I\-D@{worker\-I\-D}} +\index{worker\-I\-D@{worker\-I\-D}!Server@{Server}} +\subsubsection[{worker\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int Server\-::worker\-I\-D\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_ae10d91b60157ccfcc06cc463e8443007} + + +Contador de I\-D de thread. + +Esta variable contiene el I\-D del próximo thread que se creará, por tanto, indica el número de conexiones que han sido atendidas desde el inicio del servidor + +La documentación para esta clase fue generada a partir del siguiente fichero\-:\begin{DoxyCompactItemize} +\item +/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\hyperlink{server_8h}{server.\-h}\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/class_socket.tex b/JChatClient/doc/latex/class_socket.tex new file mode 100644 index 0000000..fd0460e --- /dev/null +++ b/JChatClient/doc/latex/class_socket.tex @@ -0,0 +1,271 @@ +\hypertarget{class_socket}{\section{Referencia de la Clase Socket} +\label{class_socket}\index{Socket@{Socket}} +} + + +Clase del socket. + + + + +{\ttfamily \#include $<$Socket.\-h$>$} + +\subsection*{Métodos públicos} +\begin{DoxyCompactItemize} +\item +\hyperlink{class_socket_a7c3256c4fc6e2c603df73201049fae5a}{Socket} () +\begin{DoxyCompactList}\small\item\em Constructor de la clase \hyperlink{class_socket}{Socket}. \end{DoxyCompactList}\item +void \hyperlink{class_socket_add736ccf41f102910a2b8ac5e77eb8b1}{Create} () +\begin{DoxyCompactList}\small\item\em Método para crear sockets. \end{DoxyCompactList}\item +void \hyperlink{class_socket_afdc52c70cf11911cc1a3c595a7849cf0}{Bind} (string address, int port) +\begin{DoxyCompactList}\small\item\em Método para hacer bind a una dirección y puerto. \end{DoxyCompactList}\item +void \hyperlink{class_socket_a4d476d11854d7acb17b8d196c8171865}{Listen} (int backlog) +\begin{DoxyCompactList}\small\item\em Método para escuchar conexiones. \end{DoxyCompactList}\item +void \hyperlink{class_socket_a25cdd79546b8e7e49f2195208ae6d00c}{Accept} (\hyperlink{class_socket}{Socket} \&client\-Sock) +\begin{DoxyCompactList}\small\item\em Método para aceptar conexiones. \end{DoxyCompactList}\item +void \hyperlink{class_socket_aa1d074c1aa400e8bca7c7da79b036abe}{Connect} (string hostname, int port) +\begin{DoxyCompactList}\small\item\em Método para efectuar conexiones. \end{DoxyCompactList}\item +void \hyperlink{class_socket_a4c8ced9a8ce58834191b3b4f2033b173}{Close} () +\begin{DoxyCompactList}\small\item\em Método para cerrar sockets. \end{DoxyCompactList}\item +int \hyperlink{class_socket_abc14da0faa1d00fe361eeede1b3cda4a}{get\-Sock} () +\begin{DoxyCompactList}\small\item\em Getter para el file descriptor del socket. \end{DoxyCompactList}\item +const \hyperlink{class_socket}{Socket} \& \hyperlink{class_socket_a5beab0c84c933510a53126f786cff6de}{operator$<$$<$} (const string \&) +\begin{DoxyCompactList}\small\item\em Método para enviar mensajes. \end{DoxyCompactList}\item +const \hyperlink{class_socket}{Socket} \& \hyperlink{class_socket_ab6b2dffea36c60c53f8d5e539f1cf000}{operator$>$$>$} (string \&) +\begin{DoxyCompactList}\small\item\em Método para recibir mensajes. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Métodos privados} +\begin{DoxyCompactItemize} +\item +int \hyperlink{class_socket_aa1a8b143bb2adf57934156d9e33b8611}{Receive} (char $\ast$buff, int length) +\begin{DoxyCompactList}\small\item\em Método para recibir un mensaje de longitud conocida. \end{DoxyCompactList}\item +int \hyperlink{class_socket_a4c4ecb88d5587177899198861d29d3dd}{Send} (const char $\ast$buff, int length) +\begin{DoxyCompactList}\small\item\em Método para enviar un mensaje de longitud conocida. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Atributos privados} +\begin{DoxyCompactItemize} +\item +int \hyperlink{class_socket_a231ddf6e338a86640e26808b83efeaa1}{sock} +\begin{DoxyCompactList}\small\item\em Descriptor del fichero del socket. \end{DoxyCompactList}\item +struct sockaddr\-\_\-in \hyperlink{class_socket_ae4d80b83c327ed835b5f4575a499a400}{sock\-Addr} +\begin{DoxyCompactList}\small\item\em Estructura de dirección de socket. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Descripción detallada} +Clase del socket. + +Esta clase define un objeto con los métodos y atributos necesarios para realizar comunicación encriptada o en texto llano a través de un socket T\-C\-P/\-I\-P en un entorno U\-N\-I\-X abstrayendo la implementación de sockets y de encriptación al programador. + +\subsection{Documentación del constructor y destructor} +\hypertarget{class_socket_a7c3256c4fc6e2c603df73201049fae5a}{\index{Socket@{Socket}!Socket@{Socket}} +\index{Socket@{Socket}!Socket@{Socket}} +\subsubsection[{Socket}]{\setlength{\rightskip}{0pt plus 5cm}Socket\-::\-Socket ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{class_socket_a7c3256c4fc6e2c603df73201049fae5a} + + +Constructor de la clase \hyperlink{class_socket}{Socket}. + +Inicializa el file descriptor del socket y prepara la memoria donde se almacenarán las llaves públicas. + +\subsection{Documentación de las funciones miembro} +\hypertarget{class_socket_a25cdd79546b8e7e49f2195208ae6d00c}{\index{Socket@{Socket}!Accept@{Accept}} +\index{Accept@{Accept}!Socket@{Socket}} +\subsubsection[{Accept}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Accept ( +\begin{DoxyParamCaption} +\item[{{\bf Socket} \&}]{client\-Sock} +\end{DoxyParamCaption} +)}}\label{class_socket_a25cdd79546b8e7e49f2195208ae6d00c} + + +Método para aceptar conexiones. + +Este método bloquea el thread que lo ejecuta hasta que recibe una conexión entrante, que almacena como instancia de la clase \hyperlink{class_socket}{Socket} en la referencia proporcionada por argumento. +\begin{DoxyParams}{Parámetros} +{\em client\-Sock} & Instáncia de \hyperlink{class_socket}{Socket} que comunica con el cliente entrante \\ +\hline +\end{DoxyParams} +\hypertarget{class_socket_afdc52c70cf11911cc1a3c595a7849cf0}{\index{Socket@{Socket}!Bind@{Bind}} +\index{Bind@{Bind}!Socket@{Socket}} +\subsubsection[{Bind}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Bind ( +\begin{DoxyParamCaption} +\item[{string}]{address, } +\item[{int}]{port} +\end{DoxyParamCaption} +)}}\label{class_socket_afdc52c70cf11911cc1a3c595a7849cf0} + + +Método para hacer bind a una dirección y puerto. + +Este método asigna el socket a una dirección I\-P (y por tanto, a una interfaz de red en concreto) y un puerto, para que posteriormente actúe de servidor escuchando conexiones. +\begin{DoxyParams}{Parámetros} +{\em address} & Dirección I\-P asignada \\ +\hline +{\em port} & Puerto asignado \\ +\hline +\end{DoxyParams} +\hypertarget{class_socket_a4c8ced9a8ce58834191b3b4f2033b173}{\index{Socket@{Socket}!Close@{Close}} +\index{Close@{Close}!Socket@{Socket}} +\subsubsection[{Close}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Close ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{class_socket_a4c8ced9a8ce58834191b3b4f2033b173} + + +Método para cerrar sockets. + +Este método cierra el socket para que no se pueda escribir ni leer más en él, para liberarlo del kernel y terminar la conexión T\-C\-P. \hypertarget{class_socket_aa1d074c1aa400e8bca7c7da79b036abe}{\index{Socket@{Socket}!Connect@{Connect}} +\index{Connect@{Connect}!Socket@{Socket}} +\subsubsection[{Connect}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Connect ( +\begin{DoxyParamCaption} +\item[{string}]{hostname, } +\item[{int}]{port} +\end{DoxyParamCaption} +)}}\label{class_socket_aa1d074c1aa400e8bca7c7da79b036abe} + + +Método para efectuar conexiones. + +Este método sirve a los sockets que actúan como cliente para poder efectuar conexiones a otro socket que esté escuchando en la dirección y puerto especificados y atienda conexiones. +\begin{DoxyParams}{Parámetros} +{\em hostname} & Hostname al que conectarse \\ +\hline +{\em port} & Puerto al que conectarse \\ +\hline +\end{DoxyParams} +\hypertarget{class_socket_add736ccf41f102910a2b8ac5e77eb8b1}{\index{Socket@{Socket}!Create@{Create}} +\index{Create@{Create}!Socket@{Socket}} +\subsubsection[{Create}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Create ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{class_socket_add736ccf41f102910a2b8ac5e77eb8b1} + + +Método para crear sockets. + +Crea un file descriptor para un socket que por defecto no está conectado ni asignado a ninguna dirección. \hypertarget{class_socket_abc14da0faa1d00fe361eeede1b3cda4a}{\index{Socket@{Socket}!get\-Sock@{get\-Sock}} +\index{get\-Sock@{get\-Sock}!Socket@{Socket}} +\subsubsection[{get\-Sock}]{\setlength{\rightskip}{0pt plus 5cm}int Socket\-::get\-Sock ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{class_socket_abc14da0faa1d00fe361eeede1b3cda4a} + + +Getter para el file descriptor del socket. + +Este método devuelve el file descriptor del socket. \hypertarget{class_socket_a4d476d11854d7acb17b8d196c8171865}{\index{Socket@{Socket}!Listen@{Listen}} +\index{Listen@{Listen}!Socket@{Socket}} +\subsubsection[{Listen}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Listen ( +\begin{DoxyParamCaption} +\item[{int}]{backlog} +\end{DoxyParamCaption} +)}}\label{class_socket_a4d476d11854d7acb17b8d196c8171865} + + +Método para escuchar conexiones. + +Este método configura el socket para que se ponga en modo escucha y así pueda atender conexiones entrantes. +\begin{DoxyParams}{Parámetros} +{\em backlog} & Número máximo de conexiones {\bfseries en espera} \\ +\hline +\end{DoxyParams} +\hypertarget{class_socket_a5beab0c84c933510a53126f786cff6de}{\index{Socket@{Socket}!operator$<$$<$@{operator$<$$<$}} +\index{operator$<$$<$@{operator$<$$<$}!Socket@{Socket}} +\subsubsection[{operator$<$$<$}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Socket} \& Socket\-::operator$<$$<$ ( +\begin{DoxyParamCaption} +\item[{const string \&}]{text} +\end{DoxyParamCaption} +)}}\label{class_socket_a5beab0c84c933510a53126f786cff6de} + + +Método para enviar mensajes. + +Este método envía el mensaje que se le proporciona a través del \hyperlink{class_socket}{Socket} con o sin encriptación según las \hyperlink{howto_defines}{opciones de compilación} usando el \hyperlink{howto_proto}{protocolo} implementado. +\begin{DoxyParams}{Parámetros} +{\em text} & Mensaje a enviar \\ +\hline +\end{DoxyParams} +\hypertarget{class_socket_ab6b2dffea36c60c53f8d5e539f1cf000}{\index{Socket@{Socket}!operator$>$$>$@{operator$>$$>$}} +\index{operator$>$$>$@{operator$>$$>$}!Socket@{Socket}} +\subsubsection[{operator$>$$>$}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Socket} \& Socket\-::operator$>$$>$ ( +\begin{DoxyParamCaption} +\item[{std\-::string \&}]{text} +\end{DoxyParamCaption} +)}}\label{class_socket_ab6b2dffea36c60c53f8d5e539f1cf000} + + +Método para recibir mensajes. + +Este método recibe un mensaje de longitud arbitrária con o sin encriptación según las \hyperlink{howto_defines}{opciones de compilación} usando el \hyperlink{howto_proto}{protocolo} implementado. +\begin{DoxyParams}{Parámetros} +{\em text} & Mensaje a recibir \\ +\hline +\end{DoxyParams} +\hypertarget{class_socket_aa1a8b143bb2adf57934156d9e33b8611}{\index{Socket@{Socket}!Receive@{Receive}} +\index{Receive@{Receive}!Socket@{Socket}} +\subsubsection[{Receive}]{\setlength{\rightskip}{0pt plus 5cm}int Socket\-::\-Receive ( +\begin{DoxyParamCaption} +\item[{char $\ast$}]{buff, } +\item[{int}]{length} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_socket_aa1a8b143bb2adf57934156d9e33b8611} + + +Método para recibir un mensaje de longitud conocida. + +Este método se usa para recibir un mensaje de la longitud que se especifica por argumento y almacenarlo en el buffer proporcionado. + +{\itshape Este método garantiza que todo el mensaje se recibirá entero aunque la red no admita una longitud de paquete tan grande.} +\begin{DoxyParams}{Parámetros} +{\em buff} & Buffer donde se almacena el mensaje recibido \\ +\hline +{\em length} & Longitud del mensaje a recibir \\ +\hline +\end{DoxyParams} +\hypertarget{class_socket_a4c4ecb88d5587177899198861d29d3dd}{\index{Socket@{Socket}!Send@{Send}} +\index{Send@{Send}!Socket@{Socket}} +\subsubsection[{Send}]{\setlength{\rightskip}{0pt plus 5cm}int Socket\-::\-Send ( +\begin{DoxyParamCaption} +\item[{const char $\ast$}]{buff, } +\item[{int}]{length} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_socket_a4c4ecb88d5587177899198861d29d3dd} + + +Método para enviar un mensaje de longitud conocida. + +Este método se usa para enviar un mensaje de la longitud especifidada en el argumento y devuelve el número de bytes enviados. + +{\itshape Este método garantiza que todo el mensaje se enviará entero aunque la red no admita una longitud de paquete tan grande.} +\begin{DoxyParams}{Parámetros} +{\em buff} & Buffer con el mensaje a enviar \\ +\hline +{\em length} & Longitud del mensaje \\ +\hline +\end{DoxyParams} + + +\subsection{Documentación de los datos miembro} +\hypertarget{class_socket_a231ddf6e338a86640e26808b83efeaa1}{\index{Socket@{Socket}!sock@{sock}} +\index{sock@{sock}!Socket@{Socket}} +\subsubsection[{sock}]{\setlength{\rightskip}{0pt plus 5cm}int Socket\-::sock\hspace{0.3cm}{\ttfamily [private]}}}\label{class_socket_a231ddf6e338a86640e26808b83efeaa1} + + +Descriptor del fichero del socket. + +Esta variable contiene el file descriptor del socket abierto por el S\-O. \hypertarget{class_socket_ae4d80b83c327ed835b5f4575a499a400}{\index{Socket@{Socket}!sock\-Addr@{sock\-Addr}} +\index{sock\-Addr@{sock\-Addr}!Socket@{Socket}} +\subsubsection[{sock\-Addr}]{\setlength{\rightskip}{0pt plus 5cm}struct sockaddr\-\_\-in Socket\-::sock\-Addr\hspace{0.3cm}{\ttfamily [private]}}}\label{class_socket_ae4d80b83c327ed835b5f4575a499a400} + + +Estructura de dirección de socket. + +Este struct es usado por el S\-O para gestionar la dirección del socket abierto. + +La documentación para esta clase fue generada a partir de los siguientes ficheros\-:\begin{DoxyCompactItemize} +\item +/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\hyperlink{_socket_8h}{Socket.\-h}\item +/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/\hyperlink{_socket_8cpp}{Socket.\-cpp}\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/class_socket_exception.tex b/JChatClient/doc/latex/class_socket_exception.tex new file mode 100644 index 0000000..08d462f --- /dev/null +++ b/JChatClient/doc/latex/class_socket_exception.tex @@ -0,0 +1,86 @@ +\hypertarget{class_socket_exception}{\section{Referencia de la Clase Socket\-Exception} +\label{class_socket_exception}\index{Socket\-Exception@{Socket\-Exception}} +} + + +Clase de Excepción de Sockets. + + + + +{\ttfamily \#include $<$Socket\-Exception.\-h$>$} + +\subsection*{Métodos públicos} +\begin{DoxyCompactItemize} +\item +\hyperlink{class_socket_exception_a06573084bad8aca1443281c0970fe033}{Socket\-Exception} (string m) +\begin{DoxyCompactList}\small\item\em Constructor de la clase. \end{DoxyCompactList}\item +\hyperlink{class_socket_exception_a659557c899329aea01977c980c4db9b9}{$\sim$\-Socket\-Exception} () +\item +string \hyperlink{class_socket_exception_ae160a594055812694ac93f7118c4af1c}{description} () +\begin{DoxyCompactList}\small\item\em Getter del atributo message. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Atributos privados} +\begin{DoxyCompactItemize} +\item +string \hyperlink{class_socket_exception_a43f3472f1433552059ffeb9a251a9b76}{message} +\begin{DoxyCompactList}\small\item\em Mensaje asociado a la excepción producida. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Descripción detallada} +Clase de Excepción de Sockets. + +Definición de las excepciones lanzadas por la librería de comunicación T\-C\-P/\-I\-P + +\subsection{Documentación del constructor y destructor} +\hypertarget{class_socket_exception_a06573084bad8aca1443281c0970fe033}{\index{Socket\-Exception@{Socket\-Exception}!Socket\-Exception@{Socket\-Exception}} +\index{Socket\-Exception@{Socket\-Exception}!SocketException@{Socket\-Exception}} +\subsubsection[{Socket\-Exception}]{\setlength{\rightskip}{0pt plus 5cm}Socket\-Exception\-::\-Socket\-Exception ( +\begin{DoxyParamCaption} +\item[{string}]{m} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_socket_exception_a06573084bad8aca1443281c0970fe033} + + +Constructor de la clase. + +Inicializa el mensaje +\begin{DoxyParams}{Parámetros} +{\em m} & Mensaje inicial \\ +\hline +\end{DoxyParams} +\hypertarget{class_socket_exception_a659557c899329aea01977c980c4db9b9}{\index{Socket\-Exception@{Socket\-Exception}!$\sim$\-Socket\-Exception@{$\sim$\-Socket\-Exception}} +\index{$\sim$\-Socket\-Exception@{$\sim$\-Socket\-Exception}!SocketException@{Socket\-Exception}} +\subsubsection[{$\sim$\-Socket\-Exception}]{\setlength{\rightskip}{0pt plus 5cm}Socket\-Exception\-::$\sim$\-Socket\-Exception ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_socket_exception_a659557c899329aea01977c980c4db9b9} + + +\subsection{Documentación de las funciones miembro} +\hypertarget{class_socket_exception_ae160a594055812694ac93f7118c4af1c}{\index{Socket\-Exception@{Socket\-Exception}!description@{description}} +\index{description@{description}!SocketException@{Socket\-Exception}} +\subsubsection[{description}]{\setlength{\rightskip}{0pt plus 5cm}string Socket\-Exception\-::description ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_socket_exception_ae160a594055812694ac93f7118c4af1c} + + +Getter del atributo message. + +Devuelve el mensaje asociado a la excepción producida + +\subsection{Documentación de los datos miembro} +\hypertarget{class_socket_exception_a43f3472f1433552059ffeb9a251a9b76}{\index{Socket\-Exception@{Socket\-Exception}!message@{message}} +\index{message@{message}!SocketException@{Socket\-Exception}} +\subsubsection[{message}]{\setlength{\rightskip}{0pt plus 5cm}string Socket\-Exception\-::message\hspace{0.3cm}{\ttfamily [private]}}}\label{class_socket_exception_a43f3472f1433552059ffeb9a251a9b76} + + +Mensaje asociado a la excepción producida. + + + +La documentación para esta clase fue generada a partir del siguiente fichero\-:\begin{DoxyCompactItemize} +\item +/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\hyperlink{_socket_exception_8h}{Socket\-Exception.\-h}\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/client_8cpp.tex b/JChatClient/doc/latex/client_8cpp.tex new file mode 100644 index 0000000..a2a7a2f --- /dev/null +++ b/JChatClient/doc/latex/client_8cpp.tex @@ -0,0 +1,81 @@ +\hypertarget{client_8cpp}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/client.cpp} +\label{client_8cpp}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/client.\-cpp@{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/client.\-cpp}} +} + + +Fichero de implementación de un cliente. + + +{\ttfamily \#include \char`\"{}Socket.\-h\char`\"{}}\\* +{\ttfamily \#include $<$iostream$>$}\\* +{\ttfamily \#include \char`\"{}Socket\-Exception.\-h\char`\"{}}\\* +{\ttfamily \#include $<$sstream$>$}\\* +{\ttfamily \#include $<$signal.\-h$>$}\\* +{\ttfamily \#include $<$cstdlib$>$}\\* +{\ttfamily \#include $<$sys/time.\-h$>$}\\* +\subsection*{Funciones} +\begin{DoxyCompactItemize} +\item +void \hyperlink{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{exit\-Client} (int signal) +\begin{DoxyCompactList}\small\item\em Método para terminar el cliente. \end{DoxyCompactList}\item +void \hyperlink{client_8cpp_aad6144e222ae07102486edee29350121}{process\-C\-M\-D} (string cmd) +\item +int \hyperlink{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main} () +\begin{DoxyCompactList}\small\item\em Método principal del cliente. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Variables} +\begin{DoxyCompactItemize} +\item +bool \hyperlink{client_8cpp_ab36823025f12a809217f7771125658c2}{connected} +\end{DoxyCompactItemize} + + +\subsection{Descripción detallada} +Fichero de implementación de un cliente. \begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +13/06/2013 +\end{DoxyDate} +En este fichero se implementa un cliente para poder usar con el servidor creado, usando la clase \hyperlink{class_socket}{Socket}. + +\subsection{Documentación de las funciones} +\hypertarget{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{\index{client.\-cpp@{client.\-cpp}!exit\-Client@{exit\-Client}} +\index{exit\-Client@{exit\-Client}!client.cpp@{client.\-cpp}} +\subsubsection[{exit\-Client}]{\setlength{\rightskip}{0pt plus 5cm}void exit\-Client ( +\begin{DoxyParamCaption} +\item[{int}]{signal} +\end{DoxyParamCaption} +)}}\label{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba} + + +Método para terminar el cliente. + +Este método se usa para terminar el cliente immediatamente en el caso que el servidor cierre la conexión de forma inesperada, capturando el signal S\-I\-G\-P\-I\-P\-E. +\begin{DoxyParams}{Parámetros} +{\em signal} & Parámetro que captura el signal recibido \\ +\hline +\end{DoxyParams} +\hypertarget{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{\index{client.\-cpp@{client.\-cpp}!main@{main}} +\index{main@{main}!client.cpp@{client.\-cpp}} +\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4} + + +Método principal del cliente. + +Este método inicializa el \hyperlink{class_socket}{Socket}, establece la conexión y realiza las acciones que se le hayan programado para comunicarse con el servidor. \hypertarget{client_8cpp_aad6144e222ae07102486edee29350121}{\index{client.\-cpp@{client.\-cpp}!process\-C\-M\-D@{process\-C\-M\-D}} +\index{process\-C\-M\-D@{process\-C\-M\-D}!client.cpp@{client.\-cpp}} +\subsubsection[{process\-C\-M\-D}]{\setlength{\rightskip}{0pt plus 5cm}void process\-C\-M\-D ( +\begin{DoxyParamCaption} +\item[{string}]{cmd} +\end{DoxyParamCaption} +)}}\label{client_8cpp_aad6144e222ae07102486edee29350121} + + +\subsection{Documentación de las variables} +\hypertarget{client_8cpp_ab36823025f12a809217f7771125658c2}{\index{client.\-cpp@{client.\-cpp}!connected@{connected}} +\index{connected@{connected}!client.cpp@{client.\-cpp}} +\subsubsection[{connected}]{\setlength{\rightskip}{0pt plus 5cm}bool connected}}\label{client_8cpp_ab36823025f12a809217f7771125658c2} diff --git a/JChatClient/doc/latex/client_8dox.tex b/JChatClient/doc/latex/client_8dox.tex new file mode 100644 index 0000000..66b8117 --- /dev/null +++ b/JChatClient/doc/latex/client_8dox.tex @@ -0,0 +1,12 @@ +\hypertarget{client_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/client.dox} +\label{client_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/client.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/client.\-dox}} +} + + +\subsection{Descripción detallada} +\begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +13/06/2013 +\end{DoxyDate} diff --git a/JChatClient/doc/latex/client_code.tex b/JChatClient/doc/latex/client_code.tex new file mode 100644 index 0000000..762254a --- /dev/null +++ b/JChatClient/doc/latex/client_code.tex @@ -0,0 +1,46 @@ +Ejemplo de aplicación cliente + + +\begin{DoxyCode} +\textcolor{preprocessor}{#include "\hyperlink{_socket_8h}{Socket.h}"} +\textcolor{preprocessor}{#include } +\textcolor{preprocessor}{#include "\hyperlink{_socket_exception_8h}{SocketException.h}"} +\textcolor{preprocessor}{#include } +\textcolor{preprocessor}{#include } +\textcolor{preprocessor}{#include } +\textcolor{preprocessor}{#include } + +\textcolor{keyword}{using namespace }std; + +\textcolor{keywordtype}{void} \hyperlink{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{exitClient}(\textcolor{keywordtype}{int} signal) +\{ + cout << \textcolor{stringliteral}{"Server connection terminated unexpectedly"} << endl << \textcolor{stringliteral}{"Exiting"} << endl; + exit(-1); +\} + +\textcolor{keywordtype}{int} \hyperlink{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main}() +\{ + signal(SIGPIPE, \hyperlink{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{exitClient}); + signal(SIGINT, \hyperlink{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{exitClient}); + \hyperlink{class_socket}{Socket} s; + \textcolor{keywordtype}{string} send, recv, host; + \textcolor{keywordtype}{int} port; + s.\hyperlink{class_socket_add736ccf41f102910a2b8ac5e77eb8b1}{Create}(); + cout << \textcolor{stringliteral}{"Created socket"} << endl; + cout << \textcolor{stringliteral}{"Hostname: "}; + cin >> host; + cout << \textcolor{stringliteral}{"Port: "}; + cin >> port; + cin.ignore(); + s.\hyperlink{class_socket_aa1d074c1aa400e8bca7c7da79b036abe}{Connect}(host,port); + cout << \textcolor{stringliteral}{"Connected"} << endl; + \textcolor{keywordflow}{while}(\textcolor{keyword}{true}) + \{ + cout << \textcolor{stringliteral}{"> "}; + getline(cin,send); + s >> recv; + cout << \textcolor{stringliteral}{"Received: "} << recv << endl; + \} +\} +\end{DoxyCode} + \ No newline at end of file diff --git a/JChatClient/doc/latex/conf.tex b/JChatClient/doc/latex/conf.tex new file mode 100644 index 0000000..3151ee6 --- /dev/null +++ b/JChatClient/doc/latex/conf.tex @@ -0,0 +1,22 @@ +Descripción de la sintaxis y parámetros del fichero de configuración + +\begin{DoxyVerb} A continuación se detalla el uso del fichero de configuración del servidor. +

+\end{DoxyVerb} + \hypertarget{conf_sintax}{}\section{Sintáxis}\label{conf_sintax} +La sintaxis es muy sencilla\-: + +\begin{DoxyVerb}PARÁMETRO=VALOR \end{DoxyVerb} + \begin{DoxyVerb} donde pueden ser espacios, tabulaciones o saltos de línea. +
+\end{DoxyVerb} + \hypertarget{conf_params}{}\section{Parámetros}\label{conf_params} +A continuación se detallan los posibles parámetros y qué valores aceptan. \par + \hypertarget{conf_bind}{}\subsection{bind-\/ip}\label{conf_bind} +Contiene la dirección I\-P que será asigada al \hyperlink{class_socket}{Socket} del servidor, por tanto, la dirección donde escuchará conexiones. Acepta un string del tipo W.\-X.\-Y.\-Z donde W,X,Y,Z son números de 0 a 255. \hypertarget{conf_portnum}{}\subsection{port}\label{conf_portnum} +El puerto donde el servidor acepta conexiones. Acepta un número de 1 a 65535. \par + \par + \par + \hypertarget{conf_examples-conf}{}\section{Ejemplos}\label{conf_examples-conf} +{\ttfamily bind-\/ip = 127.\-0.\-0.\-1 \par +port = 3001 } \ No newline at end of file diff --git a/JChatClient/doc/latex/conf_8dox.tex b/JChatClient/doc/latex/conf_8dox.tex new file mode 100644 index 0000000..b4a8abb --- /dev/null +++ b/JChatClient/doc/latex/conf_8dox.tex @@ -0,0 +1,12 @@ +\hypertarget{conf_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/conf.dox} +\label{conf_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/conf.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/conf.\-dox}} +} + + +\subsection{Descripción detallada} +\begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +13/06/2013 +\end{DoxyDate} diff --git a/JChatClient/doc/latex/dir_09c6c7003a5a6c451627316e32d323da.tex b/JChatClient/doc/latex/dir_09c6c7003a5a6c451627316e32d323da.tex new file mode 100644 index 0000000..4e074f8 --- /dev/null +++ b/JChatClient/doc/latex/dir_09c6c7003a5a6c451627316e32d323da.tex @@ -0,0 +1,19 @@ +\hypertarget{dir_09c6c7003a5a6c451627316e32d323da}{\section{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src} +\label{dir_09c6c7003a5a6c451627316e32d323da}\index{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src@{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src}} +} +\subsection*{Directorios} +\begin{DoxyCompactItemize} +\item +directorio \hyperlink{dir_b94371269b479bae3e8fa897a2ece63e}{include} +\end{DoxyCompactItemize} +\subsection*{Archivos} +\begin{DoxyCompactItemize} +\item +archivo \hyperlink{client_8cpp}{client.\-cpp} +\begin{DoxyCompactList}\small\item\em Fichero de implementación de un cliente. \end{DoxyCompactList}\item +archivo \hyperlink{main__server_8cpp}{main\-\_\-server.\-cpp} +\begin{DoxyCompactList}\small\item\em Implementación del servidor. \end{DoxyCompactList}\item +archivo \hyperlink{server_8cpp}{server.\-cpp} +\begin{DoxyCompactList}\small\item\em Fichero de implementación de la clase \hyperlink{class_server}{Server}. \end{DoxyCompactList}\item +archivo \hyperlink{_socket_8cpp}{Socket.\-cpp} +\begin{DoxyCompactList}\small\item\em Fichero de implementación de la clase \hyperlink{class_socket}{Socket}. \end{DoxyCompactList}\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/dir_15c52bfb9a80984ec0ac7c94446ac4fc.tex b/JChatClient/doc/latex/dir_15c52bfb9a80984ec0ac7c94446ac4fc.tex new file mode 100644 index 0000000..12f36b4 --- /dev/null +++ b/JChatClient/doc/latex/dir_15c52bfb9a80984ec0ac7c94446ac4fc.tex @@ -0,0 +1,15 @@ +\hypertarget{dir_15c52bfb9a80984ec0ac7c94446ac4fc}{\section{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src} +\label{dir_15c52bfb9a80984ec0ac7c94446ac4fc}\index{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src@{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src}} +} +\subsection*{Directorios} +\begin{DoxyCompactItemize} +\item +directorio \hyperlink{dir_c16c2f6bdf6587439d9ad3d8f0d21517}{include} +\end{DoxyCompactItemize} +\subsection*{Archivos} +\begin{DoxyCompactItemize} +\item +archivo \hyperlink{client_8cpp}{client.\-cpp} +\begin{DoxyCompactList}\small\item\em Fichero de implementación de un cliente. \end{DoxyCompactList}\item +archivo \hyperlink{_socket_8cpp}{Socket.\-cpp} +\begin{DoxyCompactList}\small\item\em Fichero de implementación de la clase \hyperlink{class_socket}{Socket}. \end{DoxyCompactList}\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/dir_74bdbd27aa6df54b6fb8f419761ac887.tex b/JChatClient/doc/latex/dir_74bdbd27aa6df54b6fb8f419761ac887.tex new file mode 100644 index 0000000..160d156 --- /dev/null +++ b/JChatClient/doc/latex/dir_74bdbd27aa6df54b6fb8f419761ac887.tex @@ -0,0 +1,8 @@ +\hypertarget{dir_74bdbd27aa6df54b6fb8f419761ac887}{\section{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client} +\label{dir_74bdbd27aa6df54b6fb8f419761ac887}\index{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client@{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client}} +} +\subsection*{Directorios} +\begin{DoxyCompactItemize} +\item +directorio \hyperlink{dir_15c52bfb9a80984ec0ac7c94446ac4fc}{src} +\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/dir_75b82e7e4a5feb05200b9ad7adf06257.tex b/JChatClient/doc/latex/dir_75b82e7e4a5feb05200b9ad7adf06257.tex new file mode 100644 index 0000000..5fd4d99 --- /dev/null +++ b/JChatClient/doc/latex/dir_75b82e7e4a5feb05200b9ad7adf06257.tex @@ -0,0 +1,8 @@ +\hypertarget{dir_75b82e7e4a5feb05200b9ad7adf06257}{\section{Referencia del directorio /home} +\label{dir_75b82e7e4a5feb05200b9ad7adf06257}\index{Referencia del directorio /home@{Referencia del directorio /home}} +} +\subsection*{Directorios} +\begin{DoxyCompactItemize} +\item +directorio \hyperlink{dir_ade356989cf64bc7da597536eeab2615}{imanol} +\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/dir_86dc413d07e0b16a37ceb0e2a17fed53.tex b/JChatClient/doc/latex/dir_86dc413d07e0b16a37ceb0e2a17fed53.tex new file mode 100644 index 0000000..9a82ee6 --- /dev/null +++ b/JChatClient/doc/latex/dir_86dc413d07e0b16a37ceb0e2a17fed53.tex @@ -0,0 +1,8 @@ +\hypertarget{dir_86dc413d07e0b16a37ceb0e2a17fed53}{\section{Referencia del directorio /home/imanol/devel/eclipse} +\label{dir_86dc413d07e0b16a37ceb0e2a17fed53}\index{Referencia del directorio /home/imanol/devel/eclipse@{Referencia del directorio /home/imanol/devel/eclipse}} +} +\subsection*{Directorios} +\begin{DoxyCompactItemize} +\item +directorio \hyperlink{dir_c63cc34e984e21a69fd262eeef6a5cbb}{P\-A\-D} +\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/dir_8f7199732ad0be50edd1dbedbf9226de.tex b/JChatClient/doc/latex/dir_8f7199732ad0be50edd1dbedbf9226de.tex new file mode 100644 index 0000000..3256961 --- /dev/null +++ b/JChatClient/doc/latex/dir_8f7199732ad0be50edd1dbedbf9226de.tex @@ -0,0 +1,8 @@ +\hypertarget{dir_8f7199732ad0be50edd1dbedbf9226de}{\section{Referencia del directorio /home/imanol/devel} +\label{dir_8f7199732ad0be50edd1dbedbf9226de}\index{Referencia del directorio /home/imanol/devel@{Referencia del directorio /home/imanol/devel}} +} +\subsection*{Directorios} +\begin{DoxyCompactItemize} +\item +directorio \hyperlink{dir_86dc413d07e0b16a37ceb0e2a17fed53}{eclipse} +\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/dir_ade356989cf64bc7da597536eeab2615.tex b/JChatClient/doc/latex/dir_ade356989cf64bc7da597536eeab2615.tex new file mode 100644 index 0000000..0cdb3f7 --- /dev/null +++ b/JChatClient/doc/latex/dir_ade356989cf64bc7da597536eeab2615.tex @@ -0,0 +1,8 @@ +\hypertarget{dir_ade356989cf64bc7da597536eeab2615}{\section{Referencia del directorio /home/imanol} +\label{dir_ade356989cf64bc7da597536eeab2615}\index{Referencia del directorio /home/imanol@{Referencia del directorio /home/imanol}} +} +\subsection*{Directorios} +\begin{DoxyCompactItemize} +\item +directorio \hyperlink{dir_8f7199732ad0be50edd1dbedbf9226de}{devel} +\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/dir_b94371269b479bae3e8fa897a2ece63e.tex b/JChatClient/doc/latex/dir_b94371269b479bae3e8fa897a2ece63e.tex new file mode 100644 index 0000000..9094616 --- /dev/null +++ b/JChatClient/doc/latex/dir_b94371269b479bae3e8fa897a2ece63e.tex @@ -0,0 +1,12 @@ +\hypertarget{dir_b94371269b479bae3e8fa897a2ece63e}{\section{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include} +\label{dir_b94371269b479bae3e8fa897a2ece63e}\index{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include@{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include}} +} +\subsection*{Archivos} +\begin{DoxyCompactItemize} +\item +archivo \hyperlink{server_8h}{server.\-h} +\begin{DoxyCompactList}\small\item\em Header de la clase \hyperlink{class_server}{Server}. \end{DoxyCompactList}\item +archivo \hyperlink{_socket_8h}{Socket.\-h} +\begin{DoxyCompactList}\small\item\em Header de la clase \hyperlink{class_socket}{Socket}. \end{DoxyCompactList}\item +archivo \hyperlink{_socket_exception_8h}{Socket\-Exception.\-h} +\begin{DoxyCompactList}\small\item\em Header de excepción de Sockets. \end{DoxyCompactList}\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/dir_c16c2f6bdf6587439d9ad3d8f0d21517.tex b/JChatClient/doc/latex/dir_c16c2f6bdf6587439d9ad3d8f0d21517.tex new file mode 100644 index 0000000..26d4400 --- /dev/null +++ b/JChatClient/doc/latex/dir_c16c2f6bdf6587439d9ad3d8f0d21517.tex @@ -0,0 +1,12 @@ +\hypertarget{dir_c16c2f6bdf6587439d9ad3d8f0d21517}{\section{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include} +\label{dir_c16c2f6bdf6587439d9ad3d8f0d21517}\index{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include@{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include}} +} +\subsection*{Archivos} +\begin{DoxyCompactItemize} +\item +archivo \hyperlink{server_8h}{server.\-h} +\begin{DoxyCompactList}\small\item\em Header de la clase \hyperlink{class_server}{Server}. \end{DoxyCompactList}\item +archivo \hyperlink{_socket_8h}{Socket.\-h} +\begin{DoxyCompactList}\small\item\em Header de la clase \hyperlink{class_socket}{Socket}. \end{DoxyCompactList}\item +archivo \hyperlink{_socket_exception_8h}{Socket\-Exception.\-h} +\begin{DoxyCompactList}\small\item\em Header de excepción de Sockets. \end{DoxyCompactList}\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/dir_c63cc34e984e21a69fd262eeef6a5cbb.tex b/JChatClient/doc/latex/dir_c63cc34e984e21a69fd262eeef6a5cbb.tex new file mode 100644 index 0000000..23c266a --- /dev/null +++ b/JChatClient/doc/latex/dir_c63cc34e984e21a69fd262eeef6a5cbb.tex @@ -0,0 +1,8 @@ +\hypertarget{dir_c63cc34e984e21a69fd262eeef6a5cbb}{\section{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D} +\label{dir_c63cc34e984e21a69fd262eeef6a5cbb}\index{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D@{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D}} +} +\subsection*{Directorios} +\begin{DoxyCompactItemize} +\item +directorio \hyperlink{dir_74bdbd27aa6df54b6fb8f419761ac887}{J\-Chat\-Client} +\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/dir_d340535e561321e2c4ccf1a3f2b14fb9.tex b/JChatClient/doc/latex/dir_d340535e561321e2c4ccf1a3f2b14fb9.tex new file mode 100644 index 0000000..2afd033 --- /dev/null +++ b/JChatClient/doc/latex/dir_d340535e561321e2c4ccf1a3f2b14fb9.tex @@ -0,0 +1,8 @@ +\hypertarget{dir_d340535e561321e2c4ccf1a3f2b14fb9}{\section{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket} +\label{dir_d340535e561321e2c4ccf1a3f2b14fb9}\index{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket@{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket}} +} +\subsection*{Directorios} +\begin{DoxyCompactItemize} +\item +directorio \hyperlink{dir_09c6c7003a5a6c451627316e32d323da}{src} +\end{DoxyCompactItemize} diff --git a/JChatClient/doc/latex/doxygen.sty b/JChatClient/doc/latex/doxygen.sty new file mode 100644 index 0000000..3f05c24 --- /dev/null +++ b/JChatClient/doc/latex/doxygen.sty @@ -0,0 +1,484 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{doxygen} + +% Packages used by this style file +\RequirePackage{alltt} +\RequirePackage{array} +\RequirePackage{calc} +\RequirePackage{color} +\RequirePackage{fancyhdr} +\RequirePackage{longtable} +\RequirePackage{verbatim} +\RequirePackage{ifthen} +\RequirePackage{xtab} +\RequirePackage{multirow} +\RequirePackage[table]{xcolor} + +% Use helvetica font instead of times roman +\RequirePackage{helvet} +\RequirePackage{sectsty} +\RequirePackage{tocloft} +\providecommand{\rmdefault}{phv} +\providecommand{\bfdefault}{bc} + + +% Setup fancy headings +\pagestyle{fancyplain} +\newcommand{\clearemptydoublepage}{% + \newpage{\pagestyle{empty}\cleardoublepage}% +} +\renewcommand{\chaptermark}[1]{% + \markboth{#1}{}% +} +\renewcommand{\sectionmark}[1]{% + \markright{\thesection\ #1}% +} +\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} +\fancyhead[CE]{\fancyplain{}{}} +\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} +\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} +\fancyhead[CO]{\fancyplain{}{}} +\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} +\fancyfoot[LE]{\fancyplain{}{}} +\fancyfoot[CE]{\fancyplain{}{}} +\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generado el Sábado, 7 de Diciembre de 2013 01\-:45\-:57 para Socket por Doxygen }} +\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generado el Sábado, 7 de Diciembre de 2013 01\-:45\-:57 para Socket por Doxygen }} +\fancyfoot[CO]{\fancyplain{}{}} +\fancyfoot[RO]{\fancyplain{}{}} +%---------- Internal commands used in this style file ---------------- + +\newcommand\tabfill[1]{% + \dimen@\linewidth% + \advance\dimen@\@totalleftmargin% + \advance\dimen@-\dimen\@curtab% + \parbox[t]\dimen@{\raggedright #1\ifhmode\strut\fi}% +} + +\newcommand{\ensurespace}[1]{% + \begingroup + \setlength{\dimen@}{#1}% + \vskip\z@\@plus\dimen@ + \penalty -100\vskip\z@\@plus -\dimen@ + \vskip\dimen@ + \penalty 9999% + \vskip -\dimen@ + \vskip\z@skip % hide the previous |\vskip| from |\addvspace| + \endgroup +} + +% Generic environment used by all paragraph-based environments defined +% below. Note that the command \title{...} needs to be defined inside +% those environments! +\newenvironment{DoxyDesc}[1]{% + \ensurespace{4\baselineskip}% + \begin{list}{}% + {% + \settowidth{\labelwidth}{40pt}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\parsep}{0pt}% + \setlength{\itemsep}{-4pt}% + \renewcommand{\makelabel}{\entrylabel}% + }% + \item[#1]% +}{% + \end{list}% +} + +%---------- Commands used by doxygen LaTeX output generator ---------- + +% Used by
 ... 
+\newenvironment{DoxyPre}{% + \small% + \begin{alltt}% +}{% + \end{alltt}% + \normalsize% +} + +% Used by @code ... @endcode +\newenvironment{DoxyCode}{% + + +\begin{scriptsize}\begin{alltt}% +}{% +\end{alltt}\end{scriptsize}% +} + +% Used by @example, @include, @includelineno and @dontinclude +\newenvironment{DoxyCodeInclude}{% + \DoxyCode% +}{% + \endDoxyCode% +} + +% Used by @verbatim ... @endverbatim +\newenvironment{DoxyVerb}{% + \footnotesize% + \verbatim% +}{% + \endverbatim% + \normalsize% +} + +% Used by @verbinclude +\newenvironment{DoxyVerbInclude}{% + \DoxyVerb% +}{% + \endDoxyVerb% +} + +% Used by numbered lists (using '-#' or
    ...
) +\newenvironment{DoxyEnumerate}{% + \enumerate% +}{% + \endenumerate% +} + +% Used by bullet lists (using '-', @li, @arg, or
    ...
) +\newenvironment{DoxyItemize}{% + \itemize% +}{% + \enditemize% +} + +% Used by description lists (using
...
) +\newenvironment{DoxyDescription}{% + \description% +}{% + \enddescription% +} + +% Used by @image, @dotfile, and @dot ... @enddot +% (only if caption is specified) +\newenvironment{DoxyImage}{% + \begin{figure}[H]% + \begin{center}% +}{% + \end{center}% + \end{figure}% +} + +% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc +% (only if no caption is specified) +\newenvironment{DoxyImageNoCaption}{% +}{% +} + +% Used by @attention +\newenvironment{DoxyAttention}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @author and @authors +\newenvironment{DoxyAuthor}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @date +\newenvironment{DoxyDate}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @invariant +\newenvironment{DoxyInvariant}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @note +\newenvironment{DoxyNote}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @post +\newenvironment{DoxyPostcond}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @pre +\newenvironment{DoxyPrecond}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @copyright +\newenvironment{DoxyCopyright}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @remark +\newenvironment{DoxyRemark}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @return +\newenvironment{DoxyReturn}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @since +\newenvironment{DoxySince}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @see +\newenvironment{DoxySeeAlso}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @version +\newenvironment{DoxyVersion}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @warning +\newenvironment{DoxyWarning}[1]{% + \begin{DoxyDesc}{#1}% +}{% + \end{DoxyDesc}% +} + +% Used by @internal +\newenvironment{DoxyInternal}[1]{% + \paragraph*{#1}% +}{% +} + +% Used by @par and @paragraph +\newenvironment{DoxyParagraph}[1]{% + \begin{list}{}% + {% + \settowidth{\labelwidth}{40pt}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\parsep}{0pt}% + \setlength{\itemsep}{-4pt}% + \renewcommand{\makelabel}{\entrylabel}% + }% + \item[#1]% +}{% + \end{list}% +} + +% Used by parameter lists +\newenvironment{DoxyParams}[2][]{% + \begin{DoxyDesc}{#2}% + \item[] \hspace{\fill} \vspace{-40pt}% + \settowidth{\labelwidth}{40pt}% + \setlength{\LTleft}{0pt}% + \setlength{\tabcolsep}{0.01\textwidth}% + \ifthenelse{\equal{#1}{}}% + {\begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.815\textwidth}|}}% + {\ifthenelse{\equal{#1}{1}}% + {\begin{longtable}{|>{\centering}p{0.10\textwidth}|% + >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.685\textwidth}|}}% + {\begin{longtable}{|>{\centering}p{0.10\textwidth}|% + >{\centering\hspace{0pt}}p{0.15\textwidth}|% + >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.515\textwidth}|}}% + }\hline% +}{% + \end{longtable}% + \end{DoxyDesc}% +} + +% Used for fields of simple structs +\newenvironment{DoxyFields}[1]{% + \begin{DoxyDesc}{#1}% + \item[] \hspace{\fill} \vspace{-40pt}% + \settowidth{\labelwidth}{40pt}% + \setlength{\LTleft}{0pt}% + \setlength{\tabcolsep}{0.01\textwidth}% + \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% + p{0.15\textwidth}|% + p{0.635\textwidth}|}% + \hline% +}{% + \end{longtable}% + \end{DoxyDesc}% +} + +% is used for parameters within a detailed function description +\newenvironment{DoxyParamCaption}{% + \renewcommand{\item}[2][]{##1 {\em ##2}}% + }{% +} + +% Used by return value lists +\newenvironment{DoxyRetVals}[1]{% + \begin{DoxyDesc}{#1}% + \begin{description}% + \item[] \hspace{\fill} \vspace{-25pt}% + \setlength{\tabcolsep}{0.01\textwidth}% + \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% + p{0.705\textwidth}|}% + \hline% +}{% + \end{longtable}% + \end{description}% + \end{DoxyDesc}% +} + +% Used by exception lists +\newenvironment{DoxyExceptions}[1]{% + \begin{DoxyDesc}{#1}% + \begin{description}% + \item[] \hspace{\fill} \vspace{-25pt}% + \definecolor{tableShade}{HTML}{F8F8F8}% + \rowcolors{1}{white}{tableShade}% + \arrayrulecolor{gray}% + \setlength{\tabcolsep}{0.01\textwidth}% + \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% + p{0.705\textwidth}|}% + \hline% +}{% + \end{longtable}% + \end{description}% + \end{DoxyDesc}% +} + +% Used by template parameter lists +\newenvironment{DoxyTemplParams}[1]{% + \begin{DoxyDesc}{#1}% + \begin{description}% + \item[] \hspace{\fill} \vspace{-25pt}% + \definecolor{tableShade}{HTML}{F8F8F8}% + \rowcolors{1}{white}{tableShade}% + \arrayrulecolor{gray}% + \setlength{\tabcolsep}{0.01\textwidth}% + \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% + p{0.705\textwidth}|}% + \hline% +}{% + \end{longtable}% + \end{description}% + \end{DoxyDesc}% +} + +\newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} +\newenvironment{DoxyCompactList} +{\begin{list}{}{ + \setlength{\leftmargin}{0.5cm} + \setlength{\itemsep}{0pt} + \setlength{\parsep}{0pt} + \setlength{\topsep}{0pt} + \renewcommand{\makelabel}{\hfill}}} +{\end{list}} +\newenvironment{DoxyCompactItemize} +{ + \begin{itemize} + \setlength{\itemsep}{-3pt} + \setlength{\parsep}{0pt} + \setlength{\topsep}{0pt} + \setlength{\partopsep}{0pt} +} +{\end{itemize}} +\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} +\newlength{\tmplength} +\newenvironment{TabularC}[1] +{ +\setlength{\tmplength} + {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} + \par\begin{xtabular*}{\linewidth} + {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} +} +{\end{xtabular*}\par} +\newcommand{\entrylabel}[1]{ + {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{% + \usefont{OT1}{phv}{bc}{n}\color{darkgray}#1}\vspace{1.5\baselineskip}}}} +\newenvironment{Desc} +{\begin{list}{} + { + \settowidth{\labelwidth}{40pt} + \setlength{\leftmargin}{\labelwidth} + \setlength{\parsep}{0pt} + \setlength{\itemsep}{-4pt} + \renewcommand{\makelabel}{\entrylabel} + } +} +{\end{list}} +\newsavebox{\xrefbox} +\newlength{\xreflength} +\newcommand{\xreflabel}[1]{% + \sbox{\xrefbox}{#1}% + \setlength{\xreflength}{\wd\xrefbox}% + \ifthenelse{\xreflength>\labelwidth}{% + \begin{minipage}{\textwidth}% + \setlength{\parindent}{0pt}% + \hangindent=15pt\bfseries #1\vspace{1.2\itemsep}% + \end{minipage}% + }{% + \parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}% + }}% +\newenvironment{DoxyRefList}{% + \begin{list}{}{% + \setlength{\labelwidth}{10pt}% + \setlength{\leftmargin}{\labelwidth}% + \addtolength{\leftmargin}{\labelsep}% + \renewcommand{\makelabel}{\xreflabel}% + }% + }% +{\end{list}} +\newenvironment{DoxyRefDesc}[1] +{\begin{list}{}{% + \renewcommand\makelabel[1]{\textbf{##1}} + \settowidth\labelwidth{\makelabel{#1}} + \setlength\leftmargin{\labelwidth+\labelsep}}} +{\end{list}} +\newenvironment{Indent} + {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} + \item[]\ignorespaces} + {\unskip\end{list}} +\setlength{\parindent}{0cm} +\setlength{\parskip}{0.2cm} +\addtocounter{secnumdepth}{2} +\usepackage[T1]{fontenc} +\makeatletter +\renewcommand{\paragraph}{\@startsection{paragraph}{4}{0ex}% + {-1.0ex}% + {1.0ex}% + {\usefont{OT1}{phv}{bc}{n}\color{darkgray}}} +\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{0ex}% + {-1.0ex}% + {1.0ex}% + {\usefont{OT1}{phv}{bc}{n}\color{darkgray}}} +\makeatother +\allsectionsfont{\usefont{OT1}{phv}{bc}{n}\selectfont\color{darkgray}} +\stepcounter{secnumdepth} +\stepcounter{tocdepth} +\definecolor{comment}{rgb}{0.5,0.0,0.0} +\definecolor{keyword}{rgb}{0.0,0.5,0.0} +\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} +\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} +\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} +\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} +\definecolor{charliteral}{rgb}{0.0,0.5,0.5} +\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} +\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} +\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} +\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} diff --git a/JChatClient/doc/latex/files.tex b/JChatClient/doc/latex/files.tex new file mode 100644 index 0000000..16ce1e2 --- /dev/null +++ b/JChatClient/doc/latex/files.tex @@ -0,0 +1,8 @@ +\section{Lista de archivos} +Lista de todos los archivos con descripciones breves\-:\begin{DoxyCompactList} +\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/\hyperlink{client_8cpp}{client.\-cpp} \\*Fichero de implementación de un cliente }{\pageref{client_8cpp}}{} +\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/\hyperlink{_socket_8cpp}{Socket.\-cpp} \\*Fichero de implementación de la clase \hyperlink{class_socket}{Socket} }{\pageref{_socket_8cpp}}{} +\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\hyperlink{server_8h}{server.\-h} \\*Header de la clase \hyperlink{class_server}{Server} }{\pageref{server_8h}}{} +\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\hyperlink{_socket_8h}{Socket.\-h} \\*Header de la clase \hyperlink{class_socket}{Socket} }{\pageref{_socket_8h}}{} +\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\hyperlink{_socket_exception_8h}{Socket\-Exception.\-h} \\*Header de excepción de Sockets }{\pageref{_socket_exception_8h}}{} +\end{DoxyCompactList} diff --git a/JChatClient/doc/latex/howto.tex b/JChatClient/doc/latex/howto.tex new file mode 100644 index 0000000..5ca84f7 --- /dev/null +++ b/JChatClient/doc/latex/howto.tex @@ -0,0 +1,57 @@ +Descripción de funcionamiento y uso de la librería. + +\begin{DoxyVerb} A continuación se desglosan las instrucciones para el desarrollo con esta libería y su posterior uso. +

+\end{DoxyVerb} + \hypertarget{howto_proto}{}\section{Descripción del protocolo}\label{howto_proto} +En las comunicaciones con Sockets hay un problema, es fácil saber la longitud del mensaje que vas a enviar, pero cuesta saber la longitud del mensaje que deseas recibir, ya que la transmisión se puede detener por llegar al fin del mensaje o bien por que hay problemas en la red. + +Los sockets de U\-N\-I\-X nos dan una solución, que es usar llamadas no bloqueantes para recibir el mensaje, es decir\-: Si leo de un socket, y no he llenado el buffer donde guardo los datos que recibo de allí, la aplicación no se bloquea esperando recibir la suficiente cantidad de datos. A su vez, se usan llamadas a la función \href{http://linux.die.net/man/2/select}{\tt select()} para comprovar si hay datos disponibles a para leer o la conexión está terminada. + +Esto requiere uso de la forks e ir haciendo encuesta (polling) al socket, cosa que consume más recursos del sistema. + +Debido a la complejidad añadida que supone hacerlo por esta vía, ya que la librería usa threads que son más ligeros para el sistema y la memoria R\-A\-M; se ha optado por implementar un sencillísimo protocolo de comunicación que no supone gasto de computación y repercute de forma nímia en el rendimiento de la transferencia. + +\par + \hypertarget{howto_plain}{}\subsection{Modo en texto llano}\label{howto_plain} +Este modo transmite los carácteres de texto sin ningún tipo de encriptación, por lo tanto son totalmente visibles para cualquier agente intermedio. Sin embargo, el modo sin encriptación es más rápido y ofrece el doble de velocidad de transferencia aproximadamente. \par + \hypertarget{howto_send}{}\subsection{Envío/\-Recepción de mensajes}\label{howto_send} +El mensaje se transmite de la siguiente forma\-: + + +\begin{DoxyEnumerate} +\item Bob le quiere mandar a Alice un mensaje, primero primero pone el número de carácteres (bytes) que ocupa el mensaje en forma de string terminado con carácter N\-U\-L\-L ('\textbackslash{}0') y lo manda. +\item Bob transmite el mensaje íntegro. +\item Alice lee uno a uno los carácteres del socket hasta encontrar un carácter N\-U\-L\-L ('\textbackslash{}0'), entonces lee lo que ha recibido, que es la longitud del mensaje real. +\item Alice pasa a extraer los N bytes que ha leído que recibiría y obtiene el mensaje final. \par + \par + \par + +\end{DoxyEnumerate}\hypertarget{howto_compile}{}\section{Compilación}\label{howto_compile} +A continuación se detallan las opciones e instrucciones necesarias para compilar esta librería. \par + \hypertarget{howto_defines}{}\subsection{Opciones de compilación}\label{howto_defines} +Los siguientes \#defines establecen la configuración en tiempo de compilación +\begin{DoxyItemize} +\item R\-S\-A\-L\-E\-N\-G\-T\-H \-: La longitud de la llave R\-S\-A que se usará. +\item A\-E\-S\-L\-E\-N\-G\-T\-H \-: La longitud de la llave A\-E\-S que se usará. +\item \hyperlink{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd}{C\-O\-N\-F\-F\-I\-L\-E} \-: La ruta absoluta o relativa al fichero de configuración del servidor (véase\-: conf). +\item P\-U\-B\-L\-I\-C\-K\-E\-Y \-: La ruta absoluta o relativa a la llave pública R\-S\-A. Existe en \hyperlink{server_8h}{server.\-h} y \hyperlink{client_8cpp}{client.\-cpp} +\item P\-R\-I\-V\-A\-T\-E\-K\-E\-Y \-: La ruta absoluta o relativa a la llave pública R\-S\-A. Existe en \hyperlink{server_8h}{server.\-h} y \hyperlink{client_8cpp}{client.\-cpp} \par + +\end{DoxyItemize}\hypertarget{howto_flags}{}\subsection{Flags de compilación y librerías}\label{howto_flags} +Flags de compilación necesarios\-: +\begin{DoxyItemize} +\item -\/\-I/carpeta/con/cabeceras\-\_\-de/crypto++ -\/\-I/carpeta/con/cabeceras/de\-\_\-la/librería/\-Socket +\item -\/\-L/carpeta/con/la\-\_\-librería/crypto++ +\item -\/lcryptopp -\/lpthread +\end{DoxyItemize} + +Véase\-: makefile \par + \par + \par + \hypertarget{howto_examples}{}\section{Ejemplos}\label{howto_examples} +A continuación se detalla el código para programar una aplicación servidor cliente sencilla \par + \hypertarget{howto_server}{}\subsection{Programar un cliente}\label{howto_server} +Véase\-: \hyperlink{client_code}{Client} \par + \par + \ No newline at end of file diff --git a/JChatClient/doc/latex/howto_8dox.tex b/JChatClient/doc/latex/howto_8dox.tex new file mode 100644 index 0000000..3fdaa9c --- /dev/null +++ b/JChatClient/doc/latex/howto_8dox.tex @@ -0,0 +1,12 @@ +\hypertarget{howto_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/howto.dox} +\label{howto_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/howto.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/howto.\-dox}} +} + + +\subsection{Descripción detallada} +\begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +13/06/2013 +\end{DoxyDate} diff --git a/JChatClient/doc/latex/index.tex b/JChatClient/doc/latex/index.tex new file mode 100644 index 0000000..38ba912 --- /dev/null +++ b/JChatClient/doc/latex/index.tex @@ -0,0 +1,14 @@ +La librería \hyperlink{class_socket}{Socket} es una implementación de comunicación con Sockets T\-C\-P/\-I\-P en \href{http://linux.org}{\tt G\-N\-U/\-Linux}. + +El objetivo principal de esta librería es abstraer toda la capa de comunicación al programador, lo único que debe hacer es guardar los datos a enviar en un contenedor S\-T\-L del tipo \href{http://www.cplusplus.com/reference/string/string/}{\tt std\-::string} y enviarlo a una instancia debidamente incializada de la clase \hyperlink{class_socket}{Socket}. Este se encarga de inicializar los sockets, atender las conexiones o realizar nuevas, etc. + +Para más información, consultar el \hyperlink{howto}{H\-O\-W\-T\-O} \par +\par + + +\begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +11/06/2013 +\end{DoxyDate} diff --git a/JChatClient/doc/latex/main__server_8cpp.tex b/JChatClient/doc/latex/main__server_8cpp.tex new file mode 100644 index 0000000..407a9db --- /dev/null +++ b/JChatClient/doc/latex/main__server_8cpp.tex @@ -0,0 +1,155 @@ +\hypertarget{main__server_8cpp}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/main\-\_\-server.cpp} +\label{main__server_8cpp}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/main\-\_\-server.\-cpp@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/main\-\_\-server.\-cpp}} +} + + +Implementación del servidor. + + +{\ttfamily \#include \char`\"{}server.\-h\char`\"{}}\\* +{\ttfamily \#include $<$sys/types.\-h$>$}\\* +{\ttfamily \#include $<$unistd.\-h$>$}\\* +{\ttfamily \#include $<$sstream$>$}\\* +\subsection*{Funciones} +\begin{DoxyCompactItemize} +\item +void \hyperlink{main__server_8cpp_ab99831172d1d4bca2c79bb37c7c062df}{kill\-Thread} (\hyperlink{structthread__args}{thread\-\_\-args} $\ast$t\-\_\-arg) +\begin{DoxyCompactList}\small\item\em Método de finalización de Threads. \end{DoxyCompactList}\item +void $\ast$ \hyperlink{main__server_8cpp_a7d13c650ec7a525ad17cabba4f371745}{Worker\-Thread} (void $\ast$args) +\begin{DoxyCompactList}\small\item\em Método gestión de conexiones. \end{DoxyCompactList}\item +void \hyperlink{main__server_8cpp_a5ee86dec2f1282750e7b1da928d45dbc}{stop\-Server} (int signal) +\begin{DoxyCompactList}\small\item\em Método de detención del servidor. \end{DoxyCompactList}\item +void \hyperlink{main__server_8cpp_aa6328bc358b87d3e11c3f460d6427c5b}{process\-Text} (string $\ast$str) +\begin{DoxyCompactList}\small\item\em Método auxiliar de procesado de texto. \end{DoxyCompactList}\item +bool \hyperlink{main__server_8cpp_a4f850f08d755a0d0ebe936b5b84975e3}{read\-Conf} (string $\ast$ip, int $\ast$port) +\begin{DoxyCompactList}\small\item\em Método de lectura de configuración. \end{DoxyCompactList}\item +int \hyperlink{main__server_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main} () +\begin{DoxyCompactList}\small\item\em Método principal del servidor. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Variables} +\begin{DoxyCompactItemize} +\item +\hyperlink{class_server}{Server} $\ast$ \hyperlink{main__server_8cpp_ab6b71e6574fcb2d2e0a5c2af08a2799f}{serv} +\begin{DoxyCompactList}\small\item\em Instancia de la clase \hyperlink{class_server}{Server}. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Descripción detallada} +Implementación del servidor. \begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +13/06/2013 +\end{DoxyDate} +En este fichero se implementa un servidor T\-C\-P/\-I\-P usando las clases \hyperlink{class_socket}{Socket} y \hyperlink{class_server}{Server}. + +\subsection{Documentación de las funciones} +\hypertarget{main__server_8cpp_ab99831172d1d4bca2c79bb37c7c062df}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!kill\-Thread@{kill\-Thread}} +\index{kill\-Thread@{kill\-Thread}!main_server.cpp@{main\-\_\-server.\-cpp}} +\subsubsection[{kill\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}void kill\-Thread ( +\begin{DoxyParamCaption} +\item[{{\bf thread\-\_\-args} $\ast$}]{t\-\_\-arg} +\end{DoxyParamCaption} +)}}\label{main__server_8cpp_ab99831172d1d4bca2c79bb37c7c062df} + + +Método de finalización de Threads. + +Éste método se ejecuta para liberar la memoria de los argumentos del thread y mandarlo a la pila de threads terminados. +\begin{DoxyParams}{Parámetros} +{\em t\-\_\-arg} & Puntero al struct que contiene los argumentos del thread \\ +\hline +\end{DoxyParams} +\hypertarget{main__server_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!main@{main}} +\index{main@{main}!main_server.cpp@{main\-\_\-server.\-cpp}} +\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main ( +\begin{DoxyParamCaption} +{} +\end{DoxyParamCaption} +)}}\label{main__server_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4} + + +Método principal del servidor. + +Lee la configuración usando \hyperlink{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{read\-Conf()} y incializa el servidor. \hypertarget{main__server_8cpp_aa6328bc358b87d3e11c3f460d6427c5b}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!process\-Text@{process\-Text}} +\index{process\-Text@{process\-Text}!main_server.cpp@{main\-\_\-server.\-cpp}} +\subsubsection[{process\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void process\-Text ( +\begin{DoxyParamCaption} +\item[{string $\ast$}]{str} +\end{DoxyParamCaption} +)}}\label{main__server_8cpp_aa6328bc358b87d3e11c3f460d6427c5b} + + +Método auxiliar de procesado de texto. + +Éste método usa para procesar las entradas de texto del fichero de configuración para adaptarlas a un formato adecuado. + +{\itshape De momento se limita a eliminar whitespace (tabulaciones, saltos de línea y espacios).} +\begin{DoxyParams}{Parámetros} +{\em str} & Línea de texto a procesar \\ +\hline +\end{DoxyParams} +\hypertarget{main__server_8cpp_a4f850f08d755a0d0ebe936b5b84975e3}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!read\-Conf@{read\-Conf}} +\index{read\-Conf@{read\-Conf}!main_server.cpp@{main\-\_\-server.\-cpp}} +\subsubsection[{read\-Conf}]{\setlength{\rightskip}{0pt plus 5cm}bool read\-Conf ( +\begin{DoxyParamCaption} +\item[{string $\ast$}]{ip, } +\item[{int $\ast$}]{port} +\end{DoxyParamCaption} +)}}\label{main__server_8cpp_a4f850f08d755a0d0ebe936b5b84975e3} + + +Método de lectura de configuración. + +Éste método lee el fichero de configuración espeficado para obtener parámetros de configuración para el funcionamiento del servidor. +\begin{DoxyParams}{Parámetros} +{\em ip} & Puntero donde se almacena la I\-P leída \\ +\hline +{\em port} & Puntero donde se almacena el puerto leído \\ +\hline +\end{DoxyParams} +\hypertarget{main__server_8cpp_a5ee86dec2f1282750e7b1da928d45dbc}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!stop\-Server@{stop\-Server}} +\index{stop\-Server@{stop\-Server}!main_server.cpp@{main\-\_\-server.\-cpp}} +\subsubsection[{stop\-Server}]{\setlength{\rightskip}{0pt plus 5cm}void stop\-Server ( +\begin{DoxyParamCaption} +\item[{int}]{signal} +\end{DoxyParamCaption} +)}}\label{main__server_8cpp_a5ee86dec2f1282750e7b1da928d45dbc} + + +Método de detención del servidor. + +Este método detiene el servidor al recibir el signal S\-I\-G\-I\-N\-T del S\-O. +\begin{DoxyParams}{Parámetros} +{\em signal} & Parámetro que captura el signal recibido \\ +\hline +\end{DoxyParams} +\hypertarget{main__server_8cpp_a7d13c650ec7a525ad17cabba4f371745}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!Worker\-Thread@{Worker\-Thread}} +\index{Worker\-Thread@{Worker\-Thread}!main_server.cpp@{main\-\_\-server.\-cpp}} +\subsubsection[{Worker\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ Worker\-Thread ( +\begin{DoxyParamCaption} +\item[{void $\ast$}]{args} +\end{DoxyParamCaption} +)}}\label{main__server_8cpp_a7d13c650ec7a525ad17cabba4f371745} + + +Método gestión de conexiones. + +Éste método es el que los threads ejecutan al crearse, aquí es donde se define el comportamiento del servidor, ya que cada conexión se gestionará como aquí se detalla. + +{\itshape Por defecto, el comportamiento que lleva programado es el de un servidor \char`\"{}echo\char`\"{}, esperará que el cliente le envíe un mensaje y responderá con el mismo mensaje.} +\begin{DoxyParams}{Parámetros} +{\em args} & Puntero al struct de los argumentos del thread casteado a tipo void$\ast$ \\ +\hline +\end{DoxyParams} + + +\subsection{Documentación de las variables} +\hypertarget{main__server_8cpp_ab6b71e6574fcb2d2e0a5c2af08a2799f}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!serv@{serv}} +\index{serv@{serv}!main_server.cpp@{main\-\_\-server.\-cpp}} +\subsubsection[{serv}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Server}$\ast$ serv}}\label{main__server_8cpp_ab6b71e6574fcb2d2e0a5c2af08a2799f} + + +Instancia de la clase \hyperlink{class_server}{Server}. + +Esta variable contiene la instancia de la clase \hyperlink{class_server}{Server} que aquí se usa e inicializa. + +{\itshape Se trata de una variable global para poder así usarla en las funciones que reciban signals del S\-O.} \ No newline at end of file diff --git a/JChatClient/doc/latex/mainpage_8dox.tex b/JChatClient/doc/latex/mainpage_8dox.tex new file mode 100644 index 0000000..7109ec5 --- /dev/null +++ b/JChatClient/doc/latex/mainpage_8dox.tex @@ -0,0 +1,3 @@ +\hypertarget{mainpage_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/mainpage.dox} +\label{mainpage_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/mainpage.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/mainpage.\-dox}} +} diff --git a/JChatClient/doc/latex/makefile_8dox.tex b/JChatClient/doc/latex/makefile_8dox.tex new file mode 100644 index 0000000..c37c088 --- /dev/null +++ b/JChatClient/doc/latex/makefile_8dox.tex @@ -0,0 +1,3 @@ +\hypertarget{makefile_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/makefile.dox} +\label{makefile_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/makefile.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/makefile.\-dox}} +} diff --git a/JChatClient/doc/latex/refman.aux b/JChatClient/doc/latex/refman.aux new file mode 100644 index 0000000..138abaf --- /dev/null +++ b/JChatClient/doc/latex/refman.aux @@ -0,0 +1,265 @@ +\relax +\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument} +\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined +\global\let\oldcontentsline\contentsline +\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} +\global\let\oldnewlabel\newlabel +\gdef\newlabel#1#2{\newlabelxx{#1}#2} +\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} +\AtEndDocument{\ifx\hyper@anchor\@undefined +\let\contentsline\oldcontentsline +\let\newlabel\oldnewlabel +\fi} +\fi} +\global\let\hyper@last\relax +\gdef\HyperFirstAtBeginDocument#1{#1} +\providecommand\HyField@AuxAddToFields[1]{} +\catcode`"\active +\catcode`<\active +\catcode`>\active +\@nameuse{es@quoting} +\select@language{spanish} +\@writefile{toc}{\select@language{spanish}} +\@writefile{lof}{\select@language{spanish}} +\@writefile{lot}{\select@language{spanish}} +\@writefile{toc}{\contentsline {chapter}{\numberline {1}P\IeC {\'a}gina principal}{1}{chapter.1}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\newlabel{index}{{1}{1}{Página principal\relax }{chapter.1}{}} +\@writefile{toc}{\contentsline {chapter}{\numberline {2}Client}{3}{chapter.2}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\newlabel{client_code}{{2}{3}{Client\relax }{chapter.2}{}} +\@writefile{toc}{\contentsline {chapter}{\numberline {3}H\discretionary {-}{}{}O\discretionary {-}{}{}W\discretionary {-}{}{}T\discretionary {-}{}{}O}{5}{chapter.3}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\newlabel{howto}{{3}{5}{H\-O\-W\-T\-O\relax }{chapter.3}{}} +\@writefile{toc}{\contentsline {section}{\numberline {3.1}Descripci\IeC {\'o}n del protocolo}{5}{section.3.1}} +\newlabel{howto_proto}{{3.1}{5}{Descripción del protocolo\relax }{section.3.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.1}Modo en texto llano}{5}{subsection.3.1.1}} +\newlabel{howto_plain}{{3.1.1}{5}{Modo en texto llano\relax }{subsection.3.1.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.2}Env\IeC {\'\i }o/\discretionary {-}{}{}Recepci\IeC {\'o}n de mensajes}{5}{subsection.3.1.2}} +\newlabel{howto_send}{{3.1.2}{5}{Envío/\-Recepción de mensajes\relax }{subsection.3.1.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {3.2}Compilaci\IeC {\'o}n}{6}{section.3.2}} +\newlabel{howto_compile}{{3.2}{6}{Compilación\relax }{section.3.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}Opciones de compilaci\IeC {\'o}n}{6}{subsection.3.2.1}} +\newlabel{howto_defines}{{3.2.1}{6}{Opciones de compilación\relax }{subsection.3.2.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.2}Flags de compilaci\IeC {\'o}n y librer\IeC {\'\i }as}{6}{subsection.3.2.2}} +\newlabel{howto_flags}{{3.2.2}{6}{Flags de compilación y librerías\relax }{subsection.3.2.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {3.3}Ejemplos}{6}{section.3.3}} +\newlabel{howto_examples}{{3.3}{6}{Ejemplos\relax }{section.3.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.1}Programar un cliente}{6}{subsection.3.3.1}} +\newlabel{howto_server}{{3.3.1}{6}{Programar un cliente\relax }{subsection.3.3.1}{}} +\@writefile{toc}{\contentsline {chapter}{\numberline {4}\IeC {\'I}ndice de clases}{7}{chapter.4}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {4.1}Lista de clases}{7}{section.4.1}} +\@writefile{toc}{\contentsline {chapter}{\numberline {5}Indice de archivos}{9}{chapter.5}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {5.1}Lista de archivos}{9}{section.5.1}} +\@writefile{toc}{\contentsline {chapter}{\numberline {6}Documentaci\IeC {\'o}n de las clases}{11}{chapter.6}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {6.1}Referencia de la Clase Server}{11}{section.6.1}} +\newlabel{class_server}{{6.1}{11}{Referencia de la Clase Server\relax }{section.6.1}{}} +\gdef \LT@i {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.1.1}Descripci\IeC {\'o}n detallada}{12}{subsection.6.1.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.1.2}Documentaci\IeC {\'o}n del constructor y destructor}{12}{subsection.6.1.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.2.1}Server}{12}{subsubsection.6.1.2.1}} +\newlabel{class_server_ad5ec9462b520e59f7ea831e157ee5e59}{{6.1.2.1}{12}{Server\relax }{subsubsection.6.1.2.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.1.3}Documentaci\IeC {\'o}n de las funciones miembro}{12}{subsection.6.1.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.3.1}free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M}{12}{subsubsection.6.1.3.1}} +\newlabel{class_server_a018bee9f1e342d9f349765187d89becd}{{6.1.3.1}{12}{free\-R\-A\-M\relax }{subsubsection.6.1.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.3.2}get\discretionary {-}{}{}N\discretionary {-}{}{}Workers}{12}{subsubsection.6.1.3.2}} +\newlabel{class_server_acf13ac1f7fc49f28c1b1fa76eab209ab}{{6.1.3.2}{12}{get\-N\-Workers\relax }{subsubsection.6.1.3.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.3.3}get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads}{12}{subsubsection.6.1.3.3}} +\newlabel{class_server_aea36a7c64710f7d6e852a72a124b61bb}{{6.1.3.3}{12}{get\-Started\-Threads\relax }{subsubsection.6.1.3.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.3.4}get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads}{12}{subsubsection.6.1.3.4}} +\newlabel{class_server_a266d431df0fc72ae28a9a865e4d0aa5d}{{6.1.3.4}{12}{get\-Stopped\-Threads\relax }{subsubsection.6.1.3.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.3.5}request\discretionary {-}{}{}Exit}{12}{subsubsection.6.1.3.5}} +\newlabel{class_server_a74769349252c1ad61717b156e42d61d3}{{6.1.3.5}{12}{request\-Exit\relax }{subsubsection.6.1.3.5}{}} +\gdef \LT@ii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@iii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.3.6}set\discretionary {-}{}{}N\discretionary {-}{}{}Workers}{13}{subsubsection.6.1.3.6}} +\newlabel{class_server_a0090663c66f1f371f8b1aa87c5f49623}{{6.1.3.6}{13}{set\-N\-Workers\relax }{subsubsection.6.1.3.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.3.7}start\discretionary {-}{}{}Server}{13}{subsubsection.6.1.3.7}} +\newlabel{class_server_aef89851f83a9bbe4459c46b6c7906e1f}{{6.1.3.7}{13}{start\-Server\relax }{subsubsection.6.1.3.7}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.1.4}Documentaci\IeC {\'o}n de los datos miembro}{13}{subsection.6.1.4}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.4.1}n\discretionary {-}{}{}Workers}{13}{subsubsection.6.1.4.1}} +\newlabel{class_server_a690955b1e335072c061df67014a6e698}{{6.1.4.1}{13}{n\-Workers\relax }{subsubsection.6.1.4.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.4.2}shutdown\discretionary {-}{}{}Server}{13}{subsubsection.6.1.4.2}} +\newlabel{class_server_aa9231b38adc787954a13f04372de8ed2}{{6.1.4.2}{13}{shutdown\-Server\relax }{subsubsection.6.1.4.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.4.3}ss}{13}{subsubsection.6.1.4.3}} +\newlabel{class_server_af9e1a6848bdd627741b85e75777e3b45}{{6.1.4.3}{13}{ss\relax }{subsubsection.6.1.4.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.4.4}started\discretionary {-}{}{}Threads}{13}{subsubsection.6.1.4.4}} +\newlabel{class_server_a40fdc13e227f651943e0aa3757824396}{{6.1.4.4}{13}{started\-Threads\relax }{subsubsection.6.1.4.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.4.5}stopped\discretionary {-}{}{}Threads}{14}{subsubsection.6.1.4.5}} +\newlabel{class_server_a36a18616b526f3053a1036641a62cb0a}{{6.1.4.5}{14}{stopped\-Threads\relax }{subsubsection.6.1.4.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.1.4.6}worker\discretionary {-}{}{}I\discretionary {-}{}{}D}{14}{subsubsection.6.1.4.6}} +\newlabel{class_server_ae10d91b60157ccfcc06cc463e8443007}{{6.1.4.6}{14}{worker\-I\-D\relax }{subsubsection.6.1.4.6}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.2}Referencia de la Clase Socket}{14}{section.6.2}} +\newlabel{class_socket}{{6.2}{14}{Referencia de la Clase Socket\relax }{section.6.2}{}} +\gdef \LT@iv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@v {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.1}Descripci\IeC {\'o}n detallada}{15}{subsection.6.2.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.2}Documentaci\IeC {\'o}n del constructor y destructor}{15}{subsection.6.2.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.2.1}Socket}{15}{subsubsection.6.2.2.1}} +\newlabel{class_socket_a7c3256c4fc6e2c603df73201049fae5a}{{6.2.2.1}{15}{Socket\relax }{subsubsection.6.2.2.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.3}Documentaci\IeC {\'o}n de las funciones miembro}{15}{subsection.6.2.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.3.1}Accept}{15}{subsubsection.6.2.3.1}} +\newlabel{class_socket_a25cdd79546b8e7e49f2195208ae6d00c}{{6.2.3.1}{15}{Accept\relax }{subsubsection.6.2.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.3.2}Bind}{15}{subsubsection.6.2.3.2}} +\newlabel{class_socket_afdc52c70cf11911cc1a3c595a7849cf0}{{6.2.3.2}{15}{Bind\relax }{subsubsection.6.2.3.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.3.3}Close}{15}{subsubsection.6.2.3.3}} +\newlabel{class_socket_a4c8ced9a8ce58834191b3b4f2033b173}{{6.2.3.3}{15}{Close\relax }{subsubsection.6.2.3.3}{}} +\gdef \LT@vi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@vii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@viii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@ix {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.3.4}Connect}{16}{subsubsection.6.2.3.4}} +\newlabel{class_socket_aa1d074c1aa400e8bca7c7da79b036abe}{{6.2.3.4}{16}{Connect\relax }{subsubsection.6.2.3.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.3.5}Create}{16}{subsubsection.6.2.3.5}} +\newlabel{class_socket_add736ccf41f102910a2b8ac5e77eb8b1}{{6.2.3.5}{16}{Create\relax }{subsubsection.6.2.3.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.3.6}get\discretionary {-}{}{}Sock}{16}{subsubsection.6.2.3.6}} +\newlabel{class_socket_abc14da0faa1d00fe361eeede1b3cda4a}{{6.2.3.6}{16}{get\-Sock\relax }{subsubsection.6.2.3.6}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.3.7}Listen}{16}{subsubsection.6.2.3.7}} +\newlabel{class_socket_a4d476d11854d7acb17b8d196c8171865}{{6.2.3.7}{16}{Listen\relax }{subsubsection.6.2.3.7}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.3.8}operator$<$$<$}{16}{subsubsection.6.2.3.8}} +\newlabel{class_socket_a5beab0c84c933510a53126f786cff6de}{{6.2.3.8}{16}{operator$<$$<$\relax }{subsubsection.6.2.3.8}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.3.9}operator$>$$>$}{16}{subsubsection.6.2.3.9}} +\newlabel{class_socket_ab6b2dffea36c60c53f8d5e539f1cf000}{{6.2.3.9}{16}{operator$>$$>$\relax }{subsubsection.6.2.3.9}{}} +\gdef \LT@x {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.3.10}Receive}{17}{subsubsection.6.2.3.10}} +\newlabel{class_socket_aa1a8b143bb2adf57934156d9e33b8611}{{6.2.3.10}{17}{Receive\relax }{subsubsection.6.2.3.10}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.3.11}Send}{17}{subsubsection.6.2.3.11}} +\newlabel{class_socket_a4c4ecb88d5587177899198861d29d3dd}{{6.2.3.11}{17}{Send\relax }{subsubsection.6.2.3.11}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.4}Documentaci\IeC {\'o}n de los datos miembro}{17}{subsection.6.2.4}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.4.1}sock}{17}{subsubsection.6.2.4.1}} +\newlabel{class_socket_a231ddf6e338a86640e26808b83efeaa1}{{6.2.4.1}{17}{sock\relax }{subsubsection.6.2.4.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.2.4.2}sock\discretionary {-}{}{}Addr}{17}{subsubsection.6.2.4.2}} +\newlabel{class_socket_ae4d80b83c327ed835b5f4575a499a400}{{6.2.4.2}{17}{sock\-Addr\relax }{subsubsection.6.2.4.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.3}Referencia de la Clase Socket\discretionary {-}{}{}Exception}{17}{section.6.3}} +\newlabel{class_socket_exception}{{6.3}{17}{Referencia de la Clase Socket\-Exception\relax }{section.6.3}{}} +\gdef \LT@xii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.1}Descripci\IeC {\'o}n detallada}{18}{subsection.6.3.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.2}Documentaci\IeC {\'o}n del constructor y destructor}{18}{subsection.6.3.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.3.2.1}Socket\discretionary {-}{}{}Exception}{18}{subsubsection.6.3.2.1}} +\newlabel{class_socket_exception_a06573084bad8aca1443281c0970fe033}{{6.3.2.1}{18}{Socket\-Exception\relax }{subsubsection.6.3.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.3.2.2}$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception}{18}{subsubsection.6.3.2.2}} +\newlabel{class_socket_exception_a659557c899329aea01977c980c4db9b9}{{6.3.2.2}{18}{$\sim $\-Socket\-Exception\relax }{subsubsection.6.3.2.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.3}Documentaci\IeC {\'o}n de las funciones miembro}{18}{subsection.6.3.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.3.3.1}description}{18}{subsubsection.6.3.3.1}} +\newlabel{class_socket_exception_ae160a594055812694ac93f7118c4af1c}{{6.3.3.1}{18}{description\relax }{subsubsection.6.3.3.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.3.4}Documentaci\IeC {\'o}n de los datos miembro}{18}{subsection.6.3.4}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.3.4.1}message}{18}{subsubsection.6.3.4.1}} +\newlabel{class_socket_exception_a43f3472f1433552059ffeb9a251a9b76}{{6.3.4.1}{18}{message\relax }{subsubsection.6.3.4.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {6.4}Referencia de la Estructura thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}{18}{section.6.4}} +\newlabel{structthread__args}{{6.4}{18}{Referencia de la Estructura thread\-\_\-args\relax }{section.6.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Descripci\IeC {\'o}n detallada}{19}{subsection.6.4.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {6.4.2}Documentaci\IeC {\'o}n de los datos miembro}{19}{subsection.6.4.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.4.2.1}condition}{19}{subsubsection.6.4.2.1}} +\newlabel{structthread__args_a96ee28beaed4175257db3d8794245f25}{{6.4.2.1}{19}{condition\relax }{subsubsection.6.4.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.4.2.2}id}{19}{subsubsection.6.4.2.2}} +\newlabel{structthread__args_a6322b3468fd88f8f49977a6439e9f352}{{6.4.2.2}{19}{id\relax }{subsubsection.6.4.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.4.2.3}mutex}{19}{subsubsection.6.4.2.3}} +\newlabel{structthread__args_ad5d64499f5f6e2df467c96b52a94c520}{{6.4.2.3}{19}{mutex\relax }{subsubsection.6.4.2.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.4.2.4}s}{20}{subsubsection.6.4.2.4}} +\newlabel{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{{6.4.2.4}{20}{s\relax }{subsubsection.6.4.2.4}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.4.2.5}serv}{20}{subsubsection.6.4.2.5}} +\newlabel{structthread__args_ab29508135b033282f374d0fb47028fbd}{{6.4.2.5}{20}{serv\relax }{subsubsection.6.4.2.5}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {6.4.2.6}thread}{20}{subsubsection.6.4.2.6}} +\newlabel{structthread__args_acdcd2db4307e5e75d5110067e196a70e}{{6.4.2.6}{20}{thread\relax }{subsubsection.6.4.2.6}{}} +\@writefile{toc}{\contentsline {chapter}{\numberline {7}Documentaci\IeC {\'o}n de archivos}{21}{chapter.7}} +\@writefile{lof}{\addvspace {10\p@ }} +\@writefile{lot}{\addvspace {10\p@ }} +\@writefile{toc}{\contentsline {section}{\numberline {7.1}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/client.cpp}{21}{section.7.1}} +\newlabel{client_8cpp}{{7.1}{21}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/client.cpp\relax }{section.7.1}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.1.1}Descripci\IeC {\'o}n detallada}{21}{subsection.7.1.1}} +\gdef \LT@xiii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.1.2}Documentaci\IeC {\'o}n de las funciones}{22}{subsection.7.1.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.1.2.1}exit\discretionary {-}{}{}Client}{22}{subsubsection.7.1.2.1}} +\newlabel{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{{7.1.2.1}{22}{exit\-Client\relax }{subsubsection.7.1.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.1.2.2}main}{22}{subsubsection.7.1.2.2}} +\newlabel{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{{7.1.2.2}{22}{main\relax }{subsubsection.7.1.2.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.1.2.3}process\discretionary {-}{}{}C\discretionary {-}{}{}M\discretionary {-}{}{}D}{22}{subsubsection.7.1.2.3}} +\newlabel{client_8cpp_aad6144e222ae07102486edee29350121}{{7.1.2.3}{22}{process\-C\-M\-D\relax }{subsubsection.7.1.2.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.1.3}Documentaci\IeC {\'o}n de las variables}{22}{subsection.7.1.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.1.3.1}connected}{22}{subsubsection.7.1.3.1}} +\newlabel{client_8cpp_ab36823025f12a809217f7771125658c2}{{7.1.3.1}{22}{connected\relax }{subsubsection.7.1.3.1}{}} +\@writefile{toc}{\contentsline {section}{\numberline {7.2}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/client.dox}{22}{section.7.2}} +\newlabel{client_8dox}{{7.2}{22}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/client.dox\relax }{section.7.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.2.1}Descripci\IeC {\'o}n detallada}{22}{subsection.7.2.1}} +\@writefile{toc}{\contentsline {section}{\numberline {7.3}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/howto.dox}{22}{section.7.3}} +\newlabel{howto_8dox}{{7.3}{22}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/howto.dox\relax }{section.7.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.3.1}Descripci\IeC {\'o}n detallada}{22}{subsection.7.3.1}} +\@writefile{toc}{\contentsline {section}{\numberline {7.4}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/server.h}{22}{section.7.4}} +\newlabel{server_8h}{{7.4}{22}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/server.h\relax }{section.7.4}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.1}Descripci\IeC {\'o}n detallada}{23}{subsection.7.4.1}} +\gdef \LT@xiv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xv {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\gdef \LT@xvi {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.2}Documentaci\IeC {\'o}n de los 'defines'}{24}{subsection.7.4.2}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.4.2.1}C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E}{24}{subsubsection.7.4.2.1}} +\newlabel{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd}{{7.4.2.1}{24}{C\-O\-N\-F\-F\-I\-L\-E\relax }{subsubsection.7.4.2.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.4.2.2}N}{24}{subsubsection.7.4.2.2}} +\newlabel{server_8h_a0240ac851181b84ac374872dc5434ee4}{{7.4.2.2}{24}{N\relax }{subsubsection.7.4.2.2}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.4.3}Documentaci\IeC {\'o}n de las funciones}{24}{subsection.7.4.3}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.4.3.1}kill\discretionary {-}{}{}Thread}{24}{subsubsection.7.4.3.1}} +\newlabel{server_8h_ab99831172d1d4bca2c79bb37c7c062df}{{7.4.3.1}{24}{kill\-Thread\relax }{subsubsection.7.4.3.1}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.4.3.2}process\discretionary {-}{}{}Text}{24}{subsubsection.7.4.3.2}} +\newlabel{server_8h_aa6328bc358b87d3e11c3f460d6427c5b}{{7.4.3.2}{24}{process\-Text\relax }{subsubsection.7.4.3.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.4.3.3}read\discretionary {-}{}{}Conf}{24}{subsubsection.7.4.3.3}} +\newlabel{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{{7.4.3.3}{24}{read\-Conf\relax }{subsubsection.7.4.3.3}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {7.4.3.4}Worker\discretionary {-}{}{}Thread}{24}{subsubsection.7.4.3.4}} +\newlabel{server_8h_a7d13c650ec7a525ad17cabba4f371745}{{7.4.3.4}{24}{Worker\-Thread\relax }{subsubsection.7.4.3.4}{}} +\gdef \LT@xvii {\LT@entry + {1}{78.18367pt}\LT@entry + {1}{380.5249pt}} +\@writefile{toc}{\contentsline {section}{\numberline {7.5}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/\discretionary {-}{}{}Socket.h}{25}{section.7.5}} +\newlabel{_socket_8h}{{7.5}{25}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\-Socket.h\relax }{section.7.5}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.5.1}Descripci\IeC {\'o}n detallada}{25}{subsection.7.5.1}} +\@writefile{toc}{\contentsline {section}{\numberline {7.6}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception.h}{25}{section.7.6}} +\newlabel{_socket_exception_8h}{{7.6}{25}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\-Socket\-Exception.h\relax }{section.7.6}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.6.1}Descripci\IeC {\'o}n detallada}{26}{subsection.7.6.1}} +\@writefile{toc}{\contentsline {section}{\numberline {7.7}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/mainpage.dox}{26}{section.7.7}} +\newlabel{mainpage_8dox}{{7.7}{26}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/mainpage.dox\relax }{section.7.7}{}} +\@writefile{toc}{\contentsline {section}{\numberline {7.8}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/makefile.dox}{26}{section.7.8}} +\newlabel{makefile_8dox}{{7.8}{26}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/makefile.dox\relax }{section.7.8}{}} +\@writefile{toc}{\contentsline {section}{\numberline {7.9}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/\discretionary {-}{}{}Socket.cpp}{26}{section.7.9}} +\newlabel{_socket_8cpp}{{7.9}{26}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/\-Socket.cpp\relax }{section.7.9}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {7.9.1}Descripci\IeC {\'o}n detallada}{26}{subsection.7.9.1}} +\@writefile{toc}{\contentsline {part}{\IeC {\'I}ndice}{26}{subsection.7.9.1}} diff --git a/JChatClient/doc/latex/refman.idx b/JChatClient/doc/latex/refman.idx new file mode 100644 index 0000000..530589e --- /dev/null +++ b/JChatClient/doc/latex/refman.idx @@ -0,0 +1,109 @@ +\indexentry{Server@{Server}|hyperpage}{11} +\indexentry{Server@{Server}!Server@{Server}|hyperpage}{12} +\indexentry{Server@{Server}!Server@{Server}|hyperpage}{12} +\indexentry{Server@{Server}!free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M@{free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M}|hyperpage}{12} +\indexentry{free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M@{free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M}!Server@{Server}|hyperpage}{12} +\indexentry{Server@{Server}!get\discretionary {-}{}{}N\discretionary {-}{}{}Workers@{get\discretionary {-}{}{}N\discretionary {-}{}{}Workers}|hyperpage}{12} +\indexentry{get\discretionary {-}{}{}N\discretionary {-}{}{}Workers@{get\discretionary {-}{}{}N\discretionary {-}{}{}Workers}!Server@{Server}|hyperpage}{12} +\indexentry{Server@{Server}!get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads@{get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads}|hyperpage}{12} +\indexentry{get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads@{get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads}!Server@{Server}|hyperpage}{12} +\indexentry{Server@{Server}!get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads@{get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads}|hyperpage}{12} +\indexentry{get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads@{get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads}!Server@{Server}|hyperpage}{12} +\indexentry{Server@{Server}!request\discretionary {-}{}{}Exit@{request\discretionary {-}{}{}Exit}|hyperpage}{12} +\indexentry{request\discretionary {-}{}{}Exit@{request\discretionary {-}{}{}Exit}!Server@{Server}|hyperpage}{12} +\indexentry{Server@{Server}!set\discretionary {-}{}{}N\discretionary {-}{}{}Workers@{set\discretionary {-}{}{}N\discretionary {-}{}{}Workers}|hyperpage}{13} +\indexentry{set\discretionary {-}{}{}N\discretionary {-}{}{}Workers@{set\discretionary {-}{}{}N\discretionary {-}{}{}Workers}!Server@{Server}|hyperpage}{13} +\indexentry{Server@{Server}!start\discretionary {-}{}{}Server@{start\discretionary {-}{}{}Server}|hyperpage}{13} +\indexentry{start\discretionary {-}{}{}Server@{start\discretionary {-}{}{}Server}!Server@{Server}|hyperpage}{13} +\indexentry{Server@{Server}!n\discretionary {-}{}{}Workers@{n\discretionary {-}{}{}Workers}|hyperpage}{13} +\indexentry{n\discretionary {-}{}{}Workers@{n\discretionary {-}{}{}Workers}!Server@{Server}|hyperpage}{13} +\indexentry{Server@{Server}!shutdown\discretionary {-}{}{}Server@{shutdown\discretionary {-}{}{}Server}|hyperpage}{13} +\indexentry{shutdown\discretionary {-}{}{}Server@{shutdown\discretionary {-}{}{}Server}!Server@{Server}|hyperpage}{13} +\indexentry{Server@{Server}!ss@{ss}|hyperpage}{13} +\indexentry{ss@{ss}!Server@{Server}|hyperpage}{13} +\indexentry{Server@{Server}!started\discretionary {-}{}{}Threads@{started\discretionary {-}{}{}Threads}|hyperpage}{13} +\indexentry{started\discretionary {-}{}{}Threads@{started\discretionary {-}{}{}Threads}!Server@{Server}|hyperpage}{13} +\indexentry{Server@{Server}!stopped\discretionary {-}{}{}Threads@{stopped\discretionary {-}{}{}Threads}|hyperpage}{13} +\indexentry{stopped\discretionary {-}{}{}Threads@{stopped\discretionary {-}{}{}Threads}!Server@{Server}|hyperpage}{13} +\indexentry{Server@{Server}!worker\discretionary {-}{}{}I\discretionary {-}{}{}D@{worker\discretionary {-}{}{}I\discretionary {-}{}{}D}|hyperpage}{14} +\indexentry{worker\discretionary {-}{}{}I\discretionary {-}{}{}D@{worker\discretionary {-}{}{}I\discretionary {-}{}{}D}!Server@{Server}|hyperpage}{14} +\indexentry{Socket@{Socket}|hyperpage}{14} +\indexentry{Socket@{Socket}!Socket@{Socket}|hyperpage}{15} +\indexentry{Socket@{Socket}!Socket@{Socket}|hyperpage}{15} +\indexentry{Socket@{Socket}!Accept@{Accept}|hyperpage}{15} +\indexentry{Accept@{Accept}!Socket@{Socket}|hyperpage}{15} +\indexentry{Socket@{Socket}!Bind@{Bind}|hyperpage}{15} +\indexentry{Bind@{Bind}!Socket@{Socket}|hyperpage}{15} +\indexentry{Socket@{Socket}!Close@{Close}|hyperpage}{15} +\indexentry{Close@{Close}!Socket@{Socket}|hyperpage}{15} +\indexentry{Socket@{Socket}!Connect@{Connect}|hyperpage}{15} +\indexentry{Connect@{Connect}!Socket@{Socket}|hyperpage}{15} +\indexentry{Socket@{Socket}!Create@{Create}|hyperpage}{16} +\indexentry{Create@{Create}!Socket@{Socket}|hyperpage}{16} +\indexentry{Socket@{Socket}!get\discretionary {-}{}{}Sock@{get\discretionary {-}{}{}Sock}|hyperpage}{16} +\indexentry{get\discretionary {-}{}{}Sock@{get\discretionary {-}{}{}Sock}!Socket@{Socket}|hyperpage}{16} +\indexentry{Socket@{Socket}!Listen@{Listen}|hyperpage}{16} +\indexentry{Listen@{Listen}!Socket@{Socket}|hyperpage}{16} +\indexentry{Socket@{Socket}!operator$<$$<$@{operator$<$$<$}|hyperpage}{16} +\indexentry{operator$<$$<$@{operator$<$$<$}!Socket@{Socket}|hyperpage}{16} +\indexentry{Socket@{Socket}!operator$>$$>$@{operator$>$$>$}|hyperpage}{16} +\indexentry{operator$>$$>$@{operator$>$$>$}!Socket@{Socket}|hyperpage}{16} +\indexentry{Socket@{Socket}!Receive@{Receive}|hyperpage}{16} +\indexentry{Receive@{Receive}!Socket@{Socket}|hyperpage}{16} +\indexentry{Socket@{Socket}!Send@{Send}|hyperpage}{17} +\indexentry{Send@{Send}!Socket@{Socket}|hyperpage}{17} +\indexentry{Socket@{Socket}!sock@{sock}|hyperpage}{17} +\indexentry{sock@{sock}!Socket@{Socket}|hyperpage}{17} +\indexentry{Socket@{Socket}!sock\discretionary {-}{}{}Addr@{sock\discretionary {-}{}{}Addr}|hyperpage}{17} +\indexentry{sock\discretionary {-}{}{}Addr@{sock\discretionary {-}{}{}Addr}!Socket@{Socket}|hyperpage}{17} +\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}|hyperpage}{17} +\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}!Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}|hyperpage}{18} +\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}!SocketException@{Socket\discretionary {-}{}{}Exception}|hyperpage}{18} +\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}!$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception@{$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception}|hyperpage}{18} +\indexentry{$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception@{$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception}!SocketException@{Socket\discretionary {-}{}{}Exception}|hyperpage}{18} +\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}!description@{description}|hyperpage}{18} +\indexentry{description@{description}!SocketException@{Socket\discretionary {-}{}{}Exception}|hyperpage}{18} +\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}!message@{message}|hyperpage}{18} +\indexentry{message@{message}!SocketException@{Socket\discretionary {-}{}{}Exception}|hyperpage}{18} +\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{18} +\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!condition@{condition}|hyperpage}{19} +\indexentry{condition@{condition}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{19} +\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!id@{id}|hyperpage}{19} +\indexentry{id@{id}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{19} +\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!mutex@{mutex}|hyperpage}{19} +\indexentry{mutex@{mutex}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{19} +\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!s@{s}|hyperpage}{19} +\indexentry{s@{s}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{19} +\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!serv@{serv}|hyperpage}{20} +\indexentry{serv@{serv}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{20} +\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!thread@{thread}|hyperpage}{20} +\indexentry{thread@{thread}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{20} +\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/client.\discretionary {-}{}{}cpp@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/client.\discretionary {-}{}{}cpp}|hyperpage}{21} +\indexentry{client.\discretionary {-}{}{}cpp@{client.\discretionary {-}{}{}cpp}!exit\discretionary {-}{}{}Client@{exit\discretionary {-}{}{}Client}|hyperpage}{22} +\indexentry{exit\discretionary {-}{}{}Client@{exit\discretionary {-}{}{}Client}!client.cpp@{client.\discretionary {-}{}{}cpp}|hyperpage}{22} +\indexentry{client.\discretionary {-}{}{}cpp@{client.\discretionary {-}{}{}cpp}!main@{main}|hyperpage}{22} +\indexentry{main@{main}!client.cpp@{client.\discretionary {-}{}{}cpp}|hyperpage}{22} +\indexentry{client.\discretionary {-}{}{}cpp@{client.\discretionary {-}{}{}cpp}!process\discretionary {-}{}{}C\discretionary {-}{}{}M\discretionary {-}{}{}D@{process\discretionary {-}{}{}C\discretionary {-}{}{}M\discretionary {-}{}{}D}|hyperpage}{22} +\indexentry{process\discretionary {-}{}{}C\discretionary {-}{}{}M\discretionary {-}{}{}D@{process\discretionary {-}{}{}C\discretionary {-}{}{}M\discretionary {-}{}{}D}!client.cpp@{client.\discretionary {-}{}{}cpp}|hyperpage}{22} +\indexentry{client.\discretionary {-}{}{}cpp@{client.\discretionary {-}{}{}cpp}!connected@{connected}|hyperpage}{22} +\indexentry{connected@{connected}!client.cpp@{client.\discretionary {-}{}{}cpp}|hyperpage}{22} +\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/client.\discretionary {-}{}{}dox@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/client.\discretionary {-}{}{}dox}|hyperpage}{22} +\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/howto.\discretionary {-}{}{}dox@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/howto.\discretionary {-}{}{}dox}|hyperpage}{22} +\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/server.\discretionary {-}{}{}h@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/server.\discretionary {-}{}{}h}|hyperpage}{22} +\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E@{C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E}|hyperpage}{24} +\indexentry{C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E@{C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{24} +\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!N@{N}|hyperpage}{24} +\indexentry{N@{N}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{24} +\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!kill\discretionary {-}{}{}Thread@{kill\discretionary {-}{}{}Thread}|hyperpage}{24} +\indexentry{kill\discretionary {-}{}{}Thread@{kill\discretionary {-}{}{}Thread}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{24} +\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!process\discretionary {-}{}{}Text@{process\discretionary {-}{}{}Text}|hyperpage}{24} +\indexentry{process\discretionary {-}{}{}Text@{process\discretionary {-}{}{}Text}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{24} +\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!read\discretionary {-}{}{}Conf@{read\discretionary {-}{}{}Conf}|hyperpage}{24} +\indexentry{read\discretionary {-}{}{}Conf@{read\discretionary {-}{}{}Conf}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{24} +\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!Worker\discretionary {-}{}{}Thread@{Worker\discretionary {-}{}{}Thread}|hyperpage}{24} +\indexentry{Worker\discretionary {-}{}{}Thread@{Worker\discretionary {-}{}{}Thread}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{24} +\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/\discretionary {-}{}{}Socket.\discretionary {-}{}{}h@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/\discretionary {-}{}{}Socket.\discretionary {-}{}{}h}|hyperpage}{25} +\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception.\discretionary {-}{}{}h@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception.\discretionary {-}{}{}h}|hyperpage}{25} +\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/mainpage.\discretionary {-}{}{}dox@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/mainpage.\discretionary {-}{}{}dox}|hyperpage}{26} +\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/makefile.\discretionary {-}{}{}dox@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/makefile.\discretionary {-}{}{}dox}|hyperpage}{26} +\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/\discretionary {-}{}{}Socket.\discretionary {-}{}{}cpp@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/\discretionary {-}{}{}Socket.\discretionary {-}{}{}cpp}|hyperpage}{26} diff --git a/JChatClient/doc/latex/refman.ilg b/JChatClient/doc/latex/refman.ilg new file mode 100644 index 0000000..cc23f5d --- /dev/null +++ b/JChatClient/doc/latex/refman.ilg @@ -0,0 +1,6 @@ +This is makeindex, version 2.15 [TeX Live 2012] (kpathsea + Thai support). +Scanning input file refman.idx....done (109 entries accepted, 0 rejected). +Sorting entries....done (750 comparisons). +Generating output file refman.ind....done (237 lines written, 0 warnings). +Output written in refman.ind. +Transcript written in refman.ilg. diff --git a/JChatClient/doc/latex/refman.ind b/JChatClient/doc/latex/refman.ind new file mode 100644 index 0000000..46cdc61 --- /dev/null +++ b/JChatClient/doc/latex/refman.ind @@ -0,0 +1,237 @@ +\begin{theindex} + + \item {$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception} + \subitem {Socket\discretionary {-}{}{}Exception}, \hyperpage{18} + \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/\discretionary {-}{}{}Socket.\discretionary {-}{}{}cpp}, + \hyperpage{26} + \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/client.\discretionary {-}{}{}cpp}, + \hyperpage{21} + \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/client.\discretionary {-}{}{}dox}, + \hyperpage{22} + \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/howto.\discretionary {-}{}{}dox}, + \hyperpage{22} + \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/\discretionary {-}{}{}Socket.\discretionary {-}{}{}h}, + \hyperpage{25} + \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception.\discretionary {-}{}{}h}, + \hyperpage{25} + \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/server.\discretionary {-}{}{}h}, + \hyperpage{22} + \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/mainpage.\discretionary {-}{}{}dox}, + \hyperpage{26} + \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/makefile.\discretionary {-}{}{}dox}, + \hyperpage{26} + + \indexspace + + \item {Accept} + \subitem {Socket}, \hyperpage{15} + + \indexspace + + \item {Bind} + \subitem {Socket}, \hyperpage{15} + + \indexspace + + \item {C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E} + \subitem {server.\discretionary {-}{}{}h}, \hyperpage{24} + \item {client.\discretionary {-}{}{}cpp} + \subitem {connected}, \hyperpage{22} + \subitem {exit\discretionary {-}{}{}Client}, \hyperpage{22} + \subitem {main}, \hyperpage{22} + \subitem {process\discretionary {-}{}{}C\discretionary {-}{}{}M\discretionary {-}{}{}D}, + \hyperpage{22} + \item {Close} + \subitem {Socket}, \hyperpage{15} + \item {condition} + \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, + \hyperpage{19} + \item {Connect} + \subitem {Socket}, \hyperpage{15} + \item {connected} + \subitem {client.\discretionary {-}{}{}cpp}, \hyperpage{22} + \item {Create} + \subitem {Socket}, \hyperpage{16} + + \indexspace + + \item {description} + \subitem {Socket\discretionary {-}{}{}Exception}, \hyperpage{18} + + \indexspace + + \item {exit\discretionary {-}{}{}Client} + \subitem {client.\discretionary {-}{}{}cpp}, \hyperpage{22} + + \indexspace + + \item {free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M} + \subitem {Server}, \hyperpage{12} + + \indexspace + + \item {get\discretionary {-}{}{}N\discretionary {-}{}{}Workers} + \subitem {Server}, \hyperpage{12} + \item {get\discretionary {-}{}{}Sock} + \subitem {Socket}, \hyperpage{16} + \item {get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads} + \subitem {Server}, \hyperpage{12} + \item {get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads} + \subitem {Server}, \hyperpage{12} + + \indexspace + + \item {id} + \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, + \hyperpage{19} + + \indexspace + + \item {kill\discretionary {-}{}{}Thread} + \subitem {server.\discretionary {-}{}{}h}, \hyperpage{24} + + \indexspace + + \item {Listen} + \subitem {Socket}, \hyperpage{16} + + \indexspace + + \item {main} + \subitem {client.\discretionary {-}{}{}cpp}, \hyperpage{22} + \item {message} + \subitem {Socket\discretionary {-}{}{}Exception}, \hyperpage{18} + \item {mutex} + \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, + \hyperpage{19} + + \indexspace + + \item {N} + \subitem {server.\discretionary {-}{}{}h}, \hyperpage{24} + \item {n\discretionary {-}{}{}Workers} + \subitem {Server}, \hyperpage{13} + + \indexspace + + \item {operator$<$$<$} + \subitem {Socket}, \hyperpage{16} + \item {operator$>$$>$} + \subitem {Socket}, \hyperpage{16} + + \indexspace + + \item {process\discretionary {-}{}{}C\discretionary {-}{}{}M\discretionary {-}{}{}D} + \subitem {client.\discretionary {-}{}{}cpp}, \hyperpage{22} + \item {process\discretionary {-}{}{}Text} + \subitem {server.\discretionary {-}{}{}h}, \hyperpage{24} + + \indexspace + + \item {read\discretionary {-}{}{}Conf} + \subitem {server.\discretionary {-}{}{}h}, \hyperpage{24} + \item {Receive} + \subitem {Socket}, \hyperpage{16} + \item {request\discretionary {-}{}{}Exit} + \subitem {Server}, \hyperpage{12} + + \indexspace + + \item {s} + \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, + \hyperpage{19} + \item {Send} + \subitem {Socket}, \hyperpage{17} + \item {serv} + \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, + \hyperpage{20} + \item {Server}, \hyperpage{11} + \subitem {free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M}, + \hyperpage{12} + \subitem {get\discretionary {-}{}{}N\discretionary {-}{}{}Workers}, + \hyperpage{12} + \subitem {get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads}, + \hyperpage{12} + \subitem {get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads}, + \hyperpage{12} + \subitem {n\discretionary {-}{}{}Workers}, \hyperpage{13} + \subitem {request\discretionary {-}{}{}Exit}, \hyperpage{12} + \subitem {Server}, \hyperpage{12} + \subitem {set\discretionary {-}{}{}N\discretionary {-}{}{}Workers}, + \hyperpage{13} + \subitem {shutdown\discretionary {-}{}{}Server}, \hyperpage{13} + \subitem {ss}, \hyperpage{13} + \subitem {start\discretionary {-}{}{}Server}, \hyperpage{13} + \subitem {started\discretionary {-}{}{}Threads}, \hyperpage{13} + \subitem {stopped\discretionary {-}{}{}Threads}, \hyperpage{13} + \subitem {worker\discretionary {-}{}{}I\discretionary {-}{}{}D}, + \hyperpage{14} + \item {server.\discretionary {-}{}{}h} + \subitem {C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E}, + \hyperpage{24} + \subitem {kill\discretionary {-}{}{}Thread}, \hyperpage{24} + \subitem {N}, \hyperpage{24} + \subitem {process\discretionary {-}{}{}Text}, \hyperpage{24} + \subitem {read\discretionary {-}{}{}Conf}, \hyperpage{24} + \subitem {Worker\discretionary {-}{}{}Thread}, \hyperpage{24} + \item {set\discretionary {-}{}{}N\discretionary {-}{}{}Workers} + \subitem {Server}, \hyperpage{13} + \item {shutdown\discretionary {-}{}{}Server} + \subitem {Server}, \hyperpage{13} + \item {sock} + \subitem {Socket}, \hyperpage{17} + \item {sock\discretionary {-}{}{}Addr} + \subitem {Socket}, \hyperpage{17} + \item {Socket}, \hyperpage{14} + \subitem {Accept}, \hyperpage{15} + \subitem {Bind}, \hyperpage{15} + \subitem {Close}, \hyperpage{15} + \subitem {Connect}, \hyperpage{15} + \subitem {Create}, \hyperpage{16} + \subitem {get\discretionary {-}{}{}Sock}, \hyperpage{16} + \subitem {Listen}, \hyperpage{16} + \subitem {operator$<$$<$}, \hyperpage{16} + \subitem {operator$>$$>$}, \hyperpage{16} + \subitem {Receive}, \hyperpage{16} + \subitem {Send}, \hyperpage{17} + \subitem {sock}, \hyperpage{17} + \subitem {sock\discretionary {-}{}{}Addr}, \hyperpage{17} + \subitem {Socket}, \hyperpage{15} + \item {Socket\discretionary {-}{}{}Exception}, \hyperpage{17} + \subitem {$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception}, + \hyperpage{18} + \subitem {description}, \hyperpage{18} + \subitem {message}, \hyperpage{18} + \subitem {Socket\discretionary {-}{}{}Exception}, \hyperpage{18} + \subitem {Socket\discretionary {-}{}{}Exception}, \hyperpage{18} + \item {ss} + \subitem {Server}, \hyperpage{13} + \item {start\discretionary {-}{}{}Server} + \subitem {Server}, \hyperpage{13} + \item {started\discretionary {-}{}{}Threads} + \subitem {Server}, \hyperpage{13} + \item {stopped\discretionary {-}{}{}Threads} + \subitem {Server}, \hyperpage{13} + + \indexspace + + \item {thread} + \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, + \hyperpage{20} + \item {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, + \hyperpage{18} + \subitem {condition}, \hyperpage{19} + \subitem {id}, \hyperpage{19} + \subitem {mutex}, \hyperpage{19} + \subitem {s}, \hyperpage{19} + \subitem {serv}, \hyperpage{20} + \subitem {thread}, \hyperpage{20} + + \indexspace + + \item {worker\discretionary {-}{}{}I\discretionary {-}{}{}D} + \subitem {Server}, \hyperpage{14} + \item {Worker\discretionary {-}{}{}Thread} + \subitem {server.\discretionary {-}{}{}h}, \hyperpage{24} + +\end{theindex} diff --git a/JChatClient/doc/latex/refman.log b/JChatClient/doc/latex/refman.log new file mode 100644 index 0000000..66ba0a8 --- /dev/null +++ b/JChatClient/doc/latex/refman.log @@ -0,0 +1,1533 @@ +This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) (format=pdflatex 2013.8.1) 7 DEC 2013 01:45 +entering extended mode + restricted \write18 enabled. + %&-line parsing enabled. +**refman +(./refman.tex +LaTeX2e <2011/06/27> +Babel and hyphenation patterns for english, dumylang, nohyphenation, lo +aded. +(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls +Document Class: book 2007/10/19 v1.4h Standard LaTeX document class +(/usr/share/texlive/texmf-dist/tex/latex/base/bk10.clo +File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) +) +\c@part=\count79 +\c@chapter=\count80 +\c@section=\count81 +\c@subsection=\count82 +\c@subsubsection=\count83 +\c@paragraph=\count84 +\c@subparagraph=\count85 +\c@figure=\count86 +\c@table=\count87 +\abovecaptionskip=\skip41 +\belowcaptionskip=\skip42 +\bibindent=\dimen102 +) +(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty +Package: geometry 2010/09/12 v5.6 Page Geometry + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty +Package: keyval 1999/03/16 v1.13 key=value parser (DPC) +\KV@toks@=\toks14 +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty +Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO) +Package ifpdf Info: pdfTeX in PDF mode is detected. +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty +Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO) +Package ifvtex Info: VTeX not detected. +) +(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty +Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional +) +\Gm@cnth=\count88 +\Gm@cntv=\count89 +\c@Gm@tempcnt=\count90 +\Gm@bindingoffset=\dimen103 +\Gm@wd@mp=\dimen104 +\Gm@odd@mp=\dimen105 +\Gm@even@mp=\dimen106 +\Gm@layoutwidth=\dimen107 +\Gm@layoutheight=\dimen108 +\Gm@layouthoffset=\dimen109 +\Gm@layoutvoffset=\dimen110 +\Gm@dimlist=\toks15 +) +(/usr/share/texlive/texmf-dist/tex/latex/base/makeidx.sty +Package: makeidx 2000/03/29 v1.0m Standard LaTeX package +) +(/usr/share/texlive/texmf-dist/tex/latex/natbib/natbib.sty +Package: natbib 2010/09/13 8.31b (PWD, AO) +\bibhang=\skip43 +\bibsep=\skip44 +LaTeX Info: Redefining \cite on input line 694. +\c@NAT@ctr=\count91 +) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty +Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty +Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty +Package: trig 1999/03/16 v1.09 sin cos tan (DPC) +) +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg +File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live +) +Package graphics Info: Driver file: pdftex.def on input line 91. + +(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def +File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty +Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) +) +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty +Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) +) +\Gread@gobject=\count92 +)) +\Gin@req@height=\dimen111 +\Gin@req@width=\dimen112 +) +(/usr/share/texlive/texmf-dist/tex/latex/tools/multicol.sty +Package: multicol 2011/06/27 v1.7a multicolumn formatting (FMi) +\c@tracingmulticols=\count93 +\mult@box=\box26 +\multicol@leftmargin=\dimen113 +\c@unbalance=\count94 +\c@collectmore=\count95 +\doublecol@number=\count96 +\multicoltolerance=\count97 +\multicolpretolerance=\count98 +\full@width=\dimen114 +\page@free=\dimen115 +\premulticols=\dimen116 +\postmulticols=\dimen117 +\multicolsep=\skip45 +\multicolbaselineskip=\skip46 +\partial@page=\box27 +\last@line=\box28 +\mult@rightbox=\box29 +\mult@grightbox=\box30 +\mult@gfirstbox=\box31 +\mult@firstbox=\box32 +\@tempa=\box33 +\@tempa=\box34 +\@tempa=\box35 +\@tempa=\box36 +\@tempa=\box37 +\@tempa=\box38 +\@tempa=\box39 +\@tempa=\box40 +\@tempa=\box41 +\@tempa=\box42 +\@tempa=\box43 +\@tempa=\box44 +\@tempa=\box45 +\@tempa=\box46 +\@tempa=\box47 +\@tempa=\box48 +\@tempa=\box49 +\c@columnbadness=\count99 +\c@finalcolumnbadness=\count100 +\last@try=\dimen118 +\multicolovershoot=\dimen119 +\multicolundershoot=\dimen120 +\mult@nat@firstbox=\box50 +\colbreak@box=\box51 +\multicol@sort@counter=\count101 +) +(/usr/share/texlive/texmf-dist/tex/latex/float/float.sty +Package: float 2001/11/08 v1.3d Float enhancements (AL) +\c@float@type=\count102 +\float@exts=\toks16 +\float@box=\box52 +\@float@everytoks=\toks17 +\@floatcapt=\box53 +) +(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty +\lst@mode=\count103 +\lst@gtempboxa=\box54 +\lst@token=\toks18 +\lst@length=\count104 +\lst@currlwidth=\dimen121 +\lst@column=\count105 +\lst@pos=\count106 +\lst@lostspace=\dimen122 +\lst@width=\dimen123 +\lst@newlines=\count107 +\lst@lineno=\count108 +\lst@maxwidth=\dimen124 + +(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty +File: lstmisc.sty 2007/02/22 1.4 (Carsten Heinz) +\c@lstnumber=\count109 +\lst@skipnumbers=\count110 +\lst@framebox=\box55 +) +(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg +File: listings.cfg 2007/02/22 1.4 listings configuration +)) +Package: listings 2007/02/22 1.4 (Carsten Heinz) + +(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty +Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC) + +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg +File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive +) +Package color Info: Driver file: pdftex.def on input line 130. +) +(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty +Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) +) +(/usr/share/texmf/tex/latex/xcolor/xcolor.sty +Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK) + +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg +File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive +) +Package xcolor Info: Driver file: pdftex.def on input line 225. + +(/usr/share/texlive/texmf-dist/tex/latex/colortbl/colortbl.sty +Package: colortbl 2012/02/13 v1.0a Color table columns (DPC) + +(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty +Package: array 2008/09/09 v2.4c Tabular extension package (FMi) +\col@sep=\dimen125 +\extrarowheight=\dimen126 +\NC@list=\toks19 +\extratabsurround=\skip47 +\backup@length=\skip48 +) +\everycr=\toks20 +\minrowclearance=\skip49 +) +LaTeX Info: Redefining \color on input line 702. +\rownum=\count111 +Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337. +Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341. +Package xcolor Info: Model `RGB' extended on input line 1353. +Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355. +Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356. +Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357. +Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358. +Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359. +Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360. +) +(/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty +Package: textcomp 2005/09/27 v1.99g Standard LaTeX package +Package textcomp Info: Sub-encoding information: +(textcomp) 5 = only ISO-Adobe without \textcurrency +(textcomp) 4 = 5 + \texteuro +(textcomp) 3 = 4 + \textohm +(textcomp) 2 = 3 + \textestimated + \textcurrency +(textcomp) 1 = TS1 - \textcircled - \t +(textcomp) 0 = TS1 (full) +(textcomp) Font families with sub-encoding setting implement +(textcomp) only a restricted character set as indicated. +(textcomp) Family '?' is the default used for unknown fonts. +(textcomp) See the documentation for details. +Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 71. + +(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def +File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file +) +LaTeX Info: Redefining \oldstylenums on input line 266. +Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 281. +Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 282. +Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 283. +Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line 284. +Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line 285. +Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line 286. +Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line 287. +Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line 288. +Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line 289. +Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line 290. +Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line 291. +Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line 292. +Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line 293. +Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line 294. +Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line 295. +Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line 296. +Package textcomp Info: Setting put sub-encoding to TS1/5 on input line 297. +Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line 298. +Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line 299. +Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line 300. +Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line 301. +Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line 302. +Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input line 303. +Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input line 304. + +Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 305. +Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line 306. +Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line 307. +Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line 308. +Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line 309. +Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line 310. +Package textcomp Info: Setting lmr sub-encoding to TS1/0 on input line 311. +Package textcomp Info: Setting lmdh sub-encoding to TS1/0 on input line 312. +Package textcomp Info: Setting lmss sub-encoding to TS1/0 on input line 313. +Package textcomp Info: Setting lmssq sub-encoding to TS1/0 on input line 314. +Package textcomp Info: Setting lmvtt sub-encoding to TS1/0 on input line 315. +Package textcomp Info: Setting qhv sub-encoding to TS1/0 on input line 316. +Package textcomp Info: Setting qag sub-encoding to TS1/0 on input line 317. +Package textcomp Info: Setting qbk sub-encoding to TS1/0 on input line 318. +Package textcomp Info: Setting qcr sub-encoding to TS1/0 on input line 319. +Package textcomp Info: Setting qcs sub-encoding to TS1/0 on input line 320. +Package textcomp Info: Setting qpl sub-encoding to TS1/0 on input line 321. +Package textcomp Info: Setting qtm sub-encoding to TS1/0 on input line 322. +Package textcomp Info: Setting qzc sub-encoding to TS1/0 on input line 323. +Package textcomp Info: Setting qhvc sub-encoding to TS1/0 on input line 324. +Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line 325. +Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line 326. +Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line 327. +Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line 328. +Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line 329. +Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line 330. +Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line 331. +Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line 332. +Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line 333. +Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 334. +Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line 335. +Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line 336. +Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 337. +Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 338. +Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 339. +Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 340. +) +(/usr/share/texlive/texmf-dist/tex/latex/base/alltt.sty +Package: alltt 1997/06/16 v2.0g defines alltt environment +) +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty +Package: hyperref 2012/05/13 v6.82q Hypertext links for LaTeX + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty +Package: hobsub-hyperref 2012/05/28 v1.13 Bundle oberdiek, subset hyperref (HO) + + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty +Package: hobsub-generic 2012/05/28 v1.13 Bundle oberdiek, subset generic (HO) +Package: hobsub 2012/05/28 v1.13 Construct package bundles (HO) +Package hobsub Info: Skipping package `infwarerr' (already loaded). +Package hobsub Info: Skipping package `ltxcmds' (already loaded). +Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO) +Package ifluatex Info: LuaTeX not detected. +Package hobsub Info: Skipping package `ifvtex' (already loaded). +Package: intcalc 2007/09/27 v1.1 Expandable calculations with integers (HO) +Package hobsub Info: Skipping package `ifpdf' (already loaded). +Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) +Package etexcmds Info: Could not find \expanded. +(etexcmds) That can mean that you are not using pdfTeX 1.50 or +(etexcmds) that some package has redefined \expanded. +(etexcmds) In the latter case, load this package earlier. +Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO) +Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO) +Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO +) +Package pdftexcmds Info: LuaTeX not detected. +Package pdftexcmds Info: \pdf@primitive is available. +Package pdftexcmds Info: \pdf@ifprimitive is available. +Package pdftexcmds Info: \pdfdraftmode found. +Package: pdfescape 2011/11/25 v1.13 Implements pdfTeX's escape features (HO) +Package: bigintcalc 2012/04/08 v1.3 Expandable calculations on big integers (HO +) +Package: bitset 2011/01/30 v1.1 Handle bit-vector datatype (HO) +Package: uniquecounter 2011/01/30 v1.2 Provide unlimited unique counter (HO) +) +Package hobsub Info: Skipping package `hobsub' (already loaded). +Package: letltxmacro 2010/09/02 v1.4 Let assignment for LaTeX macros (HO) +Package: hopatch 2012/05/28 v1.2 Wrapper for package hooks (HO) +Package: xcolor-patch 2011/01/30 xcolor patch +Package: atveryend 2011/06/30 v1.8 Hooks at the very end of document (HO) +Package atveryend Info: \enddocument detected (standard20110627). +Package: atbegshi 2011/10/05 v1.16 At begin shipout hook (HO) +Package: refcount 2011/10/16 v3.4 Data extraction from label references (HO) +Package: hycolor 2011/01/30 v1.7 Color options for hyperref/bookmark (HO) +) +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty +Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO) +) +\@linkdim=\dimen127 +\Hy@linkcounter=\count112 +\Hy@pagecounter=\count113 + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def +File: pd1enc.def 2012/05/13 v6.82q Hyperref: PDFDocEncoding definition (HO) +) +\Hy@SavedSpaceFactor=\count114 + +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg +File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive +) +Package hyperref Info: Option `colorlinks' set `true' on input line 3941. +Package hyperref Info: Option `unicode' set `true' on input line 3941. + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def +File: puenc.def 2012/05/13 v6.82q Hyperref: PDF Unicode definition (HO) +) +Package hyperref Info: Hyper figures OFF on input line 4062. +Package hyperref Info: Link nesting OFF on input line 4067. +Package hyperref Info: Hyper index ON on input line 4070. +Package hyperref Info: Plain pages OFF on input line 4077. +Package hyperref Info: Backreferencing ON on input line 4080. +Package hyperref Info: Implicit mode ON; LaTeX internals redefined. +Package hyperref Info: Bookmarks ON on input line 4300. + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/backref.sty +Package: backref 2010/08/30 v1.36 Bibliographical back referencing + +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty +Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO) +Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2 +82. +)) +\c@Hy@tempcnt=\count115 + +(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty +\Urlmuskip=\muskip10 +Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc. +) +LaTeX Info: Redefining \url on input line 4653. +\Fld@menulength=\count116 +\Field@Width=\dimen128 +\Fld@charsize=\dimen129 +Package hyperref Info: Hyper figures OFF on input line 5773. +Package hyperref Info: Link nesting OFF on input line 5778. +Package hyperref Info: Hyper index ON on input line 5781. +Package hyperref Info: backreferencing ON on input line 5786. +Package hyperref Info: Link coloring ON on input line 5791. +Package hyperref Info: Link coloring with OCG OFF on input line 5798. +Package hyperref Info: PDF/A mode OFF on input line 5803. +LaTeX Info: Redefining \ref on input line 5843. +LaTeX Info: Redefining \pageref on input line 5847. +\Hy@abspage=\count117 +\c@Item=\count118 +\c@Hfootnote=\count119 +) + +Package hyperref Message: Driver: hpdftex. + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def +File: hpdftex.def 2012/05/13 v6.82q Hyperref driver for pdfTeX +\Fld@listcount=\count120 +\c@bookmark@seq@number=\count121 +\Hy@SectionHShift=\skip50 +) +(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty +Package: inputenc 2008/03/30 v1.1d Input encoding file +\inpenc@prehook=\toks21 +\inpenc@posthook=\toks22 + +(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def +File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc +Now handling font encoding OML ... +... no UTF-8 mapping file for font encoding OML +Now handling font encoding T1 ... +... processing UTF-8 mapping file for font encoding T1 + +(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu +File: t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc + defining Unicode char U+00A1 (decimal 161) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00AB (decimal 171) + defining Unicode char U+00BB (decimal 187) + defining Unicode char U+00BF (decimal 191) + defining Unicode char U+00C0 (decimal 192) + defining Unicode char U+00C1 (decimal 193) + defining Unicode char U+00C2 (decimal 194) + defining Unicode char U+00C3 (decimal 195) + defining Unicode char U+00C4 (decimal 196) + defining Unicode char U+00C5 (decimal 197) + defining Unicode char U+00C6 (decimal 198) + defining Unicode char U+00C7 (decimal 199) + defining Unicode char U+00C8 (decimal 200) + defining Unicode char U+00C9 (decimal 201) + defining Unicode char U+00CA (decimal 202) + defining Unicode char U+00CB (decimal 203) + defining Unicode char U+00CC (decimal 204) + defining Unicode char U+00CD (decimal 205) + defining Unicode char U+00CE (decimal 206) + defining Unicode char U+00CF (decimal 207) + defining Unicode char U+00D0 (decimal 208) + defining Unicode char U+00D1 (decimal 209) + defining Unicode char U+00D2 (decimal 210) + defining Unicode char U+00D3 (decimal 211) + defining Unicode char U+00D4 (decimal 212) + defining Unicode char U+00D5 (decimal 213) + defining Unicode char U+00D6 (decimal 214) + defining Unicode char U+00D8 (decimal 216) + defining Unicode char U+00D9 (decimal 217) + defining Unicode char U+00DA (decimal 218) + defining Unicode char U+00DB (decimal 219) + defining Unicode char U+00DC (decimal 220) + defining Unicode char U+00DD (decimal 221) + defining Unicode char U+00DE (decimal 222) + defining Unicode char U+00DF (decimal 223) + defining Unicode char U+00E0 (decimal 224) + defining Unicode char U+00E1 (decimal 225) + defining Unicode char U+00E2 (decimal 226) + defining Unicode char U+00E3 (decimal 227) + defining Unicode char U+00E4 (decimal 228) + defining Unicode char U+00E5 (decimal 229) + defining Unicode char U+00E6 (decimal 230) + defining Unicode char U+00E7 (decimal 231) + defining Unicode char U+00E8 (decimal 232) + defining Unicode char U+00E9 (decimal 233) + defining Unicode char U+00EA (decimal 234) + defining Unicode char U+00EB (decimal 235) + defining Unicode char U+00EC (decimal 236) + defining Unicode char U+00ED (decimal 237) + defining Unicode char U+00EE (decimal 238) + defining Unicode char U+00EF (decimal 239) + defining Unicode char U+00F0 (decimal 240) + defining Unicode char U+00F1 (decimal 241) + defining Unicode char U+00F2 (decimal 242) + defining Unicode char U+00F3 (decimal 243) + defining Unicode char U+00F4 (decimal 244) + defining Unicode char U+00F5 (decimal 245) + defining Unicode char U+00F6 (decimal 246) + defining Unicode char U+00F8 (decimal 248) + defining Unicode char U+00F9 (decimal 249) + defining Unicode char U+00FA (decimal 250) + defining Unicode char U+00FB (decimal 251) + defining Unicode char U+00FC (decimal 252) + defining Unicode char U+00FD (decimal 253) + defining Unicode char U+00FE (decimal 254) + defining Unicode char U+00FF (decimal 255) + defining Unicode char U+0102 (decimal 258) + defining Unicode char U+0103 (decimal 259) + defining Unicode char U+0104 (decimal 260) + defining Unicode char U+0105 (decimal 261) + defining Unicode char U+0106 (decimal 262) + defining Unicode char U+0107 (decimal 263) + defining Unicode char U+010C (decimal 268) + defining Unicode char U+010D (decimal 269) + defining Unicode char U+010E (decimal 270) + defining Unicode char U+010F (decimal 271) + defining Unicode char U+0110 (decimal 272) + defining Unicode char U+0111 (decimal 273) + defining Unicode char U+0118 (decimal 280) + defining Unicode char U+0119 (decimal 281) + defining Unicode char U+011A (decimal 282) + defining Unicode char U+011B (decimal 283) + defining Unicode char U+011E (decimal 286) + defining Unicode char U+011F (decimal 287) + defining Unicode char U+0130 (decimal 304) + defining Unicode char U+0131 (decimal 305) + defining Unicode char U+0132 (decimal 306) + defining Unicode char U+0133 (decimal 307) + defining Unicode char U+0139 (decimal 313) + defining Unicode char U+013A (decimal 314) + defining Unicode char U+013D (decimal 317) + defining Unicode char U+013E (decimal 318) + defining Unicode char U+0141 (decimal 321) + defining Unicode char U+0142 (decimal 322) + defining Unicode char U+0143 (decimal 323) + defining Unicode char U+0144 (decimal 324) + defining Unicode char U+0147 (decimal 327) + defining Unicode char U+0148 (decimal 328) + defining Unicode char U+014A (decimal 330) + defining Unicode char U+014B (decimal 331) + defining Unicode char U+0150 (decimal 336) + defining Unicode char U+0151 (decimal 337) + defining Unicode char U+0152 (decimal 338) + defining Unicode char U+0153 (decimal 339) + defining Unicode char U+0154 (decimal 340) + defining Unicode char U+0155 (decimal 341) + defining Unicode char U+0158 (decimal 344) + defining Unicode char U+0159 (decimal 345) + defining Unicode char U+015A (decimal 346) + defining Unicode char U+015B (decimal 347) + defining Unicode char U+015E (decimal 350) + defining Unicode char U+015F (decimal 351) + defining Unicode char U+0160 (decimal 352) + defining Unicode char U+0161 (decimal 353) + defining Unicode char U+0162 (decimal 354) + defining Unicode char U+0163 (decimal 355) + defining Unicode char U+0164 (decimal 356) + defining Unicode char U+0165 (decimal 357) + defining Unicode char U+016E (decimal 366) + defining Unicode char U+016F (decimal 367) + defining Unicode char U+0170 (decimal 368) + defining Unicode char U+0171 (decimal 369) + defining Unicode char U+0178 (decimal 376) + defining Unicode char U+0179 (decimal 377) + defining Unicode char U+017A (decimal 378) + defining Unicode char U+017B (decimal 379) + defining Unicode char U+017C (decimal 380) + defining Unicode char U+017D (decimal 381) + defining Unicode char U+017E (decimal 382) + defining Unicode char U+200C (decimal 8204) + defining Unicode char U+2013 (decimal 8211) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201A (decimal 8218) + defining Unicode char U+201C (decimal 8220) + defining Unicode char U+201D (decimal 8221) + defining Unicode char U+201E (decimal 8222) + defining Unicode char U+2030 (decimal 8240) + defining Unicode char U+2031 (decimal 8241) + defining Unicode char U+2039 (decimal 8249) + defining Unicode char U+203A (decimal 8250) + defining Unicode char U+2423 (decimal 9251) +) +Now handling font encoding OT1 ... +... processing UTF-8 mapping file for font encoding OT1 + +(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu +File: ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc + defining Unicode char U+00A1 (decimal 161) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00B8 (decimal 184) + defining Unicode char U+00BF (decimal 191) + defining Unicode char U+00C5 (decimal 197) + defining Unicode char U+00C6 (decimal 198) + defining Unicode char U+00D8 (decimal 216) + defining Unicode char U+00DF (decimal 223) + defining Unicode char U+00E6 (decimal 230) + defining Unicode char U+00EC (decimal 236) + defining Unicode char U+00ED (decimal 237) + defining Unicode char U+00EE (decimal 238) + defining Unicode char U+00EF (decimal 239) + defining Unicode char U+00F8 (decimal 248) + defining Unicode char U+0131 (decimal 305) + defining Unicode char U+0141 (decimal 321) + defining Unicode char U+0142 (decimal 322) + defining Unicode char U+0152 (decimal 338) + defining Unicode char U+0153 (decimal 339) + defining Unicode char U+2013 (decimal 8211) + defining Unicode char U+2014 (decimal 8212) + defining Unicode char U+2018 (decimal 8216) + defining Unicode char U+2019 (decimal 8217) + defining Unicode char U+201C (decimal 8220) + defining Unicode char U+201D (decimal 8221) +) +Now handling font encoding OMS ... +... processing UTF-8 mapping file for font encoding OMS + +(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu +File: omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc + defining Unicode char U+00A7 (decimal 167) + defining Unicode char U+00B6 (decimal 182) + defining Unicode char U+00B7 (decimal 183) + defining Unicode char U+2020 (decimal 8224) + defining Unicode char U+2021 (decimal 8225) + defining Unicode char U+2022 (decimal 8226) +) +Now handling font encoding OMX ... +... no UTF-8 mapping file for font encoding OMX +Now handling font encoding U ... +... no UTF-8 mapping file for font encoding U +Now handling font encoding TS1 ... +... processing UTF-8 mapping file for font encoding TS1 + +(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.dfu +File: ts1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc + defining Unicode char U+00A2 (decimal 162) + defining Unicode char U+00A3 (decimal 163) + defining Unicode char U+00A4 (decimal 164) + defining Unicode char U+00A5 (decimal 165) + defining Unicode char U+00A6 (decimal 166) + defining Unicode char U+00A7 (decimal 167) + defining Unicode char U+00A8 (decimal 168) + defining Unicode char U+00A9 (decimal 169) + defining Unicode char U+00AA (decimal 170) + defining Unicode char U+00AC (decimal 172) + defining Unicode char U+00AE (decimal 174) + defining Unicode char U+00AF (decimal 175) + defining Unicode char U+00B0 (decimal 176) + defining Unicode char U+00B1 (decimal 177) + defining Unicode char U+00B2 (decimal 178) + defining Unicode char U+00B3 (decimal 179) + defining Unicode char U+00B4 (decimal 180) + defining Unicode char U+00B5 (decimal 181) + defining Unicode char U+00B6 (decimal 182) + defining Unicode char U+00B7 (decimal 183) + defining Unicode char U+00B9 (decimal 185) + defining Unicode char U+00BA (decimal 186) + defining Unicode char U+00BC (decimal 188) + defining Unicode char U+00BD (decimal 189) + defining Unicode char U+00BE (decimal 190) + defining Unicode char U+00D7 (decimal 215) + defining Unicode char U+00F7 (decimal 247) + defining Unicode char U+0192 (decimal 402) + defining Unicode char U+02C7 (decimal 711) + defining Unicode char U+02D8 (decimal 728) + defining Unicode char U+02DD (decimal 733) + defining Unicode char U+0E3F (decimal 3647) + defining Unicode char U+2016 (decimal 8214) + defining Unicode char U+2020 (decimal 8224) + defining Unicode char U+2021 (decimal 8225) + defining Unicode char U+2022 (decimal 8226) + defining Unicode char U+2030 (decimal 8240) + defining Unicode char U+2031 (decimal 8241) + defining Unicode char U+203B (decimal 8251) + defining Unicode char U+203D (decimal 8253) + defining Unicode char U+2044 (decimal 8260) + defining Unicode char U+204E (decimal 8270) + defining Unicode char U+2052 (decimal 8274) + defining Unicode char U+20A1 (decimal 8353) + defining Unicode char U+20A4 (decimal 8356) + defining Unicode char U+20A6 (decimal 8358) + defining Unicode char U+20A9 (decimal 8361) + defining Unicode char U+20AB (decimal 8363) + defining Unicode char U+20AC (decimal 8364) + defining Unicode char U+20B1 (decimal 8369) + defining Unicode char U+2103 (decimal 8451) + defining Unicode char U+2116 (decimal 8470) + defining Unicode char U+2117 (decimal 8471) + defining Unicode char U+211E (decimal 8478) + defining Unicode char U+2120 (decimal 8480) + defining Unicode char U+2122 (decimal 8482) + defining Unicode char U+2126 (decimal 8486) + defining Unicode char U+2127 (decimal 8487) + defining Unicode char U+212E (decimal 8494) + defining Unicode char U+2190 (decimal 8592) + defining Unicode char U+2191 (decimal 8593) + defining Unicode char U+2192 (decimal 8594) + defining Unicode char U+2193 (decimal 8595) + defining Unicode char U+2329 (decimal 9001) + defining Unicode char U+232A (decimal 9002) + defining Unicode char U+2422 (decimal 9250) + defining Unicode char U+25E6 (decimal 9702) + defining Unicode char U+25EF (decimal 9711) + defining Unicode char U+266A (decimal 9834) +) +Now handling font encoding PD1 ... +... no UTF-8 mapping file for font encoding PD1 +Now handling font encoding PU ... +... no UTF-8 mapping file for font encoding PU + defining Unicode char U+00A9 (decimal 169) + defining Unicode char U+00AA (decimal 170) + defining Unicode char U+00AE (decimal 174) + defining Unicode char U+00BA (decimal 186) + defining Unicode char U+02C6 (decimal 710) + defining Unicode char U+02DC (decimal 732) + defining Unicode char U+200C (decimal 8204) + defining Unicode char U+2026 (decimal 8230) + defining Unicode char U+2122 (decimal 8482) + defining Unicode char U+2423 (decimal 9251) +)) +(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty +Package: babel 2008/07/08 v3.8m The Babel package + +(/usr/share/texlive/texmf-dist/tex/generic/babel/spanish.ldf +Language: spanish.ldf 2011/10/06 v5.0k Spanish support from the babel system + +(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def +File: babel.def 2008/07/08 v3.8m Babel common definitions +\babel@savecnt=\count122 +\U@D=\dimen130 +) + +Package babel Warning: No hyphenation patterns were loaded for +(babel) the language `Spanish' +(babel) I will use the patterns loaded for \language=0 instead. + +\l@spanish = a dialect from \language0 +\es@datefmt=\count123 +\es@quottoks=\toks23 +\es@quotdepth=\count124 +Package babel Info: Making " an active character on input line 496. +Package babel Info: Making . an active character on input line 599. +Package babel Info: Making < an active character on input line 644. +Package babel Info: Making > an active character on input line 644. +)) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/mathptmx.sty +Package: mathptmx 2005/04/12 PSNFSS-v9.2a Times w/ Math, improved (SPQR, WaS) +LaTeX Font Info: Redeclaring symbol font `operators' on input line 28. +LaTeX Font Info: Overwriting symbol font `operators' in version `normal' +(Font) OT1/cmr/m/n --> OT1/ztmcm/m/n on input line 28. +LaTeX Font Info: Overwriting symbol font `operators' in version `bold' +(Font) OT1/cmr/bx/n --> OT1/ztmcm/m/n on input line 28. +LaTeX Font Info: Redeclaring symbol font `letters' on input line 29. +LaTeX Font Info: Overwriting symbol font `letters' in version `normal' +(Font) OML/cmm/m/it --> OML/ztmcm/m/it on input line 29. +LaTeX Font Info: Overwriting symbol font `letters' in version `bold' +(Font) OML/cmm/b/it --> OML/ztmcm/m/it on input line 29. +LaTeX Font Info: Redeclaring symbol font `symbols' on input line 30. +LaTeX Font Info: Overwriting symbol font `symbols' in version `normal' +(Font) OMS/cmsy/m/n --> OMS/ztmcm/m/n on input line 30. +LaTeX Font Info: Overwriting symbol font `symbols' in version `bold' +(Font) OMS/cmsy/b/n --> OMS/ztmcm/m/n on input line 30. +LaTeX Font Info: Redeclaring symbol font `largesymbols' on input line 31. +LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal' +(Font) OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31. +LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold' +(Font) OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31. +\symbold=\mathgroup4 +\symitalic=\mathgroup5 +LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 34. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal' +(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34. +LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold' +(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34. +LaTeX Font Info: Redeclaring math alphabet \mathit on input line 35. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal' +(Font) OT1/cmr/m/it --> OT1/ptm/m/it on input line 35. +LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' +(Font) OT1/cmr/bx/it --> OT1/ptm/m/it on input line 35. +LaTeX Info: Redefining \hbar on input line 50. +) +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/helvet.sty +Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS) +) +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/courier.sty +Package: courier 2005/04/12 PSNFSS-v9.2a (WaS) +) +(/usr/share/texlive/texmf-dist/tex/latex/sectsty/sectsty.sty +Package: sectsty 2002/02/25 v2.0.2 Commands to change all sectional heading sty +les +) +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty +Package: amssymb 2009/06/22 v3.00 + +(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty +Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support +\@emptytoks=\toks24 +\symAMSa=\mathgroup6 +\symAMSb=\mathgroup7 +LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' +(Font) U/euf/m/n --> U/euf/b/n on input line 96. +)) +(/usr/share/texlive/texmf-dist/tex/latex/tocloft/tocloft.sty +Package: tocloft 2010/10/13 v2.3e parameterised ToC, etc., typesetting +Package tocloft Info: The document has chapter divisions on input line 43. +\cftparskip=\skip51 +\cftbeforetoctitleskip=\skip52 +\cftaftertoctitleskip=\skip53 +\cftbeforepartskip=\skip54 +\cftpartnumwidth=\skip55 +\cftpartindent=\skip56 +\cftbeforechapskip=\skip57 +\cftchapindent=\skip58 +\cftchapnumwidth=\skip59 +\cftbeforesecskip=\skip60 +\cftsecindent=\skip61 +\cftsecnumwidth=\skip62 +\cftbeforesubsecskip=\skip63 +\cftsubsecindent=\skip64 +\cftsubsecnumwidth=\skip65 +\cftbeforesubsubsecskip=\skip66 +\cftsubsubsecindent=\skip67 +\cftsubsubsecnumwidth=\skip68 +\cftbeforeparaskip=\skip69 +\cftparaindent=\skip70 +\cftparanumwidth=\skip71 +\cftbeforesubparaskip=\skip72 +\cftsubparaindent=\skip73 +\cftsubparanumwidth=\skip74 +\cftbeforeloftitleskip=\skip75 +\cftafterloftitleskip=\skip76 +\cftbeforefigskip=\skip77 +\cftfigindent=\skip78 +\cftfignumwidth=\skip79 +\c@lofdepth=\count125 +\c@lotdepth=\count126 +\cftbeforelottitleskip=\skip80 +\cftafterlottitleskip=\skip81 +\cftbeforetabskip=\skip82 +\cfttabindent=\skip83 +\cfttabnumwidth=\skip84 +) (./doxygen.sty +Package: doxygen + +(/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty +Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ) +\calc@Acount=\count127 +\calc@Bcount=\count128 +\calc@Adimen=\dimen131 +\calc@Bdimen=\dimen132 +\calc@Askip=\skip85 +\calc@Bskip=\skip86 +LaTeX Info: Redefining \setlength on input line 76. +LaTeX Info: Redefining \addtolength on input line 77. +\calc@Ccount=\count129 +\calc@Cskip=\skip87 +) +(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty +\fancy@headwidth=\skip88 +\f@ncyO@elh=\skip89 +\f@ncyO@erh=\skip90 +\f@ncyO@olh=\skip91 +\f@ncyO@orh=\skip92 +\f@ncyO@elf=\skip93 +\f@ncyO@erf=\skip94 +\f@ncyO@olf=\skip95 +\f@ncyO@orf=\skip96 +) +(/usr/share/texlive/texmf-dist/tex/latex/tools/longtable.sty +Package: longtable 2004/02/01 v4.11 Multi-page Table package (DPC) +\LTleft=\skip97 +\LTright=\skip98 +\LTpre=\skip99 +\LTpost=\skip100 +\LTchunksize=\count130 +\LTcapwidth=\dimen133 +\LT@head=\box56 +\LT@firsthead=\box57 +\LT@foot=\box58 +\LT@lastfoot=\box59 +\LT@cols=\count131 +\LT@rows=\count132 +\c@LT@tables=\count133 +\c@LT@chunks=\count134 +\LT@p@ftn=\toks25 +) +(/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty +Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements +\every@verbatim=\toks26 +\verbatim@line=\toks27 +\verbatim@in@stream=\read1 +) +(/usr/share/texlive/texmf-dist/tex/latex/xtab/xtab.sty +Package: xtab 2011/07/31 v2.3f Extended supertabular package +\c@tracingst=\count135 +\PWSTcapht=\dimen134 +\ST@wd=\dimen135 +\ST@rightskip=\skip101 +\ST@leftskip=\skip102 +\ST@parfillskip=\skip103 +\c@PWSTtable=\count136 +\PWSTlastpage=\count137 +\PWSTpenultimate=\count138 +\PWSTcurpage=\count139 +\PWSTtempc=\count140 +\PWSTlines=\count141 +\PWST@lastht=\dimen136 +\PWST@generalht=\dimen137 +\PWST@ht=\dimen138 +\ST@pageleft=\dimen139 +\ST@headht=\dimen140 +\ST@tailht=\dimen141 +\ST@pagesofar=\dimen142 +\ST@pboxht=\dimen143 +\ST@lineht=\dimen144 +\ST@stretchht=\dimen145 +\ST@prevht=\dimen146 +\ST@toadd=\dimen147 +\ST@dimen=\dimen148 +\ST@pbox=\box60 +) +(/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty +\bigstrutjot=\dimen149 +) +\tmplength=\skip104 +\xrefbox=\box61 +\xreflength=\skip105 + +(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty +Package: fontenc 2005/09/27 v1.99g Standard LaTeX package + +(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def +File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file +LaTeX Font Info: Redeclaring font encoding T1 on input line 43. +))) +(/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty +File: lstlang1.sty 2004/09/05 1.3 listings language file +) +(/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty +File: lstlang1.sty 2004/09/05 1.3 listings language file +) +(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty +File: lstmisc.sty 2007/02/22 1.4 (Carsten Heinz) +) +\@indexfile=\write3 +\openout3 = `refman.idx'. + + +Writing index file refman.idx +(./refman.aux +LaTeX Info: Redefining \. on input line 21. +LaTeX Info: Redefining \% on input line 21. +) +\openout1 = `refman.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 49. +LaTeX Font Info: ... okay on input line 49. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 49. +LaTeX Font Info: ... okay on input line 49. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 49. +LaTeX Font Info: ... okay on input line 49. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 49. +LaTeX Font Info: ... okay on input line 49. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 49. +LaTeX Font Info: ... okay on input line 49. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 49. +LaTeX Font Info: ... okay on input line 49. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 49. +LaTeX Font Info: Try loading font information for TS1+cmr on input line 49. + (/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd +File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: ... okay on input line 49. +LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 49. +LaTeX Font Info: ... okay on input line 49. +LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 49. +LaTeX Font Info: ... okay on input line 49. +LaTeX Font Info: Try loading font information for T1+phv on input line 49. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd +File: t1phv.fd 2001/06/04 scalable font definitions for T1/phv. +) +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 8.99994pt on input line 49. + +*geometry* driver: auto-detecting +*geometry* detected driver: pdftex +*geometry* verbose mode - [ preamble ] result: +* driver: pdftex +* paper: a4paper +* layout: +* layoutoffset:(h,v)=(0.0pt,0.0pt) +* modes: twoside +* h-part:(L,W,R)=(71.13188pt, 455.24411pt, 71.13188pt) +* v-part:(T,H,B)=(71.13188pt, 702.78308pt, 71.13188pt) +* \paperwidth=597.50787pt +* \paperheight=845.04684pt +* \textwidth=455.24411pt +* \textheight=702.78308pt +* \oddsidemargin=-1.1381pt +* \evensidemargin=-1.1381pt +* \topmargin=-31.2056pt +* \headheight=12.0pt +* \headsep=18.06749pt +* \topskip=10.0pt +* \footskip=25.29494pt +* \marginparwidth=125.0pt +* \marginparsep=7.0pt +* \columnsep=10.0pt +* \skip\footins=9.0pt plus 4.0pt minus 2.0pt +* \hoffset=0.0pt +* \voffset=0.0pt +* \mag=1000 +* \@twocolumnfalse +* \@twosidetrue +* \@mparswitchtrue +* \@reversemarginfalse +* (1in=72.27pt=25.4mm, 1cm=28.453pt) + +(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count142 +\scratchdimen=\dimen150 +\scratchbox=\box62 +\nofMPsegments=\count143 +\nofMParguments=\count144 +\everyMPshowfont=\toks28 +\MPscratchCnt=\count145 +\MPscratchDim=\dimen151 +\MPnumerator=\count146 +\makeMPintoPDFobject=\count147 +\everyMPtoPDFconversion=\toks29 +) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty +Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf + +(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty +Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO) +) +Package grfext Info: Graphics extension search list: +(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE +G,.JBIG2,.JB2,.eps] +(grfext) \AppendGraphicsExtensions on input line 452. + +(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg +File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv +e +)) +\c@lstlisting=\count148 +\AtBeginShipoutBox=\box63 +Package backref Info: ** backref set up for natbib ** on input line 49. +Package hyperref Info: Link coloring ON on input line 49. + +(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty +Package: nameref 2010/04/30 v2.40 Cross-referencing by name of section + +(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty +Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO) +) +\c@section@level=\count149 +) +LaTeX Info: Redefining \ref on input line 49. +LaTeX Info: Redefining \pageref on input line 49. +LaTeX Info: Redefining \nameref on input line 49. + +(./refman.out) (./refman.out) +\@outlinefile=\write4 +\openout4 = `refman.out'. + +LaTeX Info: Redefining \. on input line 49. +LaTeX Info: Redefining \% on input line 49. +\big@size=\dimen152 +Package hyperref Info: Option `pageanchor' set `false' on input line 50. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 12.9599pt on input line 54. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 10.79993pt on input line 56. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 8.09995pt on input line 58. + [1 + + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2 + +] +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 22.39185pt on input line 63. +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <24.88> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 63. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 22.39185pt on input line 63. +LaTeX Font Info: Try loading font information for OT1+phv on input line 63. + (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1phv.fd +File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv. +) +LaTeX Font Info: Font shape `OT1/phv/bc/n' will be +(Font) scaled to size 22.39185pt on input line 63. + +(./refman.toc +LaTeX Info: Redefining \. on input line 1. +LaTeX Info: Redefining \% on input line 1. +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <10> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 2. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 8.99994pt on input line 2. +LaTeX Font Info: Try loading font information for OT1+ztmcm on input line 2. + + (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ztmcm.fd +File: ot1ztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OT1/ztmcm. +) +LaTeX Font Info: Try loading font information for OML+ztmcm on input line 2. + + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omlztmcm.fd +File: omlztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OML/ztmcm. +) +LaTeX Font Info: Try loading font information for OMS+ztmcm on input line 2. + + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omsztmcm.fd +File: omsztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMS/ztmcm. +) +LaTeX Font Info: Try loading font information for OMX+ztmcm on input line 2. + + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omxztmcm.fd +File: omxztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMX/ztmcm. +) +LaTeX Font Info: Try loading font information for OT1+ptm on input line 2. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ptm.fd +File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm. +) +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <10> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 2. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7.4> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 2. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <6> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 2. + [1 + +] +LaTeX Font Info: Font shape `T1/phv/bx/sc' in size <10> not available +(Font) Font shape `T1/phv/b/sc' tried instead on input line 71. +LaTeX Font Info: Font shape `T1/phv/b/sc' will be +(Font) scaled to size 8.99994pt on input line 71. +LaTeX Info: Redefining \. on input line 71. +LaTeX Info: Redefining \% on input line 71. +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <7> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 71. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 6.29996pt on input line 71. + [2] +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <12> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 105. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 10.79993pt on input line 105. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <12> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 105. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <9> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 105. +LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 105. +) +\tf@toc=\write5 +\openout5 = `refman.toc'. + +LaTeX Info: Redefining \. on input line 64. +LaTeX Info: Redefining \% on input line 64. + [3] +[4 + +] +Package hyperref Info: Option `pageanchor' set `true' on input line 66. + +Cap\'{\i }tulo 1. +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 18.66588pt on input line 67. +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <20.74> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 67. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 18.66588pt on input line 67. +LaTeX Font Info: Font shape `OT1/phv/bc/n' will be +(Font) scaled to size 18.66588pt on input line 67. +(./index.tex +LaTeX Font Info: Try loading font information for T1+pcr on input line 1. + (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pcr.fd +File: t1pcr.fd 2001/06/04 font definitions for T1/pcr. +) +LaTeX Font Info: Font shape `OT1/phv/bc/n' will be +(Font) scaled to size 8.99994pt on input line 9. +) +[1 + +] +LaTeX Info: Redefining \. on input line 69. +LaTeX Info: Redefining \% on input line 69. + [2 + +] +Cap\'{\i }tulo 2. +(./client_code.tex +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 6.29996pt on input line 4. +) [3] +LaTeX Info: Redefining \. on input line 73. +LaTeX Info: Redefining \% on input line 73. + [4 + +] +Cap\'{\i }tulo 3. +(./howto.tex +LaTeX Font Info: Font shape `T1/phv/m/n' will be +(Font) scaled to size 7.19995pt on input line 3. + +Overfull \hbox (48.75621pt too wide) in paragraph at lines 3--3 +[] \T1/pcr/m/n/8 A continuacin se desglosan las instrucciones para el desar +rollo con esta libera y su posterior uso. + [] + +LaTeX Font Info: Font shape `T1/phv/bx/n' in size <14.4> not available +(Font) Font shape `T1/phv/b/n' tried instead on input line 6. +LaTeX Font Info: Font shape `T1/phv/b/n' will be +(Font) scaled to size 12.9599pt on input line 6. +LaTeX Font Info: Font shape `OT1/phv/bc/n' will be +(Font) scaled to size 12.9599pt on input line 6. +LaTeX Font Info: Font shape `OT1/phv/bc/n' will be +(Font) scaled to size 10.79993pt on input line 16. +[5]) +LaTeX Info: Redefining \. on input line 77. +LaTeX Info: Redefining \% on input line 77. + [6] +Cap\'{\i }tulo 4. +(./annotated.tex) [7 + +] +LaTeX Info: Redefining \. on input line 79. +LaTeX Info: Redefining \% on input line 79. + [8 + +] +Cap\'{\i }tulo 5. +(./files.tex) [9] +LaTeX Info: Redefining \. on input line 81. +LaTeX Info: Redefining \% on input line 81. + [10 + +] +Cap\'{\i }tulo 6. +(./class_server.tex +LaTeX Font Info: Font shape `T1/phv/m/it' in size <9> not available +(Font) Font shape `T1/phv/m/sl' tried instead on input line 17. +LaTeX Font Info: Font shape `T1/phv/m/sl' will be +(Font) scaled to size 8.09995pt on input line 17. + [11] +LaTeX Font Info: Try loading font information for OT1+pcr on input line 61. + +(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1pcr.fd +File: ot1pcr.fd 2001/06/04 font definitions for OT1/pcr. +) + +LaTeX Font Warning: Font shape `OT1/pcr/bc/n' undefined +(Font) using `OT1/pcr/m/n' instead on input line 61. + +LaTeX Font Info: Font shape `OT1/phv/bc/it' in size <10> not available +(Font) Font shape `OT1/phv/bc/sl' tried instead on input line 75. +LaTeX Font Info: Font shape `OT1/phv/bc/sl' will be +(Font) scaled to size 8.99994pt on input line 75. +LaTeX Font Info: Font shape `T1/phv/m/it' in size <10> not available +(Font) Font shape `T1/phv/m/sl' tried instead on input line 82. +LaTeX Font Info: Font shape `T1/phv/m/sl' will be +(Font) scaled to size 8.99994pt on input line 82. + +Underfull \vbox (badness 10000) detected at line 84 + [] + +LaTeX Info: Redefining \. on input line 135. +LaTeX Info: Redefining \% on input line 135. +[12] +Underfull \vbox (badness 10000) detected at line 144 + [] + + +Underfull \vbox (badness 10000) detected at line 163 + [] + +LaTeX Info: Redefining \. on input line 199. +LaTeX Info: Redefining \% on input line 199. +[13]) (./class_socket.tex +LaTeX Info: Redefining \. on input line 47. +LaTeX Info: Redefining \% on input line 47. + [14] +Underfull \vbox (badness 10000) detected at line 87 + [] + + +Underfull \vbox (badness 10000) detected at line 106 + [] + +LaTeX Info: Redefining \. on input line 130. +LaTeX Info: Redefining \% on input line 130. +[15] +Underfull \vbox (badness 10000) detected at line 136 + [] + + +Underfull \vbox (badness 10000) detected at line 174 + [] + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 181. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 181. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 181. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 181. + + +Underfull \vbox (badness 10000) detected at line 190 + [] + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 197. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 197. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 197. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 197. + + +Underfull \vbox (badness 10000) detected at line 206 + [] + +LaTeX Info: Redefining \. on input line 219. +LaTeX Info: Redefining \% on input line 219. +[16] +Underfull \vbox (badness 10000) detected at line 227 + [] + + +Underfull \vbox (badness 10000) detected at line 248 + [] + +) (./class_socket_exception.tex +LaTeX Info: Redefining \. on input line 17. +LaTeX Info: Redefining \% on input line 17. + [17] +Underfull \vbox (badness 10000) detected at line 50 + [] + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 57. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `\sim' on input line 57. + + +Package hyperref Warning: Token not allowed in a PDF string (Unicode): +(hyperref) removing `math shift' on input line 57. + +) (./structthread__args.tex +LaTeX Info: Redefining \. on input line 17. +LaTeX Info: Redefining \% on input line 17. + [18] +LaTeX Info: Redefining \. on input line 74. +LaTeX Info: Redefining \% on input line 74. + [19]) +LaTeX Info: Redefining \. on input line 86. +LaTeX Info: Redefining \% on input line 86. + [20] +Cap\'{\i }tulo 7. +(./client_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--16 + + [] + +[21 + +] +Underfull \vbox (badness 10000) detected at line 57 + [] + +) (./client_8dox.tex) (./howto_8dox.tex) (./server_8h.tex +Overfull \hbox (17.93839pt too wide) in paragraph at lines 3--3 +[]\OT1/phv/bc/n/14.4 Referencia del Archi-vo /home/imanol/devel/eclipse/-P-A-D/ +-J-Chat-Client/src/include/server.h + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 9--16 + + [] + +LaTeX Info: Redefining \. on input line 16. +LaTeX Info: Redefining \% on input line 16. +[22] +LaTeX Info: Redefining \. on input line 62. +LaTeX Info: Redefining \% on input line 62. + [23] +Underfull \vbox (badness 10000) detected at line 85 + [] + + +Underfull \vbox (badness 10000) detected at line 103 + [] + + +Underfull \vbox (badness 10000) detected at line 122 + [] + +LaTeX Info: Redefining \. on input line 135. +LaTeX Info: Redefining \% on input line 135. +[24] +Underfull \vbox (badness 10000) detected at line 140 + [] + +) (./_socket_8h.tex +Underfull \hbox (badness 3471) in paragraph at lines 3--3 +[]\OT1/phv/bc/n/14.4 Referencia del Archi-vo /home/imanol/devel/eclipse/-P-A-D/ +-J-Chat-Client/src/include/- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 9--17 + + [] + +) (./_socket_exception_8h.tex +Underfull \hbox (badness 3471) in paragraph at lines 3--3 +[]\OT1/phv/bc/n/14.4 Referencia del Archi-vo /home/imanol/devel/eclipse/-P-A-D/ +-J-Chat-Client/src/include/- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 9--10 + + [] + +LaTeX Info: Redefining \. on input line 14. +LaTeX Info: Redefining \% on input line 14. +[25]) (./mainpage_8dox.tex) (./makefile_8dox.tex) (./_socket_8cpp.tex +Underfull \hbox (badness 10000) in paragraph at lines 9--15 + + [] + +) (./refman.ind +LaTeX Info: Redefining \. on input line 1. +LaTeX Info: Redefining \% on input line 1. + [26] +Underfull \hbox (badness 10000) in paragraph at lines 5--7 +[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-J-Chat-Client/src/- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 7--9 +[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-J-Chat-Client/src/client.- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 9--11 +[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-J-Chat-Client/src/client.- + [] + + +Overfull \hbox (33.54895pt too wide) in paragraph at lines 17--19 +[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-J-Chat-Client/src/include/s +erver.- + [] + + +Overfull \hbox (17.3224pt too wide) in paragraph at lines 19--21 +[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-J-Chat-Client/src/mainpage. +- + [] + +[27 + +] +LaTeX Info: Redefining \. on input line 237. +LaTeX Info: Redefining \% on input line 237. + [28]) +Package atveryend Info: Empty hook `BeforeClearDocument' on input line 98. +Package atveryend Info: Empty hook `AfterLastShipout' on input line 98. + (./refman.aux +LaTeX Info: Redefining \. on input line 21. +LaTeX Info: Redefining \% on input line 21. +) +Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 98. +Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 98. +Package rerunfilecheck Info: File `refman.out' has not changed. +(rerunfilecheck) Checksum: 3C3EAB854431FF0AE4D253A19F5D16A0;18818. + + +LaTeX Font Warning: Some font shapes were not available, defaults substituted. + +Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 98. + ) +Here is how much of TeX's memory you used: + 12521 strings out of 495059 + 174832 string characters out of 3182031 + 293523 words of memory out of 3000000 + 15185 multiletter control sequences out of 15000+200000 + 80897 words of font info for 114 fonts, out of 3000000 for 9000 + 14 hyphenation exceptions out of 8191 + 41i,13n,58p,590b,625s stack positions out of 5000i,500n,10000p,200000b,50000s +{/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc} +Output written on refman.pdf (34 pages, 156199 bytes). +PDF statistics: + 1110 PDF objects out of 1200 (max. 8388607) + 1055 compressed objects within 11 object streams + 241 named destinations out of 1000 (max. 500000) + 833 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/JChatClient/doc/latex/refman.out b/JChatClient/doc/latex/refman.out new file mode 100644 index 0000000..f008dbb --- /dev/null +++ b/JChatClient/doc/latex/refman.out @@ -0,0 +1,104 @@ +\BOOKMARK [0][-]{chapter.1}{\376\377\000P\000\341\000g\000i\000n\000a\000\040\000p\000r\000i\000n\000c\000i\000p\000a\000l}{}% 1 +\BOOKMARK [0][-]{chapter.2}{\376\377\000C\000l\000i\000e\000n\000t}{}% 2 +\BOOKMARK [0][-]{chapter.3}{\376\377\000H\000O\000W\000T\000O}{}% 3 +\BOOKMARK [1][-]{section.3.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000l\000\040\000p\000r\000o\000t\000o\000c\000o\000l\000o}{chapter.3}% 4 +\BOOKMARK [2][-]{subsection.3.1.1}{\376\377\000M\000o\000d\000o\000\040\000e\000n\000\040\000t\000e\000x\000t\000o\000\040\000l\000l\000a\000n\000o}{section.3.1}% 5 +\BOOKMARK [2][-]{subsection.3.1.2}{\376\377\000E\000n\000v\000\355\000o\000/\000R\000e\000c\000e\000p\000c\000i\000\363\000n\000\040\000d\000e\000\040\000m\000e\000n\000s\000a\000j\000e\000s}{section.3.1}% 6 +\BOOKMARK [1][-]{section.3.2}{\376\377\000C\000o\000m\000p\000i\000l\000a\000c\000i\000\363\000n}{chapter.3}% 7 +\BOOKMARK [2][-]{subsection.3.2.1}{\376\377\000O\000p\000c\000i\000o\000n\000e\000s\000\040\000d\000e\000\040\000c\000o\000m\000p\000i\000l\000a\000c\000i\000\363\000n}{section.3.2}% 8 +\BOOKMARK [2][-]{subsection.3.2.2}{\376\377\000F\000l\000a\000g\000s\000\040\000d\000e\000\040\000c\000o\000m\000p\000i\000l\000a\000c\000i\000\363\000n\000\040\000y\000\040\000l\000i\000b\000r\000e\000r\000\355\000a\000s}{section.3.2}% 9 +\BOOKMARK [1][-]{section.3.3}{\376\377\000E\000j\000e\000m\000p\000l\000o\000s}{chapter.3}% 10 +\BOOKMARK [2][-]{subsection.3.3.1}{\376\377\000P\000r\000o\000g\000r\000a\000m\000a\000r\000\040\000u\000n\000\040\000c\000l\000i\000e\000n\000t\000e}{section.3.3}% 11 +\BOOKMARK [0][-]{chapter.4}{\376\377\000\315\000n\000d\000i\000c\000e\000\040\000d\000e\000\040\000c\000l\000a\000s\000e\000s}{}% 12 +\BOOKMARK [1][-]{section.4.1}{\376\377\000L\000i\000s\000t\000a\000\040\000d\000e\000\040\000c\000l\000a\000s\000e\000s}{chapter.4}% 13 +\BOOKMARK [0][-]{chapter.5}{\376\377\000I\000n\000d\000i\000c\000e\000\040\000d\000e\000\040\000a\000r\000c\000h\000i\000v\000o\000s}{}% 14 +\BOOKMARK [1][-]{section.5.1}{\376\377\000L\000i\000s\000t\000a\000\040\000d\000e\000\040\000a\000r\000c\000h\000i\000v\000o\000s}{chapter.5}% 15 +\BOOKMARK [0][-]{chapter.6}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000c\000l\000a\000s\000e\000s}{}% 16 +\BOOKMARK [1][-]{section.6.1}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000\040\000l\000a\000\040\000C\000l\000a\000s\000e\000\040\000S\000e\000r\000v\000e\000r}{chapter.6}% 17 +\BOOKMARK [2][-]{subsection.6.1.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.6.1}% 18 +\BOOKMARK [2][-]{subsection.6.1.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000l\000\040\000c\000o\000n\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000y\000\040\000d\000e\000s\000t\000r\000u\000c\000t\000o\000r}{section.6.1}% 19 +\BOOKMARK [3][-]{subsubsection.6.1.2.1}{\376\377\000S\000e\000r\000v\000e\000r}{subsection.6.1.2}% 20 +\BOOKMARK [2][-]{subsection.6.1.3}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000f\000u\000n\000c\000i\000o\000n\000e\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.6.1}% 21 +\BOOKMARK [3][-]{subsubsection.6.1.3.1}{\376\377\000f\000r\000e\000e\000R\000A\000M}{subsection.6.1.3}% 22 +\BOOKMARK [3][-]{subsubsection.6.1.3.2}{\376\377\000g\000e\000t\000N\000W\000o\000r\000k\000e\000r\000s}{subsection.6.1.3}% 23 +\BOOKMARK [3][-]{subsubsection.6.1.3.3}{\376\377\000g\000e\000t\000S\000t\000a\000r\000t\000e\000d\000T\000h\000r\000e\000a\000d\000s}{subsection.6.1.3}% 24 +\BOOKMARK [3][-]{subsubsection.6.1.3.4}{\376\377\000g\000e\000t\000S\000t\000o\000p\000p\000e\000d\000T\000h\000r\000e\000a\000d\000s}{subsection.6.1.3}% 25 +\BOOKMARK [3][-]{subsubsection.6.1.3.5}{\376\377\000r\000e\000q\000u\000e\000s\000t\000E\000x\000i\000t}{subsection.6.1.3}% 26 +\BOOKMARK [3][-]{subsubsection.6.1.3.6}{\376\377\000s\000e\000t\000N\000W\000o\000r\000k\000e\000r\000s}{subsection.6.1.3}% 27 +\BOOKMARK [3][-]{subsubsection.6.1.3.7}{\376\377\000s\000t\000a\000r\000t\000S\000e\000r\000v\000e\000r}{subsection.6.1.3}% 28 +\BOOKMARK [2][-]{subsection.6.1.4}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000o\000s\000\040\000d\000a\000t\000o\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.6.1}% 29 +\BOOKMARK [3][-]{subsubsection.6.1.4.1}{\376\377\000n\000W\000o\000r\000k\000e\000r\000s}{subsection.6.1.4}% 30 +\BOOKMARK [3][-]{subsubsection.6.1.4.2}{\376\377\000s\000h\000u\000t\000d\000o\000w\000n\000S\000e\000r\000v\000e\000r}{subsection.6.1.4}% 31 +\BOOKMARK [3][-]{subsubsection.6.1.4.3}{\376\377\000s\000s}{subsection.6.1.4}% 32 +\BOOKMARK [3][-]{subsubsection.6.1.4.4}{\376\377\000s\000t\000a\000r\000t\000e\000d\000T\000h\000r\000e\000a\000d\000s}{subsection.6.1.4}% 33 +\BOOKMARK [3][-]{subsubsection.6.1.4.5}{\376\377\000s\000t\000o\000p\000p\000e\000d\000T\000h\000r\000e\000a\000d\000s}{subsection.6.1.4}% 34 +\BOOKMARK [3][-]{subsubsection.6.1.4.6}{\376\377\000w\000o\000r\000k\000e\000r\000I\000D}{subsection.6.1.4}% 35 +\BOOKMARK [1][-]{section.6.2}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000\040\000l\000a\000\040\000C\000l\000a\000s\000e\000\040\000S\000o\000c\000k\000e\000t}{chapter.6}% 36 +\BOOKMARK [2][-]{subsection.6.2.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.6.2}% 37 +\BOOKMARK [2][-]{subsection.6.2.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000l\000\040\000c\000o\000n\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000y\000\040\000d\000e\000s\000t\000r\000u\000c\000t\000o\000r}{section.6.2}% 38 +\BOOKMARK [3][-]{subsubsection.6.2.2.1}{\376\377\000S\000o\000c\000k\000e\000t}{subsection.6.2.2}% 39 +\BOOKMARK [2][-]{subsection.6.2.3}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000f\000u\000n\000c\000i\000o\000n\000e\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.6.2}% 40 +\BOOKMARK [3][-]{subsubsection.6.2.3.1}{\376\377\000A\000c\000c\000e\000p\000t}{subsection.6.2.3}% 41 +\BOOKMARK [3][-]{subsubsection.6.2.3.2}{\376\377\000B\000i\000n\000d}{subsection.6.2.3}% 42 +\BOOKMARK [3][-]{subsubsection.6.2.3.3}{\376\377\000C\000l\000o\000s\000e}{subsection.6.2.3}% 43 +\BOOKMARK [3][-]{subsubsection.6.2.3.4}{\376\377\000C\000o\000n\000n\000e\000c\000t}{subsection.6.2.3}% 44 +\BOOKMARK [3][-]{subsubsection.6.2.3.5}{\376\377\000C\000r\000e\000a\000t\000e}{subsection.6.2.3}% 45 +\BOOKMARK [3][-]{subsubsection.6.2.3.6}{\376\377\000g\000e\000t\000S\000o\000c\000k}{subsection.6.2.3}% 46 +\BOOKMARK [3][-]{subsubsection.6.2.3.7}{\376\377\000L\000i\000s\000t\000e\000n}{subsection.6.2.3}% 47 +\BOOKMARK [3][-]{subsubsection.6.2.3.8}{\376\377\000o\000p\000e\000r\000a\000t\000o\000r\000<\000<}{subsection.6.2.3}% 48 +\BOOKMARK [3][-]{subsubsection.6.2.3.9}{\376\377\000o\000p\000e\000r\000a\000t\000o\000r\000>\000>}{subsection.6.2.3}% 49 +\BOOKMARK [3][-]{subsubsection.6.2.3.10}{\376\377\000R\000e\000c\000e\000i\000v\000e}{subsection.6.2.3}% 50 +\BOOKMARK [3][-]{subsubsection.6.2.3.11}{\376\377\000S\000e\000n\000d}{subsection.6.2.3}% 51 +\BOOKMARK [2][-]{subsection.6.2.4}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000o\000s\000\040\000d\000a\000t\000o\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.6.2}% 52 +\BOOKMARK [3][-]{subsubsection.6.2.4.1}{\376\377\000s\000o\000c\000k}{subsection.6.2.4}% 53 +\BOOKMARK [3][-]{subsubsection.6.2.4.2}{\376\377\000s\000o\000c\000k\000A\000d\000d\000r}{subsection.6.2.4}% 54 +\BOOKMARK [1][-]{section.6.3}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000\040\000l\000a\000\040\000C\000l\000a\000s\000e\000\040\000S\000o\000c\000k\000e\000t\000E\000x\000c\000e\000p\000t\000i\000o\000n}{chapter.6}% 55 +\BOOKMARK [2][-]{subsection.6.3.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.6.3}% 56 +\BOOKMARK [2][-]{subsection.6.3.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000l\000\040\000c\000o\000n\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000y\000\040\000d\000e\000s\000t\000r\000u\000c\000t\000o\000r}{section.6.3}% 57 +\BOOKMARK [3][-]{subsubsection.6.3.2.1}{\376\377\000S\000o\000c\000k\000e\000t\000E\000x\000c\000e\000p\000t\000i\000o\000n}{subsection.6.3.2}% 58 +\BOOKMARK [3][-]{subsubsection.6.3.2.2}{\376\377\000S\000o\000c\000k\000e\000t\000E\000x\000c\000e\000p\000t\000i\000o\000n}{subsection.6.3.2}% 59 +\BOOKMARK [2][-]{subsection.6.3.3}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000f\000u\000n\000c\000i\000o\000n\000e\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.6.3}% 60 +\BOOKMARK [3][-]{subsubsection.6.3.3.1}{\376\377\000d\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{subsection.6.3.3}% 61 +\BOOKMARK [2][-]{subsection.6.3.4}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000o\000s\000\040\000d\000a\000t\000o\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.6.3}% 62 +\BOOKMARK [3][-]{subsubsection.6.3.4.1}{\376\377\000m\000e\000s\000s\000a\000g\000e}{subsection.6.3.4}% 63 +\BOOKMARK [1][-]{section.6.4}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000\040\000l\000a\000\040\000E\000s\000t\000r\000u\000c\000t\000u\000r\000a\000\040\000t\000h\000r\000e\000a\000d\000\137\000a\000r\000g\000s}{chapter.6}% 64 +\BOOKMARK [2][-]{subsection.6.4.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.6.4}% 65 +\BOOKMARK [2][-]{subsection.6.4.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000o\000s\000\040\000d\000a\000t\000o\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.6.4}% 66 +\BOOKMARK [3][-]{subsubsection.6.4.2.1}{\376\377\000c\000o\000n\000d\000i\000t\000i\000o\000n}{subsection.6.4.2}% 67 +\BOOKMARK [3][-]{subsubsection.6.4.2.2}{\376\377\000i\000d}{subsection.6.4.2}% 68 +\BOOKMARK [3][-]{subsubsection.6.4.2.3}{\376\377\000m\000u\000t\000e\000x}{subsection.6.4.2}% 69 +\BOOKMARK [3][-]{subsubsection.6.4.2.4}{\376\377\000s}{subsection.6.4.2}% 70 +\BOOKMARK [3][-]{subsubsection.6.4.2.5}{\376\377\000s\000e\000r\000v}{subsection.6.4.2}% 71 +\BOOKMARK [3][-]{subsubsection.6.4.2.6}{\376\377\000t\000h\000r\000e\000a\000d}{subsection.6.4.2}% 72 +\BOOKMARK [0][-]{chapter.7}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000a\000r\000c\000h\000i\000v\000o\000s}{}% 73 +\BOOKMARK [1][-]{section.7.1}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000J\000C\000h\000a\000t\000C\000l\000i\000e\000n\000t\000/\000s\000r\000c\000/\000c\000l\000i\000e\000n\000t\000.\000c\000p\000p}{chapter.7}% 74 +\BOOKMARK [2][-]{subsection.7.1.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.7.1}% 75 +\BOOKMARK [2][-]{subsection.7.1.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000f\000u\000n\000c\000i\000o\000n\000e\000s}{section.7.1}% 76 +\BOOKMARK [3][-]{subsubsection.7.1.2.1}{\376\377\000e\000x\000i\000t\000C\000l\000i\000e\000n\000t}{subsection.7.1.2}% 77 +\BOOKMARK [3][-]{subsubsection.7.1.2.2}{\376\377\000m\000a\000i\000n}{subsection.7.1.2}% 78 +\BOOKMARK [3][-]{subsubsection.7.1.2.3}{\376\377\000p\000r\000o\000c\000e\000s\000s\000C\000M\000D}{subsection.7.1.2}% 79 +\BOOKMARK [2][-]{subsection.7.1.3}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000v\000a\000r\000i\000a\000b\000l\000e\000s}{section.7.1}% 80 +\BOOKMARK [3][-]{subsubsection.7.1.3.1}{\376\377\000c\000o\000n\000n\000e\000c\000t\000e\000d}{subsection.7.1.3}% 81 +\BOOKMARK [1][-]{section.7.2}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000J\000C\000h\000a\000t\000C\000l\000i\000e\000n\000t\000/\000s\000r\000c\000/\000c\000l\000i\000e\000n\000t\000.\000d\000o\000x}{chapter.7}% 82 +\BOOKMARK [2][-]{subsection.7.2.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.7.2}% 83 +\BOOKMARK [1][-]{section.7.3}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000J\000C\000h\000a\000t\000C\000l\000i\000e\000n\000t\000/\000s\000r\000c\000/\000h\000o\000w\000t\000o\000.\000d\000o\000x}{chapter.7}% 84 +\BOOKMARK [2][-]{subsection.7.3.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.7.3}% 85 +\BOOKMARK [1][-]{section.7.4}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000J\000C\000h\000a\000t\000C\000l\000i\000e\000n\000t\000/\000s\000r\000c\000/\000i\000n\000c\000l\000u\000d\000e\000/\000s\000e\000r\000v\000e\000r\000.\000h}{chapter.7}% 86 +\BOOKMARK [2][-]{subsection.7.4.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.7.4}% 87 +\BOOKMARK [2][-]{subsection.7.4.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000o\000s\000\040\000'\000d\000e\000f\000i\000n\000e\000s\000'}{section.7.4}% 88 +\BOOKMARK [3][-]{subsubsection.7.4.2.1}{\376\377\000C\000O\000N\000F\000F\000I\000L\000E}{subsection.7.4.2}% 89 +\BOOKMARK [3][-]{subsubsection.7.4.2.2}{\376\377\000N}{subsection.7.4.2}% 90 +\BOOKMARK [2][-]{subsection.7.4.3}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000f\000u\000n\000c\000i\000o\000n\000e\000s}{section.7.4}% 91 +\BOOKMARK [3][-]{subsubsection.7.4.3.1}{\376\377\000k\000i\000l\000l\000T\000h\000r\000e\000a\000d}{subsection.7.4.3}% 92 +\BOOKMARK [3][-]{subsubsection.7.4.3.2}{\376\377\000p\000r\000o\000c\000e\000s\000s\000T\000e\000x\000t}{subsection.7.4.3}% 93 +\BOOKMARK [3][-]{subsubsection.7.4.3.3}{\376\377\000r\000e\000a\000d\000C\000o\000n\000f}{subsection.7.4.3}% 94 +\BOOKMARK [3][-]{subsubsection.7.4.3.4}{\376\377\000W\000o\000r\000k\000e\000r\000T\000h\000r\000e\000a\000d}{subsection.7.4.3}% 95 +\BOOKMARK [1][-]{section.7.5}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000J\000C\000h\000a\000t\000C\000l\000i\000e\000n\000t\000/\000s\000r\000c\000/\000i\000n\000c\000l\000u\000d\000e\000/\000S\000o\000c\000k\000e\000t\000.\000h}{chapter.7}% 96 +\BOOKMARK [2][-]{subsection.7.5.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.7.5}% 97 +\BOOKMARK [1][-]{section.7.6}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000J\000C\000h\000a\000t\000C\000l\000i\000e\000n\000t\000/\000s\000r\000c\000/\000i\000n\000c\000l\000u\000d\000e\000/\000S\000o\000c\000k\000e\000t\000E\000x\000c\000e\000p\000t\000i\000o\000n\000.\000h}{chapter.7}% 98 +\BOOKMARK [2][-]{subsection.7.6.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.7.6}% 99 +\BOOKMARK [1][-]{section.7.7}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000J\000C\000h\000a\000t\000C\000l\000i\000e\000n\000t\000/\000s\000r\000c\000/\000m\000a\000i\000n\000p\000a\000g\000e\000.\000d\000o\000x}{chapter.7}% 100 +\BOOKMARK [1][-]{section.7.8}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000J\000C\000h\000a\000t\000C\000l\000i\000e\000n\000t\000/\000s\000r\000c\000/\000m\000a\000k\000e\000f\000i\000l\000e\000.\000d\000o\000x}{chapter.7}% 101 +\BOOKMARK [1][-]{section.7.9}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000J\000C\000h\000a\000t\000C\000l\000i\000e\000n\000t\000/\000s\000r\000c\000/\000S\000o\000c\000k\000e\000t\000.\000c\000p\000p}{chapter.7}% 102 +\BOOKMARK [2][-]{subsection.7.9.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.7.9}% 103 +\BOOKMARK [-1][-]{subsection.7.9.1}{\376\377\000\315\000n\000d\000i\000c\000e}{}% 104 diff --git a/JChatClient/doc/latex/refman.pdf b/JChatClient/doc/latex/refman.pdf new file mode 100644 index 0000000..0fa6c5d Binary files /dev/null and b/JChatClient/doc/latex/refman.pdf differ diff --git a/JChatClient/doc/latex/refman.tex b/JChatClient/doc/latex/refman.tex new file mode 100644 index 0000000..7db8565 --- /dev/null +++ b/JChatClient/doc/latex/refman.tex @@ -0,0 +1,98 @@ +\documentclass{book} +\usepackage[a4paper,top=2.5cm,bottom=2.5cm,left=2.5cm,right=2.5cm]{geometry} +\usepackage{makeidx} +\usepackage{natbib} +\usepackage{graphicx} +\usepackage{multicol} +\usepackage{float} +\usepackage{listings} +\usepackage{color} +\usepackage{ifthen} +\usepackage[table]{xcolor} +\usepackage{textcomp} +\usepackage{alltt} +\usepackage{ifpdf} +\ifpdf +\usepackage[pdftex, + pagebackref=true, + colorlinks=true, + linkcolor=blue, + unicode + ]{hyperref} +\else +\usepackage[ps2pdf, + pagebackref=true, + colorlinks=true, + linkcolor=blue, + unicode + ]{hyperref} +\usepackage{pspicture} +\fi +\usepackage[utf8]{inputenc} +\usepackage[spanish]{babel} +\usepackage{mathptmx} +\usepackage[scaled=.90]{helvet} +\usepackage{courier} +\usepackage{sectsty} +\usepackage{amssymb} +\usepackage[titles]{tocloft} +\usepackage{doxygen} +\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left } +\makeindex +\setcounter{tocdepth}{3} +\renewcommand{\footrulewidth}{0.4pt} +\renewcommand{\familydefault}{\sfdefault} +\hfuzz=15pt +\setlength{\emergencystretch}{15pt} +\hbadness=750 +\tolerance=750 +\begin{document} +\hypersetup{pageanchor=false,citecolor=blue} +\begin{titlepage} +\vspace*{7cm} +\begin{center} +{\Large Socket }\\ +\vspace*{1cm} +{\large Generado por Doxygen 1.8.3.1}\\ +\vspace*{0.5cm} +{\small Sábado, 7 de Diciembre de 2013 01:45:58}\\ +\end{center} +\end{titlepage} +\clearemptydoublepage +\pagenumbering{roman} +\tableofcontents +\clearemptydoublepage +\pagenumbering{arabic} +\hypersetup{pageanchor=true,citecolor=blue} +\chapter{Página principal} +\label{index}\hypertarget{index}{}\input{index} +\chapter{Client} +\label{client_code} +\hypertarget{client_code}{} +\input{client_code} +\chapter{H\-O\-W\-T\-O} +\label{howto} +\hypertarget{howto}{} +\input{howto} +\chapter{Índice de clases} +\input{annotated} +\chapter{Indice de archivos} +\input{files} +\chapter{Documentación de las clases} +\input{class_server} +\input{class_socket} +\input{class_socket_exception} +\input{structthread__args} +\chapter{Documentación de archivos} +\input{client_8cpp} +\input{client_8dox} +\input{howto_8dox} +\input{server_8h} +\input{_socket_8h} +\input{_socket_exception_8h} +\input{mainpage_8dox} +\input{makefile_8dox} +\input{_socket_8cpp} +\addcontentsline{toc}{part}{Índice} +\printindex +\end{document} diff --git a/JChatClient/doc/latex/refman.toc b/JChatClient/doc/latex/refman.toc new file mode 100644 index 0000000..f2e5d13 --- /dev/null +++ b/JChatClient/doc/latex/refman.toc @@ -0,0 +1,105 @@ +\select@language {spanish} +\contentsline {chapter}{\numberline {1}P\IeC {\'a}gina principal}{1}{chapter.1} +\contentsline {chapter}{\numberline {2}Client}{3}{chapter.2} +\contentsline {chapter}{\numberline {3}H\discretionary {-}{}{}O\discretionary {-}{}{}W\discretionary {-}{}{}T\discretionary {-}{}{}O}{5}{chapter.3} +\contentsline {section}{\numberline {3.1}Descripci\IeC {\'o}n del protocolo}{5}{section.3.1} +\contentsline {subsection}{\numberline {3.1.1}Modo en texto llano}{5}{subsection.3.1.1} +\contentsline {subsection}{\numberline {3.1.2}Env\IeC {\'\i }o/\discretionary {-}{}{}Recepci\IeC {\'o}n de mensajes}{5}{subsection.3.1.2} +\contentsline {section}{\numberline {3.2}Compilaci\IeC {\'o}n}{6}{section.3.2} +\contentsline {subsection}{\numberline {3.2.1}Opciones de compilaci\IeC {\'o}n}{6}{subsection.3.2.1} +\contentsline {subsection}{\numberline {3.2.2}Flags de compilaci\IeC {\'o}n y librer\IeC {\'\i }as}{6}{subsection.3.2.2} +\contentsline {section}{\numberline {3.3}Ejemplos}{6}{section.3.3} +\contentsline {subsection}{\numberline {3.3.1}Programar un cliente}{6}{subsection.3.3.1} +\contentsline {chapter}{\numberline {4}\IeC {\'I}ndice de clases}{7}{chapter.4} +\contentsline {section}{\numberline {4.1}Lista de clases}{7}{section.4.1} +\contentsline {chapter}{\numberline {5}Indice de archivos}{9}{chapter.5} +\contentsline {section}{\numberline {5.1}Lista de archivos}{9}{section.5.1} +\contentsline {chapter}{\numberline {6}Documentaci\IeC {\'o}n de las clases}{11}{chapter.6} +\contentsline {section}{\numberline {6.1}Referencia de la Clase Server}{11}{section.6.1} +\contentsline {subsection}{\numberline {6.1.1}Descripci\IeC {\'o}n detallada}{12}{subsection.6.1.1} +\contentsline {subsection}{\numberline {6.1.2}Documentaci\IeC {\'o}n del constructor y destructor}{12}{subsection.6.1.2} +\contentsline {subsubsection}{\numberline {6.1.2.1}Server}{12}{subsubsection.6.1.2.1} +\contentsline {subsection}{\numberline {6.1.3}Documentaci\IeC {\'o}n de las funciones miembro}{12}{subsection.6.1.3} +\contentsline {subsubsection}{\numberline {6.1.3.1}free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M}{12}{subsubsection.6.1.3.1} +\contentsline {subsubsection}{\numberline {6.1.3.2}get\discretionary {-}{}{}N\discretionary {-}{}{}Workers}{12}{subsubsection.6.1.3.2} +\contentsline {subsubsection}{\numberline {6.1.3.3}get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads}{12}{subsubsection.6.1.3.3} +\contentsline {subsubsection}{\numberline {6.1.3.4}get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads}{12}{subsubsection.6.1.3.4} +\contentsline {subsubsection}{\numberline {6.1.3.5}request\discretionary {-}{}{}Exit}{12}{subsubsection.6.1.3.5} +\contentsline {subsubsection}{\numberline {6.1.3.6}set\discretionary {-}{}{}N\discretionary {-}{}{}Workers}{13}{subsubsection.6.1.3.6} +\contentsline {subsubsection}{\numberline {6.1.3.7}start\discretionary {-}{}{}Server}{13}{subsubsection.6.1.3.7} +\contentsline {subsection}{\numberline {6.1.4}Documentaci\IeC {\'o}n de los datos miembro}{13}{subsection.6.1.4} +\contentsline {subsubsection}{\numberline {6.1.4.1}n\discretionary {-}{}{}Workers}{13}{subsubsection.6.1.4.1} +\contentsline {subsubsection}{\numberline {6.1.4.2}shutdown\discretionary {-}{}{}Server}{13}{subsubsection.6.1.4.2} +\contentsline {subsubsection}{\numberline {6.1.4.3}ss}{13}{subsubsection.6.1.4.3} +\contentsline {subsubsection}{\numberline {6.1.4.4}started\discretionary {-}{}{}Threads}{13}{subsubsection.6.1.4.4} +\contentsline {subsubsection}{\numberline {6.1.4.5}stopped\discretionary {-}{}{}Threads}{14}{subsubsection.6.1.4.5} +\contentsline {subsubsection}{\numberline {6.1.4.6}worker\discretionary {-}{}{}I\discretionary {-}{}{}D}{14}{subsubsection.6.1.4.6} +\contentsline {section}{\numberline {6.2}Referencia de la Clase Socket}{14}{section.6.2} +\contentsline {subsection}{\numberline {6.2.1}Descripci\IeC {\'o}n detallada}{15}{subsection.6.2.1} +\contentsline {subsection}{\numberline {6.2.2}Documentaci\IeC {\'o}n del constructor y destructor}{15}{subsection.6.2.2} +\contentsline {subsubsection}{\numberline {6.2.2.1}Socket}{15}{subsubsection.6.2.2.1} +\contentsline {subsection}{\numberline {6.2.3}Documentaci\IeC {\'o}n de las funciones miembro}{15}{subsection.6.2.3} +\contentsline {subsubsection}{\numberline {6.2.3.1}Accept}{15}{subsubsection.6.2.3.1} +\contentsline {subsubsection}{\numberline {6.2.3.2}Bind}{15}{subsubsection.6.2.3.2} +\contentsline {subsubsection}{\numberline {6.2.3.3}Close}{15}{subsubsection.6.2.3.3} +\contentsline {subsubsection}{\numberline {6.2.3.4}Connect}{16}{subsubsection.6.2.3.4} +\contentsline {subsubsection}{\numberline {6.2.3.5}Create}{16}{subsubsection.6.2.3.5} +\contentsline {subsubsection}{\numberline {6.2.3.6}get\discretionary {-}{}{}Sock}{16}{subsubsection.6.2.3.6} +\contentsline {subsubsection}{\numberline {6.2.3.7}Listen}{16}{subsubsection.6.2.3.7} +\contentsline {subsubsection}{\numberline {6.2.3.8}operator$<$$<$}{16}{subsubsection.6.2.3.8} +\contentsline {subsubsection}{\numberline {6.2.3.9}operator$>$$>$}{16}{subsubsection.6.2.3.9} +\contentsline {subsubsection}{\numberline {6.2.3.10}Receive}{17}{subsubsection.6.2.3.10} +\contentsline {subsubsection}{\numberline {6.2.3.11}Send}{17}{subsubsection.6.2.3.11} +\contentsline {subsection}{\numberline {6.2.4}Documentaci\IeC {\'o}n de los datos miembro}{17}{subsection.6.2.4} +\contentsline {subsubsection}{\numberline {6.2.4.1}sock}{17}{subsubsection.6.2.4.1} +\contentsline {subsubsection}{\numberline {6.2.4.2}sock\discretionary {-}{}{}Addr}{17}{subsubsection.6.2.4.2} +\contentsline {section}{\numberline {6.3}Referencia de la Clase Socket\discretionary {-}{}{}Exception}{17}{section.6.3} +\contentsline {subsection}{\numberline {6.3.1}Descripci\IeC {\'o}n detallada}{18}{subsection.6.3.1} +\contentsline {subsection}{\numberline {6.3.2}Documentaci\IeC {\'o}n del constructor y destructor}{18}{subsection.6.3.2} +\contentsline {subsubsection}{\numberline {6.3.2.1}Socket\discretionary {-}{}{}Exception}{18}{subsubsection.6.3.2.1} +\contentsline {subsubsection}{\numberline {6.3.2.2}$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception}{18}{subsubsection.6.3.2.2} +\contentsline {subsection}{\numberline {6.3.3}Documentaci\IeC {\'o}n de las funciones miembro}{18}{subsection.6.3.3} +\contentsline {subsubsection}{\numberline {6.3.3.1}description}{18}{subsubsection.6.3.3.1} +\contentsline {subsection}{\numberline {6.3.4}Documentaci\IeC {\'o}n de los datos miembro}{18}{subsection.6.3.4} +\contentsline {subsubsection}{\numberline {6.3.4.1}message}{18}{subsubsection.6.3.4.1} +\contentsline {section}{\numberline {6.4}Referencia de la Estructura thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}{18}{section.6.4} +\contentsline {subsection}{\numberline {6.4.1}Descripci\IeC {\'o}n detallada}{19}{subsection.6.4.1} +\contentsline {subsection}{\numberline {6.4.2}Documentaci\IeC {\'o}n de los datos miembro}{19}{subsection.6.4.2} +\contentsline {subsubsection}{\numberline {6.4.2.1}condition}{19}{subsubsection.6.4.2.1} +\contentsline {subsubsection}{\numberline {6.4.2.2}id}{19}{subsubsection.6.4.2.2} +\contentsline {subsubsection}{\numberline {6.4.2.3}mutex}{19}{subsubsection.6.4.2.3} +\contentsline {subsubsection}{\numberline {6.4.2.4}s}{20}{subsubsection.6.4.2.4} +\contentsline {subsubsection}{\numberline {6.4.2.5}serv}{20}{subsubsection.6.4.2.5} +\contentsline {subsubsection}{\numberline {6.4.2.6}thread}{20}{subsubsection.6.4.2.6} +\contentsline {chapter}{\numberline {7}Documentaci\IeC {\'o}n de archivos}{21}{chapter.7} +\contentsline {section}{\numberline {7.1}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/client.cpp}{21}{section.7.1} +\contentsline {subsection}{\numberline {7.1.1}Descripci\IeC {\'o}n detallada}{21}{subsection.7.1.1} +\contentsline {subsection}{\numberline {7.1.2}Documentaci\IeC {\'o}n de las funciones}{22}{subsection.7.1.2} +\contentsline {subsubsection}{\numberline {7.1.2.1}exit\discretionary {-}{}{}Client}{22}{subsubsection.7.1.2.1} +\contentsline {subsubsection}{\numberline {7.1.2.2}main}{22}{subsubsection.7.1.2.2} +\contentsline {subsubsection}{\numberline {7.1.2.3}process\discretionary {-}{}{}C\discretionary {-}{}{}M\discretionary {-}{}{}D}{22}{subsubsection.7.1.2.3} +\contentsline {subsection}{\numberline {7.1.3}Documentaci\IeC {\'o}n de las variables}{22}{subsection.7.1.3} +\contentsline {subsubsection}{\numberline {7.1.3.1}connected}{22}{subsubsection.7.1.3.1} +\contentsline {section}{\numberline {7.2}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/client.dox}{22}{section.7.2} +\contentsline {subsection}{\numberline {7.2.1}Descripci\IeC {\'o}n detallada}{22}{subsection.7.2.1} +\contentsline {section}{\numberline {7.3}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/howto.dox}{22}{section.7.3} +\contentsline {subsection}{\numberline {7.3.1}Descripci\IeC {\'o}n detallada}{22}{subsection.7.3.1} +\contentsline {section}{\numberline {7.4}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/server.h}{22}{section.7.4} +\contentsline {subsection}{\numberline {7.4.1}Descripci\IeC {\'o}n detallada}{23}{subsection.7.4.1} +\contentsline {subsection}{\numberline {7.4.2}Documentaci\IeC {\'o}n de los 'defines'}{24}{subsection.7.4.2} +\contentsline {subsubsection}{\numberline {7.4.2.1}C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E}{24}{subsubsection.7.4.2.1} +\contentsline {subsubsection}{\numberline {7.4.2.2}N}{24}{subsubsection.7.4.2.2} +\contentsline {subsection}{\numberline {7.4.3}Documentaci\IeC {\'o}n de las funciones}{24}{subsection.7.4.3} +\contentsline {subsubsection}{\numberline {7.4.3.1}kill\discretionary {-}{}{}Thread}{24}{subsubsection.7.4.3.1} +\contentsline {subsubsection}{\numberline {7.4.3.2}process\discretionary {-}{}{}Text}{24}{subsubsection.7.4.3.2} +\contentsline {subsubsection}{\numberline {7.4.3.3}read\discretionary {-}{}{}Conf}{24}{subsubsection.7.4.3.3} +\contentsline {subsubsection}{\numberline {7.4.3.4}Worker\discretionary {-}{}{}Thread}{24}{subsubsection.7.4.3.4} +\contentsline {section}{\numberline {7.5}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/\discretionary {-}{}{}Socket.h}{25}{section.7.5} +\contentsline {subsection}{\numberline {7.5.1}Descripci\IeC {\'o}n detallada}{25}{subsection.7.5.1} +\contentsline {section}{\numberline {7.6}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/include/\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception.h}{25}{section.7.6} +\contentsline {subsection}{\numberline {7.6.1}Descripci\IeC {\'o}n detallada}{26}{subsection.7.6.1} +\contentsline {section}{\numberline {7.7}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/mainpage.dox}{26}{section.7.7} +\contentsline {section}{\numberline {7.8}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/makefile.dox}{26}{section.7.8} +\contentsline {section}{\numberline {7.9}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}J\discretionary {-}{}{}Chat\discretionary {-}{}{}Client/src/\discretionary {-}{}{}Socket.cpp}{26}{section.7.9} +\contentsline {subsection}{\numberline {7.9.1}Descripci\IeC {\'o}n detallada}{26}{subsection.7.9.1} +\contentsline {part}{\IeC {\'I}ndice}{26}{subsection.7.9.1} diff --git a/JChatClient/doc/latex/server_8cpp.tex b/JChatClient/doc/latex/server_8cpp.tex new file mode 100644 index 0000000..e4bd1c4 --- /dev/null +++ b/JChatClient/doc/latex/server_8cpp.tex @@ -0,0 +1,19 @@ +\hypertarget{server_8cpp}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.cpp} +\label{server_8cpp}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.\-cpp@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.\-cpp}} +} + + +Fichero de implementación de la clase \hyperlink{class_server}{Server}. + + +{\ttfamily \#include \char`\"{}server.\-h\char`\"{}}\\* + + +\subsection{Descripción detallada} +Fichero de implementación de la clase \hyperlink{class_server}{Server}. \begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +13/06/2013 +\end{DoxyDate} +En este fichero se implementan los métodos de la clase \hyperlink{class_server}{Server} definidos en \hyperlink{server_8h}{server.\-h} \ No newline at end of file diff --git a/JChatClient/doc/latex/server_8dox.tex b/JChatClient/doc/latex/server_8dox.tex new file mode 100644 index 0000000..a8bd3a6 --- /dev/null +++ b/JChatClient/doc/latex/server_8dox.tex @@ -0,0 +1,12 @@ +\hypertarget{server_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.dox} +\label{server_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.\-dox}} +} + + +\subsection{Descripción detallada} +\begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +13/06/2013 +\end{DoxyDate} diff --git a/JChatClient/doc/latex/server_8h.tex b/JChatClient/doc/latex/server_8h.tex new file mode 100644 index 0000000..0e69149 --- /dev/null +++ b/JChatClient/doc/latex/server_8h.tex @@ -0,0 +1,140 @@ +\hypertarget{server_8h}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/server.h} +\label{server_8h}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/server.\-h@{/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/server.\-h}} +} + + +Header de la clase \hyperlink{class_server}{Server}. + + +{\ttfamily \#include \char`\"{}Socket.\-h\char`\"{}}\\* +{\ttfamily \#include \char`\"{}Socket\-Exception.\-h\char`\"{}}\\* +{\ttfamily \#include $<$iostream$>$}\\* +{\ttfamily \#include $<$sstream$>$}\\* +{\ttfamily \#include $<$signal.\-h$>$}\\* +{\ttfamily \#include $<$fstream$>$}\\* +{\ttfamily \#include $<$list$>$}\\* +\subsection*{Clases} +\begin{DoxyCompactItemize} +\item +class \hyperlink{class_server}{Server} +\begin{DoxyCompactList}\small\item\em Clase de aplicación servidor. \end{DoxyCompactList}\item +struct \hyperlink{structthread__args}{thread\-\_\-args} +\begin{DoxyCompactList}\small\item\em Argumentos de los threads. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{'defines'} +\begin{DoxyCompactItemize} +\item +\#define \hyperlink{server_8h_a0240ac851181b84ac374872dc5434ee4}{N}~5 +\begin{DoxyCompactList}\small\item\em Numero de conexiones permitidas activas (en espera o activas) \end{DoxyCompactList}\item +\#define \hyperlink{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd}{C\-O\-N\-F\-F\-I\-L\-E}~\char`\"{}socket.\-conf\char`\"{} +\begin{DoxyCompactList}\small\item\em Ruta al fichero de configuración. \end{DoxyCompactList}\end{DoxyCompactItemize} +\subsection*{Funciones} +\begin{DoxyCompactItemize} +\item +void \hyperlink{server_8h_ab99831172d1d4bca2c79bb37c7c062df}{kill\-Thread} (\hyperlink{structthread__args}{thread\-\_\-args} $\ast$t\-\_\-arg) +\begin{DoxyCompactList}\small\item\em Método de finalización de Threads. \end{DoxyCompactList}\item +void $\ast$ \hyperlink{server_8h_a7d13c650ec7a525ad17cabba4f371745}{Worker\-Thread} (void $\ast$args) +\begin{DoxyCompactList}\small\item\em Método gestión de conexiones. \end{DoxyCompactList}\item +void \hyperlink{server_8h_aa6328bc358b87d3e11c3f460d6427c5b}{process\-Text} (string $\ast$str) +\begin{DoxyCompactList}\small\item\em Método auxiliar de procesado de texto. \end{DoxyCompactList}\item +bool \hyperlink{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{read\-Conf} (string $\ast$ip, int $\ast$port) +\begin{DoxyCompactList}\small\item\em Método de lectura de configuración. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Descripción detallada} +Header de la clase \hyperlink{class_server}{Server}. \begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +11/06/2013 +\end{DoxyDate} +En este fichero se define la clase \hyperlink{class_server}{Server} y algunos métodos globales usados por ésta para la gestión de threads y otros aspectos. + +\subsection{Documentación de los 'defines'} +\hypertarget{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd}{\index{server.\-h@{server.\-h}!C\-O\-N\-F\-F\-I\-L\-E@{C\-O\-N\-F\-F\-I\-L\-E}} +\index{C\-O\-N\-F\-F\-I\-L\-E@{C\-O\-N\-F\-F\-I\-L\-E}!server.h@{server.\-h}} +\subsubsection[{C\-O\-N\-F\-F\-I\-L\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-O\-N\-F\-F\-I\-L\-E~\char`\"{}socket.\-conf\char`\"{}}}\label{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd} + + +Ruta al fichero de configuración. + +Ruta relativa o absoluta al fichero de configuración, de no existir o ser inválido el programa no funcionará. \hypertarget{server_8h_a0240ac851181b84ac374872dc5434ee4}{\index{server.\-h@{server.\-h}!N@{N}} +\index{N@{N}!server.h@{server.\-h}} +\subsubsection[{N}]{\setlength{\rightskip}{0pt plus 5cm}\#define N~5}}\label{server_8h_a0240ac851181b84ac374872dc5434ee4} + + +Numero de conexiones permitidas activas (en espera o activas) + +Esta constante controla cuantas conexiones puede haber en espera o cuantas puede haber establecias en cualquier momento\-: habrá N activas y N en espera como mucho, no N en espera o activas. + +\subsection{Documentación de las funciones} +\hypertarget{server_8h_ab99831172d1d4bca2c79bb37c7c062df}{\index{server.\-h@{server.\-h}!kill\-Thread@{kill\-Thread}} +\index{kill\-Thread@{kill\-Thread}!server.h@{server.\-h}} +\subsubsection[{kill\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}void kill\-Thread ( +\begin{DoxyParamCaption} +\item[{{\bf thread\-\_\-args} $\ast$}]{t\-\_\-arg} +\end{DoxyParamCaption} +)}}\label{server_8h_ab99831172d1d4bca2c79bb37c7c062df} + + +Método de finalización de Threads. + +Éste método se ejecuta para liberar la memoria de los argumentos del thread y mandarlo a la pila de threads terminados. +\begin{DoxyParams}{Parámetros} +{\em t\-\_\-arg} & Puntero al struct que contiene los argumentos del thread \\ +\hline +\end{DoxyParams} +\hypertarget{server_8h_aa6328bc358b87d3e11c3f460d6427c5b}{\index{server.\-h@{server.\-h}!process\-Text@{process\-Text}} +\index{process\-Text@{process\-Text}!server.h@{server.\-h}} +\subsubsection[{process\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void process\-Text ( +\begin{DoxyParamCaption} +\item[{string $\ast$}]{str} +\end{DoxyParamCaption} +)}}\label{server_8h_aa6328bc358b87d3e11c3f460d6427c5b} + + +Método auxiliar de procesado de texto. + +Éste método usa para procesar las entradas de texto del fichero de configuración para adaptarlas a un formato adecuado. + +{\itshape De momento se limita a eliminar whitespace (tabulaciones, saltos de línea y espacios).} +\begin{DoxyParams}{Parámetros} +{\em str} & Línea de texto a procesar \\ +\hline +\end{DoxyParams} +\hypertarget{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{\index{server.\-h@{server.\-h}!read\-Conf@{read\-Conf}} +\index{read\-Conf@{read\-Conf}!server.h@{server.\-h}} +\subsubsection[{read\-Conf}]{\setlength{\rightskip}{0pt plus 5cm}bool read\-Conf ( +\begin{DoxyParamCaption} +\item[{string $\ast$}]{ip, } +\item[{int $\ast$}]{port} +\end{DoxyParamCaption} +)}}\label{server_8h_a4f850f08d755a0d0ebe936b5b84975e3} + + +Método de lectura de configuración. + +Éste método lee el fichero de configuración espeficado para obtener parámetros de configuración para el funcionamiento del servidor. +\begin{DoxyParams}{Parámetros} +{\em ip} & Puntero donde se almacena la I\-P leída \\ +\hline +{\em port} & Puntero donde se almacena el puerto leído \\ +\hline +\end{DoxyParams} +\hypertarget{server_8h_a7d13c650ec7a525ad17cabba4f371745}{\index{server.\-h@{server.\-h}!Worker\-Thread@{Worker\-Thread}} +\index{Worker\-Thread@{Worker\-Thread}!server.h@{server.\-h}} +\subsubsection[{Worker\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ Worker\-Thread ( +\begin{DoxyParamCaption} +\item[{void $\ast$}]{args} +\end{DoxyParamCaption} +)}}\label{server_8h_a7d13c650ec7a525ad17cabba4f371745} + + +Método gestión de conexiones. + +Éste método es el que los threads ejecutan al crearse, aquí es donde se define el comportamiento del servidor, ya que cada conexión se gestionará como aquí se detalla. + +{\itshape Por defecto, el comportamiento que lleva programado es el de un servidor \char`\"{}echo\char`\"{}, esperará que el cliente le envíe un mensaje y responderá con el mismo mensaje.} +\begin{DoxyParams}{Parámetros} +{\em args} & Puntero al struct de los argumentos del thread casteado a tipo void$\ast$ \\ +\hline +\end{DoxyParams} diff --git a/JChatClient/doc/latex/server_code.tex b/JChatClient/doc/latex/server_code.tex new file mode 100644 index 0000000..430ef3f --- /dev/null +++ b/JChatClient/doc/latex/server_code.tex @@ -0,0 +1,119 @@ +Ejemplo de aplicación servidor + + +\begin{DoxyCode} +\textcolor{preprocessor}{#include "\hyperlink{server_8h}{server.h}"} +\textcolor{preprocessor}{#include } + +\hyperlink{class_server}{Server} *\hyperlink{main__server_8cpp_ab6b71e6574fcb2d2e0a5c2af08a2799f}{serv}; + +\textcolor{keywordtype}{void} \hyperlink{server_8h_ab99831172d1d4bca2c79bb37c7c062df}{killThread}(\hyperlink{structthread__args}{thread\_args} *t\_arg) +\{ + (t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s})->Close(); + pthread\_mutex\_lock(t\_arg->\hyperlink{structthread__args_ad5d64499f5f6e2df467c96b52a94c520}{mutex}); + t\_arg->\hyperlink{structthread__args_ab29508135b033282f374d0fb47028fbd}{serv}->\hyperlink{class_server_a0090663c66f1f371f8b1aa87c5f49623}{setNWorkers}(t\_arg->\hyperlink{structthread__args_ab29508135b033282f374d0fb47028fbd}{serv}->\hyperlink{class_server_acf13ac1f7fc49f28c1b1fa76eab209ab}{getNWorkers}()-1); + cout << \textcolor{stringliteral}{"Worker "} << t\_arg->\hyperlink{structthread__args_a6322b3468fd88f8f49977a6439e9f352}{id} << \textcolor{stringliteral}{": connection terminated"} << endl; + pthread\_mutex\_unlock(t\_arg->\hyperlink{structthread__args_ad5d64499f5f6e2df467c96b52a94c520}{mutex}); + pthread\_cond\_signal(t\_arg->\hyperlink{structthread__args_a96ee28beaed4175257db3d8794245f25}{condition}); + t\_arg->\hyperlink{structthread__args_ab29508135b033282f374d0fb47028fbd}{serv}->\hyperlink{class_server_a0622813f3b675ab661d5f628cec03d30}{getStartedThreads}()->remove(t\_arg-> + \hyperlink{structthread__args_acdcd2db4307e5e75d5110067e196a70e}{thread}); + t\_arg->\hyperlink{structthread__args_ab29508135b033282f374d0fb47028fbd}{serv}->\hyperlink{class_server_a81289d4e58dec18dd01e343c7f397c1e}{getStoppedThreads}()->push\_back(t\_arg-> + \hyperlink{structthread__args_acdcd2db4307e5e75d5110067e196a70e}{thread}); + \textcolor{keywordflow}{if}(t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s} != 0) + \{ + \textcolor{keyword}{delete} t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s}; + t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s} = 0; + \} + \textcolor{keywordflow}{if}(t\_arg != 0) + \{ + \textcolor{keyword}{delete} t\_arg; + t\_arg = 0; + \} + pthread\_exit(NULL); +\} + +\textcolor{keywordtype}{void} *\hyperlink{server_8h_a7d13c650ec7a525ad17cabba4f371745}{WorkerThread}(\textcolor{keywordtype}{void}* args) +\{ + \textcolor{keyword}{struct }\hyperlink{structthread__args}{thread\_args} *t\_arg = (\textcolor{keyword}{struct }\hyperlink{structthread__args}{thread\_args}*)args; + \textcolor{keywordflow}{while}(\textcolor{keyword}{true}) + \{ + \textcolor{keywordtype}{string} message; + *(t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s}) >> message; + cout << \textcolor{stringliteral}{"Worker "} << t\_arg->\hyperlink{structthread__args_a6322b3468fd88f8f49977a6439e9f352}{id} << \textcolor{stringliteral}{" received: "} << message << endl; + \textcolor{keywordtype}{string} send = \textcolor{stringliteral}{"You said: "}; + send += message; + *(t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s}) << send; + \} + \hyperlink{server_8h_ab99831172d1d4bca2c79bb37c7c062df}{killThread}(t\_arg); +\} + +\textcolor{keywordtype}{void} \hyperlink{main__server_8cpp_a5ee86dec2f1282750e7b1da928d45dbc}{stopServer}(\textcolor{keywordtype}{int} signal) +\{ + serv->\hyperlink{class_server_a74769349252c1ad61717b156e42d61d3}{requestExit}(); +\} + +\textcolor{keywordtype}{void} \hyperlink{server_8h_aa6328bc358b87d3e11c3f460d6427c5b}{processText}(\textcolor{keywordtype}{string} *str) +\{ + \textcolor{keywordflow}{for}(\textcolor{keywordtype}{int} i = 0; i < str->length(); i++) + \{ + \textcolor{keywordflow}{if}((*str)[i] == 32 || (*str)[i] == 10 || (*str)[i] == 11) + \{ + str->erase(i--,1); + \} + \} +\} + +\textcolor{keywordtype}{bool} \hyperlink{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{readConf}(\textcolor{keywordtype}{string} *ip, \textcolor{keywordtype}{int} *port) +\{ + *ip = \textcolor{stringliteral}{""}; + *port = 0; + ifstream confFile; + confFile.open(\hyperlink{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd}{CONFFILE}); + \textcolor{keywordflow}{if}(!confFile.is\_open()) + \{ + cout << \textcolor{stringliteral}{"Error opening configuration file"} << endl; + \textcolor{keywordflow}{return} \textcolor{keyword}{false}; + \} + \textcolor{keywordtype}{string} parameter; + \textcolor{keywordflow}{while}(\textcolor{keyword}{true}) + \{ + getline(confFile, parameter, \textcolor{charliteral}{'='}); + \hyperlink{server_8h_aa6328bc358b87d3e11c3f460d6427c5b}{processText}(¶meter); + \textcolor{keywordflow}{if}(confFile.eof()) + \{ + \textcolor{keywordflow}{break}; + \} + \textcolor{keywordflow}{if}(parameter == \textcolor{stringliteral}{"bind-ip"}) + \{ + confFile >> *ip; + \} + \textcolor{keywordflow}{else} \textcolor{keywordflow}{if}(parameter == \textcolor{stringliteral}{"port"}) + \{ + confFile >> *port; + \} + \} + confFile.close(); + \textcolor{keywordflow}{if}(*ip == \textcolor{stringliteral}{""} || *port == 0) + \{ + \textcolor{keywordflow}{return} \textcolor{keyword}{false}; + \} + \textcolor{keywordflow}{return} \textcolor{keyword}{true}; +\} + +\textcolor{keywordtype}{int} \hyperlink{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main}() +\{ + \textcolor{keywordtype}{string} ip; + \textcolor{keywordtype}{int} port; + serv = \textcolor{keyword}{new} \hyperlink{class_server}{Server}(); + signal(SIGINT, \hyperlink{main__server_8cpp_a5ee86dec2f1282750e7b1da928d45dbc}{stopServer}); + \textcolor{keywordflow}{if}(!\hyperlink{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{readConf}(&ip,&port)) + \{ + cout << \textcolor{stringliteral}{"Configuration couldn't be loaded"} << endl; + \textcolor{keywordflow}{return} -1; + \} + serv->\hyperlink{class_server_aef89851f83a9bbe4459c46b6c7906e1f}{startServer}(ip,port); + \textcolor{keyword}{delete} \hyperlink{main__server_8cpp_ab6b71e6574fcb2d2e0a5c2af08a2799f}{serv}; + \textcolor{keywordflow}{return} 0; +\} +\end{DoxyCode} + \ No newline at end of file diff --git a/JChatClient/doc/latex/structthread__args.tex b/JChatClient/doc/latex/structthread__args.tex new file mode 100644 index 0000000..33e0cf6 --- /dev/null +++ b/JChatClient/doc/latex/structthread__args.tex @@ -0,0 +1,90 @@ +\hypertarget{structthread__args}{\section{Referencia de la Estructura thread\-\_\-args} +\label{structthread__args}\index{thread\-\_\-args@{thread\-\_\-args}} +} + + +Argumentos de los threads. + + + + +{\ttfamily \#include $<$server.\-h$>$} + +\subsection*{Atributos públicos} +\begin{DoxyCompactItemize} +\item +pthread\-\_\-mutex\-\_\-t $\ast$ \hyperlink{structthread__args_ad5d64499f5f6e2df467c96b52a94c520}{mutex} +\begin{DoxyCompactList}\small\item\em Variable de control de la exclusión mútua entre threads. \end{DoxyCompactList}\item +pthread\-\_\-cond\-\_\-t $\ast$ \hyperlink{structthread__args_a96ee28beaed4175257db3d8794245f25}{condition} +\begin{DoxyCompactList}\small\item\em Variable de notificación a otros threads. \end{DoxyCompactList}\item +pthread\-\_\-t $\ast$ \hyperlink{structthread__args_acdcd2db4307e5e75d5110067e196a70e}{thread} +\begin{DoxyCompactList}\small\item\em Puntero al thread. \end{DoxyCompactList}\item +\hyperlink{class_socket}{Socket} $\ast$ \hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s} +\begin{DoxyCompactList}\small\item\em Puntero al socket. \end{DoxyCompactList}\item +\hyperlink{class_server}{Server} $\ast$ \hyperlink{structthread__args_ab29508135b033282f374d0fb47028fbd}{serv} +\begin{DoxyCompactList}\small\item\em Puntero al servidor. \end{DoxyCompactList}\item +int \hyperlink{structthread__args_a6322b3468fd88f8f49977a6439e9f352}{id} +\begin{DoxyCompactList}\small\item\em I\-D del thread. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\subsection{Descripción detallada} +Argumentos de los threads. + +Este struct define los argumentos que recibe un thread abierto por la aplicación servidor al recibir una conexión entrante \begin{DoxyAuthor}{Autor} +Imanol Barba Sabariego +\end{DoxyAuthor} +\begin{DoxyDate}{Fecha} +11/06/2013 +\end{DoxyDate} + + +\subsection{Documentación de los datos miembro} +\hypertarget{structthread__args_a96ee28beaed4175257db3d8794245f25}{\index{thread\-\_\-args@{thread\-\_\-args}!condition@{condition}} +\index{condition@{condition}!thread_args@{thread\-\_\-args}} +\subsubsection[{condition}]{\setlength{\rightskip}{0pt plus 5cm}pthread\-\_\-cond\-\_\-t$\ast$ thread\-\_\-args\-::condition}}\label{structthread__args_a96ee28beaed4175257db3d8794245f25} + + +Variable de notificación a otros threads. + +Esta variable se usa para notificar a otros threads cuando deben realizar otras acciones. + +{\itshape Actualmente se usa para notificar al thread principal cuando el thread que lo invoca ha terminado, en caso de que el principal haya quedado bloqueado y no admita más conexiones.} \hypertarget{structthread__args_a6322b3468fd88f8f49977a6439e9f352}{\index{thread\-\_\-args@{thread\-\_\-args}!id@{id}} +\index{id@{id}!thread_args@{thread\-\_\-args}} +\subsubsection[{id}]{\setlength{\rightskip}{0pt plus 5cm}int thread\-\_\-args\-::id}}\label{structthread__args_a6322b3468fd88f8f49977a6439e9f352} + + +I\-D del thread. + +Identifica al thread con un I\-D único \hypertarget{structthread__args_ad5d64499f5f6e2df467c96b52a94c520}{\index{thread\-\_\-args@{thread\-\_\-args}!mutex@{mutex}} +\index{mutex@{mutex}!thread_args@{thread\-\_\-args}} +\subsubsection[{mutex}]{\setlength{\rightskip}{0pt plus 5cm}pthread\-\_\-mutex\-\_\-t$\ast$ thread\-\_\-args\-::mutex}}\label{structthread__args_ad5d64499f5f6e2df467c96b52a94c520} + + +Variable de control de la exclusión mútua entre threads. + +Esta variable se usa para bloquear otros threads en operaciones de exclusion mútua donde se modifican variables compartidas \hypertarget{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{\index{thread\-\_\-args@{thread\-\_\-args}!s@{s}} +\index{s@{s}!thread_args@{thread\-\_\-args}} +\subsubsection[{s}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Socket}$\ast$ thread\-\_\-args\-::s}}\label{structthread__args_aede3ef61778d02bdf25c368d1cf9d489} + + +Puntero al socket. + +Esta variable representa el puntero al socket que proviene de la conexión entrante recibida por el servidor. Con este, el thread puede recibir y enviar los datos. \hypertarget{structthread__args_ab29508135b033282f374d0fb47028fbd}{\index{thread\-\_\-args@{thread\-\_\-args}!serv@{serv}} +\index{serv@{serv}!thread_args@{thread\-\_\-args}} +\subsubsection[{serv}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Server}$\ast$ thread\-\_\-args\-::serv}}\label{structthread__args_ab29508135b033282f374d0fb47028fbd} + + +Puntero al servidor. + +Esta variable representa el puntero al servidor de la aplicación. Con este puntero, los threads se mueven a la pila de threads terminados una vez terminan la ejecución para que el thread principal (el propio servidor), vaya liberando la memoria asignada. \hypertarget{structthread__args_acdcd2db4307e5e75d5110067e196a70e}{\index{thread\-\_\-args@{thread\-\_\-args}!thread@{thread}} +\index{thread@{thread}!thread_args@{thread\-\_\-args}} +\subsubsection[{thread}]{\setlength{\rightskip}{0pt plus 5cm}pthread\-\_\-t$\ast$ thread\-\_\-args\-::thread}}\label{structthread__args_acdcd2db4307e5e75d5110067e196a70e} + + +Puntero al thread. + +Esta variable representa el puntero del propio thread. Al finalizar, este enviará su puntero a la lista de threads terminados, donde la memoria asignada al thread se destruirá. + +La documentación para esta estructura fue generada a partir del siguiente fichero\-:\begin{DoxyCompactItemize} +\item +/home/imanol/devel/eclipse/\-P\-A\-D/\-J\-Chat\-Client/src/include/\hyperlink{server_8h}{server.\-h}\end{DoxyCompactItemize} diff --git a/JChatClient/socket.conf b/JChatClient/socket.conf new file mode 100644 index 0000000..f27bd8b --- /dev/null +++ b/JChatClient/socket.conf @@ -0,0 +1,2 @@ +bind-ip = 127.0.0.1 +port = 3001 diff --git a/JChatClient/src/Socket.cpp b/JChatClient/src/Socket.cpp new file mode 100644 index 0000000..6ec78bf --- /dev/null +++ b/JChatClient/src/Socket.cpp @@ -0,0 +1,191 @@ +/** @file +* \brief Fichero de implementación de la clase Socket +* \author Imanol Barba Sabariego +* \date 13/06/2013 +* +* En este fichero se implementan los métodos de la clase Socket definidos en Socket.h +*/ +#include "Socket.h" +#include "SocketException.h" +#include +#include +#include +#include + +using namespace std; + +Socket::Socket() +{ + sock = -1; +} + +int Socket::getSock() +{ + return sock; +} + +void Socket::Create() +{ + int optval = 1; + if((sock = socket(AF_INET, SOCK_STREAM, 0)) <= 0) + { + throw SocketException ( "TCP: Could not create socket" ); + } + setsockopt(sock,SOL_SOCKET,SO_KEEPALIVE,&optval,sizeof optval); + setsockopt(sock, SOL_TCP, TCP_NODELAY, &optval, sizeof optval); +} + +void Socket::Bind(string address, int port) +{ + sockAddr.sin_family = AF_INET; + sockAddr.sin_port = htons(port); + sockAddr.sin_addr.s_addr = inet_addr(address.c_str()); + if(bind(sock, (struct sockaddr *)&sockAddr, sizeof(struct sockaddr)) != 0) + { + stringstream sstream; + sstream << "TCP: Could not bind to address " << address << " on port " << port; + throw SocketException ( sstream.str() ); + } +} + +void Socket::Listen(int backlog) +{ + if(listen(sock, backlog) != 0) + { + throw SocketException ( "TCP: Could not listen to socket" ); + } +} + +void Socket::Accept(Socket &clientSock) +{ + int size = sizeof(struct sockaddr); + clientSock.sock = accept(sock,(struct sockaddr *)&clientSock.sockAddr, (socklen_t *)&size); + if(clientSock.sock == -1) + { + throw SocketException ( "TCP: Could not accept incoming connection" ); + } +} + +void Socket::Connect(string hostname, int port) +{ + struct in_addr *addr_ptr; + struct hostent *hostPtr; + string add; + hostPtr = gethostbyname(hostname.c_str()); + if(hostPtr == NULL) + { + throw SocketException (string("Could not resolve hostname ").append(hostname)); + } + addr_ptr = (struct in_addr *)*hostPtr->h_addr_list; + add = inet_ntoa(*addr_ptr); + if(add == "") + { + throw SocketException ( "Invalid address" ); + } + struct sockaddr_in newSockAddr; + newSockAddr.sin_family = AF_INET; + newSockAddr.sin_port = htons(port); + newSockAddr.sin_addr.s_addr = inet_addr(add.c_str()); + if(connect(sock, (struct sockaddr *)&newSockAddr, sizeof(struct sockaddr)) != 0) + { + stringstream sstream; + sstream << "Could not connect to " << hostname << " on port " << port; + throw SocketException ( sstream.str()); + } +} + +int Socket::Receive(char *buff, int length) +{ + int bytes, total = 0; + while(total != length) + { + bytes = recv(sock, buff+total, length-total,0); + if ( bytes <= 0 ) + { + throw SocketException ( "TCP: Could not read from socket." ); + } + total += bytes; + } + return total; +} + +int Socket::Send(const char *buff, int length) +{ + int bytes, total = 0; + while(total != length) + { + bytes = send(sock,buff+total,length-total,0); + if(bytes == -1) + { + throw SocketException ( "TCP: Could not write to socket." ); + } + total += bytes; + } + return total; +} + +void Socket::Close() +{ + if(sock > 0) + { + close(sock); + sock = 0; + } + else + { + throw SocketException ( "TCP: Could not close socket." ); + } +} + +const Socket& Socket::operator << ( const std::string& text) +{ + stringstream sstream; + int length = text.length(); + if(!length) + { + string s = "0"; + Send(s.c_str(), 2); + return *this; + } + sstream << length; + string len = sstream.str(); + Send(len.c_str(), len.length()+1); + Send(text.c_str(), text.length()); + return *this; +} + +const Socket& Socket::operator >> ( std::string& text ) +{ + text = ""; + string len; + int length; + stringstream sstream; + char c; + while(true) + { + if( Receive(&c,1) <= 0) + { + throw SocketException ( "TCP: Could not read from socket." ); + } + if(c == '\0') + { + break; + } + len += c; + } + sstream << len; + sstream >> length; + if(!length) + { + return *this; + } + char *message = new char[length]; + Receive(message,length); + text.append(message,length); + if(message != NULL) + { + delete[] message; + message = NULL; + } + return *this; +} \ No newline at end of file diff --git a/JChatClient/src/client.cpp b/JChatClient/src/client.cpp new file mode 100644 index 0000000..f78e5e6 --- /dev/null +++ b/JChatClient/src/client.cpp @@ -0,0 +1,150 @@ +/** @file +* \brief Fichero de implementación de un cliente +* \author Imanol Barba Sabariego +* \date 13/06/2013 +* +* En este fichero se implementa un cliente para poder usar con el servidor creado, usando la clase Socket. +*/ +#include "Socket.h" +#include +#include "SocketException.h" +#include +#include +#include +#include + +using namespace std; + +bool connected, finished; + +//! Método para terminar el cliente +/*! Este método se usa para terminar el cliente immediatamente en el caso que el servidor cierre la conexión de forma inesperada, capturando +el signal SIGPIPE. */ +void exitClient(int signal/*!> host; + cout << "Port: "; + cin >> port; + cin.ignore(); + try + { + s.Connect(host,port); + cout << "Connected" << endl; + connected = true; + } + catch(SocketException& e) + { + cout << e.description() << endl; + } +} + +void speedTest(Socket& s) +{ + string data = "", answer; + double size; + double start, duration; + cout << "Size in MB: "; + cin >> size; + cin.ignore(); + for(long int i = 0; i < size*1e6; i++ ) + { + data += (char)( 65 + i % 26); + } + cout << "Data generated, commencing transfer" << endl; + struct timeval st, ed; + gettimeofday(&st, NULL); + s << data; + cout << "Data sent" << endl; + s >> answer; + gettimeofday(&ed, NULL); + start = (st.tv_sec) + (st.tv_usec) / 1e6; + duration = ((ed.tv_sec) + (ed.tv_usec) / 1e6) - start; + if(answer == "ACK") + { + cout << "Transferred " << size << " MB in " << duration << " seconds" << endl; + cout << "Data rate: " << size/duration << " MB/s" << endl; + } +} + +//! Método principal del cliente +/*! Este método inicializa el Socket, establece la conexión y realiza las acciones que se le hayan programado para comunicarse con el servidor.*/ +int main() +{ + signal(SIGPIPE, exitClient); + signal(SIGINT, exitClient); + Socket s; + connected = finished = false; + string send, recv; + s.Create(); + while (!exit) + { + connect(s); + while(connected) + { + cout << "> "; + getline(cin,send); + if(cin.eof()) + { + send = "/disconnect"; + } + try + { + s << send; + if(send == "/disconnect") + { + s >> recv; + if(recv == "OK") + { + cout << "Disconnecting" << endl; + s.Close(); + connected = false; + } + } + else if(send == "/exit") + { + s >> recv; + if(recv == "OK") + { + cout << "Exiting" << endl; + s.Close(); + connected = false; + finished = true; + } + } + else if(send == "/test") + { + speedTest(s); + } + else + { + s >> recv; + cout << "Received: " << recv << endl; + } + } + catch(SocketException& e) + { + cout << e.description() << endl; + cout << "Exiting" << endl; + s.Close(); + return -1; + } + } + } +} + +/* TO-DO + * + * spawn 2 IO threads + * connect/disconnect commands + * list nicks + * unicast message + */ \ No newline at end of file diff --git a/JChatClient/src/client.dox b/JChatClient/src/client.dox new file mode 100644 index 0000000..54a820d --- /dev/null +++ b/JChatClient/src/client.dox @@ -0,0 +1,49 @@ +/** @file +\author Imanol Barba Sabariego +\date 13/06/2013 +\page client_code Client +\brief Ejemplo de aplicación cliente + +\code{.cpp} +#include "Socket.h" +#include +#include "SocketException.h" +#include +#include +#include +#include + +using namespace std; + +void exitClient(int signal) +{ + cout << "Server connection terminated unexpectedly" << endl << "Exiting" << endl; + exit(-1); +} + +int main() +{ + signal(SIGPIPE, exitClient); + signal(SIGINT, exitClient); + Socket s; + string send, recv, host; + int port; + s.Create(); + cout << "Created socket" << endl; + cout << "Hostname: "; + cin >> host; + cout << "Port: "; + cin >> port; + cin.ignore(); + s.Connect(host,port); + cout << "Connected" << endl; + while(true) + { + cout << "> "; + getline(cin,send); + s >> recv; + cout << "Received: " << recv << endl; + } +} +\endcode +*/ \ No newline at end of file diff --git a/JChatClient/src/howto.dox b/JChatClient/src/howto.dox new file mode 100644 index 0000000..6f55d0e --- /dev/null +++ b/JChatClient/src/howto.dox @@ -0,0 +1,61 @@ +/** @file +\author Imanol Barba Sabariego +\date 13/06/2013 +\page howto HOWTO +\brief Descripción de funcionamiento y uso de la librería. + +\tableofcontents + A continuación se desglosan las instrucciones para el desarrollo con esta libería y su posterior uso. +

+ \section proto Descripción del protocolo + En las comunicaciones con Sockets hay un problema, es fácil saber la longitud del mensaje que vas a enviar, pero cuesta saber la longitud del mensaje que deseas recibir, ya que la transmisión se puede detener por llegar al fin del mensaje o bien por que hay problemas en la red. + + Los sockets de UNIX nos dan una solución, que es usar llamadas no bloqueantes para recibir el mensaje, es decir: Si leo de un socket, y no he llenado el buffer donde guardo los datos que recibo de allí, la aplicación no se bloquea esperando recibir la suficiente cantidad de datos. A su vez, se usan llamadas a la función select() para comprovar si hay datos disponibles a para leer o la conexión está terminada. + + Esto requiere uso de la forks e ir haciendo encuesta (polling) al socket, cosa que consume más recursos del sistema. + + Debido a la complejidad añadida que supone hacerlo por esta vía, ya que la librería usa threads que son más ligeros para el sistema y la memoria RAM; se ha optado por implementar un sencillísimo protocolo de comunicación que no supone gasto de computación y repercute de forma nímia en el rendimiento de la transferencia. + +
+ \subsection plain Modo en texto llano + Este modo transmite los carácteres de texto sin ningún tipo de encriptación, por lo tanto son totalmente visibles para cualquier agente intermedio. Sin embargo, el modo sin encriptación es más rápido y ofrece el doble de velocidad de transferencia aproximadamente. +
+ \subsection send Envío/Recepción de mensajes + El mensaje se transmite de la siguiente forma: + + -# Bob le quiere mandar a Alice un mensaje, primero primero pone el número de carácteres (bytes) que ocupa el mensaje en forma de string terminado con carácter NULL ('\0') y lo manda. + -# Bob transmite el mensaje íntegro. + -# Alice lee uno a uno los carácteres del socket hasta encontrar un carácter NULL ('\0'), entonces lee lo que ha recibido, que es la longitud del mensaje real. + -# Alice pasa a extraer los N bytes que ha leído que recibiría y obtiene el mensaje final. +
+
+
+ \section compile Compilación + A continuación se detallan las opciones e instrucciones necesarias para compilar esta librería. +
+ \subsection defines Opciones de compilación + Los siguientes #defines establecen la configuración en tiempo de compilación + - \ref RSALENGTH : La longitud de la llave RSA que se usará. + - \ref AESLENGTH : La longitud de la llave AES que se usará. + - \ref CONFFILE : La ruta absoluta o relativa al fichero de configuración del servidor (véase: \ref conf). + - \ref PUBLICKEY : La ruta absoluta o relativa a la llave pública RSA. Existe en server.h y client.cpp + - \ref PRIVATEKEY : La ruta absoluta o relativa a la llave pública RSA. Existe en server.h y client.cpp +
+ \subsection flags Flags de compilación y librerías + Flags de compilación necesarios: + - -I/carpeta/con/cabeceras_de/crypto++ -I/carpeta/con/cabeceras/de_la/librería/Socket + - -L/carpeta/con/la_librería/crypto++ + - -lcryptopp -lpthread + + Véase: \ref makefile +
+
+
+ \section examples Ejemplos + A continuación se detalla el código para programar una aplicación servidor cliente sencilla +
+ \subsection server Programar un cliente + Véase: \ref client_code +
+
+*/ diff --git a/JChatClient/src/include/Socket.h b/JChatClient/src/include/Socket.h new file mode 100644 index 0000000..8b87b14 --- /dev/null +++ b/JChatClient/src/include/Socket.h @@ -0,0 +1,86 @@ +/** @file +* \brief Header de la clase Socket +* \author Imanol Barba Sabariego +* \date 12/06/2013 +* +* En este fichero se define la clase Socket, que es la clase que se abstraer toda la comunicación con sockets al programador +*/ +#ifndef SOCKET_H_ +#define SOCKET_H_ + +#include +#include +#include +#include +#include +#include +#include +#include + +using namespace std; + +//! Clase del socket +/** +Esta clase define un objeto con los métodos y atributos necesarios para realizar comunicación encriptada o en texto llano a través de un socket TCP/IP +en un entorno UNIX abstrayendo la implementación de sockets y de encriptación al programador. +*/ +class Socket +{ + private: + //! Descriptor del fichero del socket + /*! Esta variable contiene el file descriptor del socket abierto por el SO. */ + int sock; + //! Estructura de dirección de socket + /*! Este struct es usado por el SO para gestionar la dirección del socket abierto. */ + struct sockaddr_in sockAddr; + //! Método para recibir un mensaje de longitud conocida + /*! \brief Este método se usa para recibir un mensaje de la longitud que se especifica por argumento y almacenarlo en el buffer + proporcionado. + + _Este método garantiza que todo el mensaje se recibirá entero aunque la red no admita una longitud de paquete tan grande._*/ + int Receive(char *buff/*!> ( string& /*! + +using namespace std; + +//! Clase de Excepción de Sockets +/** +Definición de las excepciones lanzadas por la librería de comunicación TCP/IP +*/ +class SocketException +{ + public: + //! Constructor de la clase + /*! Inicializa el mensaje */ + SocketException ( string m /**< Mensaje inicial */ ) : message ( m ) {}; + ~SocketException (){}; + //! Getter del atributo message + /*! Devuelve el mensaje asociado a la excepción producida */ + string description() { return message; } + private: + //! Mensaje asociado a la excepción producida + string message; +}; +#endif /* SOCKETEXCEPTION_H_ */ \ No newline at end of file diff --git a/JChatClient/src/include/server.h b/JChatClient/src/include/server.h new file mode 100644 index 0000000..c73a6f0 --- /dev/null +++ b/JChatClient/src/include/server.h @@ -0,0 +1,149 @@ +/** @file +* \brief Header de la clase Server +* \author Imanol Barba Sabariego +* \date 11/06/2013 +* +* En este fichero se define la clase Server y algunos métodos globales usados por ésta para la gestión de threads y otros aspectos. +*/ + +#ifndef SERVER_H_ +#define SERVER_H_ + +#include "Socket.h" +#include "SocketException.h" +#include +#include +#include +#include +#include +#include + +//! Numero de conexiones permitidas activas (en espera o activas) +/*! Esta constante controla cuantas conexiones puede haber en espera o cuantas puede haber establecias en cualquier momento: habrá N activas +y N en espera como mucho, no N en espera o activas. */ +#define N 5 +//! Ruta al fichero de configuración +/*! Ruta relativa o absoluta al fichero de configuración, de no existir o ser inválido el programa no funcionará. */ +#define CONFFILE "socket.conf" +//! Nombre del socket del módulo de control +/*! Nombre y ruta del socket UNIX del módulo de control */ + +using namespace std; + +//! Clase de aplicación servidor +/** +Esta clase define un objeto con los métodos y atributos necesarios para lanzar una aplicación servidor y atender las conexiones. Para realizar +la comunicación con el cliente, usa un objeto de la clase Socket +*/ +class Server +{ + private: + //! Contador de threads + /*! Esta variable se encarga de mantener la cuenta de threads activos, por tanto, el número de conexiones que estan siendo antendidas + simultáneamente. */ + int nWorkers; + //! Variable de apagado + /*! Esta variable controla el apagado del servidor, al ponerla a true, la siguiente iteración del bucle que atiende las conexiones + no se producirá y el programa terminará. */ + bool shutdownServer; + //! Contador de ID de thread + /*! Esta variable contiene el ID del próximo thread que se creará, por tanto, indica el número de conexiones que han sido atendidas desde + el inicio del servidor */ + int workerID; + //! Pila de threads terminados + /*! Esta variable contiene una lista de threads que han finalizado su ejecución. A cada iteración del bucle que atiende conexiones, + se libera toda la memoria de los threads que hay almacenados aquí. */ + list stoppedThreads; + //! Pila de threads empezados + /*! \brief Esta variable contiene una lista de threads que han empezado su ejecución. Si el programa finalizara prematuramente, se liberarían los punteros + de los threads almacenados en esta pila. + + __NOTA: No se liberará la memoria asignada a los argumentos de los threads, dando lugar a memory leaks; sin embargo, esto se produciria al finalizar + el programa, por tanto no es relevante.__ */ + list startedThreads; + //! Socket de comunicación + /*! Esta variable contiene el objeto de la clase Socket que la aplicación servidor usa para poder atender las peticiones. Su función + es quedarse escuchando el el puerto e IP introducidas en el fichero de configuración y crear un objeto de la clase Socket para cada + petición de cada cliente nuevo, siendo este último objeto creado el que se usa para la comuncación. */ + Socket ss; + + public: + //! Constructor de la clase Server + /*! Incializa los argumentos inciales del servidor */ + Server() : nWorkers(0), workerID(0), shutdownServer(false) {} + //! Getter del número de threads activos + /*! Devuelve el número de threads activos en ese instante, por tanto, del número de conexiones que están siendo atendidas. */ + int getNWorkers(); + //! Setter del número de threads activos + /*! Establece el número de threads activos, para poder cambiarlo cuando alguno de los threads activos finaliza */ + void setNWorkers(int n /*!* getStartedThreads(); + //! Getter de la pila de threads terminados + /*! Devuelve un contenedor con la lista de threads que han terminado, para poder liberar la memoria que se le ha asignado */ + list* getStoppedThreads(); + //! Método de inicialización del servidor + /*! Incializa el servidor en el puerto e IP especificados para empezar a recibir conexiones entrantes */ + void startServer(string i /*! *threadList/*!GNU/Linux. +* +* El objetivo principal de esta librería es abstraer toda la capa de comunicación al programador, lo único que debe hacer es guardar los datos a enviar en un contenedor STL del tipo std::string y enviarlo a una instancia debidamente incializada de la clase Socket. Este se encarga de inicializar los sockets, atender las conexiones o realizar nuevas, etc. + +* Para más información, consultar el \ref howto +*

+* +* \author Imanol Barba Sabariego +* \date 11/06/2013 +*/ diff --git a/JChatClient/src/makefile.dox b/JChatClient/src/makefile.dox new file mode 100644 index 0000000..de9b969 --- /dev/null +++ b/JChatClient/src/makefile.dox @@ -0,0 +1,53 @@ +/** @file +\author Imanol Barba Sabariego +\date 13/06/2013 +\page makefile Makefile +\brief Ejemplo de Makefile + +\code +CXXFLAGS = -I../cryptopp -Isrc/include/ +LDFLAGS = -Llib/ +LIBS = -lcryptopp -lpthread +TARGETS = bin/client bin/server bin/socket.conf + + +.PHONY: all clean + ifndef $(CXX) + CXX = g++ + endif + +bin/client: bin/client.o bin/Socket.o lib/libcryptopp.so + $(CXX) -o bin/client bin/client.o bin/Socket.o $(LDFLAGS) $(LIBS) + strip bin/client + +bin/client.o: src/client.cpp + $(CXX) -o bin/client.o -c src/client.cpp $(CXXFLAGS) + +bin/server.o: src/server.cpp src/include/server.h + $(CXX) -o bin/server.o -c src/server.cpp $(CXXFLAGS) + +bin/main_server.o: src/main_server.cpp + $(CXX) -o bin/main_server.o -c src/main_server.cpp $(CXXFLAGS) + +bin/server: bin/server.o bin/Socket.o bin/main_server.o lib/libcryptopp.so src/include/server.h + $(CXX) -o bin/server bin/server.o bin/Socket.o bin/main_server.o $(LDFLAGS) $(LIBS) + strip bin/server + +bin/Socket.o: src/Socket.cpp src/include/Socket.h src/include/SocketException.h + (CXX) -o bin/Socket.o -c src/Socket.cpp $(CXXFLAGS) + +lib/libcryptopp.so: + cd ../cryptopp; make clean; make dynamic; mv libcryptopp.so ../Socket/lib/libcryptopp.so + +bin/socket.conf: + cp socket.conf bin/socket.conf + +clean: + rm -rf bin/* + +docs: + cd doc/doxygen;doxygen Doxyfile + cd doc/latex; make + +all: $(TARGETS) +\endcode \ No newline at end of file diff --git a/Socket/Makefile b/Socket/Makefile deleted file mode 100644 index fa1d8f9..0000000 --- a/Socket/Makefile +++ /dev/null @@ -1,47 +0,0 @@ -CFLAGS += -Isrc/include -LDFLAGS += -lpthread -TARGETS = bin/client bin/server bin/socket.conf - -ifndef $(CXX) - CXX = g++ -endif -STRIP = strip -ifeq ($(DEBUG_BUILD),1) - CFLAGS += -g - STRIP =\# -endif - -.PHONY: all clean - -bin/client: bin/client.o bin/Socket.o - $(CXX) -o bin/client bin/client.o bin/Socket.o $(LDFLAGS) $(CFLAGS) - $(STRIP) bin/client - -bin/client.o: src/client.cpp - $(CXX) -o bin/client.o -c src/client.cpp $(CFLAGS) - -bin/server.o: src/server.cpp src/include/server.h - $(CXX) -o bin/server.o -c src/server.cpp $(CFLAGS) - -bin/main_server.o: src/main_server.cpp - $(CXX) -o bin/main_server.o -c src/main_server.cpp $(CFLAGS) - -bin/server: bin/server.o bin/Socket.o bin/main_server.o src/include/server.h - $(CXX) -o bin/server bin/server.o bin/Socket.o bin/main_server.o $(LDFLAGS) $(CFLAGS) - $(STRIP) bin/server - -bin/Socket.o: src/Socket.cpp src/include/Socket.h src/include/SocketException.h - $(CXX) -o bin/Socket.o -c src/Socket.cpp $(CFLAGS) - -bin/socket.conf: - cp socket.conf bin/socket.conf - -clean: - rm -rf bin/* - -docs: - cd doc/doxygen;doxygen Doxyfile - cd doc/latex; make - -all: $(TARGETS) - diff --git a/Socket/bin/client b/Socket/bin/client deleted file mode 100755 index 96afed8..0000000 Binary files a/Socket/bin/client and /dev/null differ diff --git a/Socket/bin/server b/Socket/bin/server deleted file mode 100755 index 2350743..0000000 Binary files a/Socket/bin/server and /dev/null differ diff --git a/Socket/bin/socket.conf b/Socket/bin/socket.conf deleted file mode 100644 index f27bd8b..0000000 --- a/Socket/bin/socket.conf +++ /dev/null @@ -1,2 +0,0 @@ -bind-ip = 127.0.0.1 -port = 3001 diff --git a/Socket/doc/doxygen/Doxyfile b/Socket/doc/doxygen/Doxyfile deleted file mode 100644 index 4a2a9bd..0000000 --- a/Socket/doc/doxygen/Doxyfile +++ /dev/null @@ -1,1826 +0,0 @@ -# Doxyfile 1.8.1.2 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project -# -# All text after a hash (#) is considered a comment and will be ignored -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (" ") - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# This tag specifies the encoding used for all characters in the config file -# that follow. The default is UTF-8 which is also the encoding used for all -# text before the first occurrence of this tag. Doxygen uses libiconv (or the -# iconv built into libc) for the transcoding. See -# http://www.gnu.org/software/libiconv for the list of possible encodings. - -DOXYFILE_ENCODING = UTF-8 - -# The PROJECT_NAME tag is a single word (or sequence of words) that should -# identify the project. Note that if you do not use Doxywizard you need -# to put quotes around the project name if it contains spaces. - -PROJECT_NAME = Socket - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - -PROJECT_NUMBER = - -# Using the PROJECT_BRIEF tag one can provide an optional one line description -# for a project that appears at the top of each page and should give viewer -# a quick idea about the purpose of the project. Keep the description short. - -PROJECT_BRIEF = "Librería para comunicar via TCP/IP" - -# With the PROJECT_LOGO tag one can specify an logo or icon that is -# included in the documentation. The maximum height of the logo should not -# exceed 55 pixels and the maximum width should not exceed 200 pixels. -# Doxygen will copy the logo to the output directory. - -PROJECT_LOGO = - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - -OUTPUT_DIRECTORY = ../ - -# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create -# 4096 sub-directories (in 2 levels) under the output directory of each output -# format and will distribute the generated files over these directories. -# Enabling this option can be useful when feeding doxygen a huge amount of -# source files, where putting all generated files in the same directory would -# otherwise cause performance problems for the file system. - -CREATE_SUBDIRS = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, -# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, -# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English -# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, -# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak, -# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. - -OUTPUT_LANGUAGE = Spanish - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator -# that is used to form the text in various listings. Each string -# in this list, if found as the leading text of the brief description, will be -# stripped from the text and the result after processing the whole list, is -# used as the annotated text. Otherwise, the brief description is used as-is. -# If left blank, the following values are used ("$name" is automatically -# replaced with the name of the entity): "The $name class" "The $name widget" -# "The $name file" "is" "provides" "specifies" "contains" -# "represents" "a" "an" "the" - -ABBREVIATE_BRIEF = "The $name class" \ - "The $name widget" \ - "The $name file" \ - is \ - provides \ - specifies \ - contains \ - represents \ - a \ - an \ - the - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all -# inherited members of a class in the documentation of that class as if those -# members were ordinary class members. Constructors, destructors and assignment -# operators of the base classes will not be shown. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - -FULL_PATH_NAMES = YES - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user-defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the -# path to strip. - -STRIP_FROM_PATH = /media/sf_devel/Socket/ - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of -# the path mentioned in the documentation of a class, which tells -# the reader which header file to include in order to use a class. -# If left blank only the name of the header file containing the class -# definition is used. Otherwise one should specify the include paths that -# are normally passed to the compiler using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful if your file system -# doesn't support long names like on DOS, Mac, or CD-ROM. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like regular Qt-style comments -# (thus requiring an explicit @brief command for a brief description.) - -JAVADOC_AUTOBRIEF = NO - -# If the QT_AUTOBRIEF tag is set to YES then Doxygen will -# interpret the first line (until the first dot) of a Qt-style -# comment as the brief description. If set to NO, the comments -# will behave just like regular Qt-style comments (thus requiring -# an explicit \brief command for a brief description.) - -QT_AUTOBRIEF = NO - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# re-implements. - -INHERIT_DOCS = YES - -# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce -# a new page for each member. If set to NO, the documentation of a member will -# be part of the file/class/namespace that contains it. - -SEPARATE_MEMBER_PAGES = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - -TAB_SIZE = 8 - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user-defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - -ALIASES = - -# This tag can be used to specify a number of word-keyword mappings (TCL only). -# A mapping has the form "name=value". For example adding -# "class=itcl::class" will allow you to use the command class in the -# itcl::class meaning. - -TCL_SUBST = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C -# sources only. Doxygen will then generate output that is more tailored for C. -# For instance, some of the names that are used will be different. The list -# of all members will be omitted, etc. - -OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java -# sources only. Doxygen will then generate output that is more tailored for -# Java. For instance, namespaces will be presented as packages, qualified -# scopes will look different, etc. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran -# sources only. Doxygen will then generate output that is more tailored for -# Fortran. - -OPTIMIZE_FOR_FORTRAN = NO - -# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL -# sources. Doxygen will then generate output that is tailored for -# VHDL. - -OPTIMIZE_OUTPUT_VHDL = NO - -# Doxygen selects the parser to use depending on the extension of the files it -# parses. With this tag you can assign which parser to use for a given extension. -# Doxygen has a built-in mapping, but you can override or extend it using this -# tag. The format is ext=language, where ext is a file extension, and language -# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C, -# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make -# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C -# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions -# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen. - -EXTENSION_MAPPING = - -# If MARKDOWN_SUPPORT is enabled (the default) then doxygen pre-processes all -# comments according to the Markdown format, which allows for more readable -# documentation. See http://daringfireball.net/projects/markdown/ for details. -# The output of markdown processing is further processed by doxygen, so you -# can mix doxygen, HTML, and XML commands with Markdown formatting. -# Disable only in case of backward compatibilities issues. - -MARKDOWN_SUPPORT = YES - -# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want -# to include (a tag file for) the STL sources as input, then you should -# set this tag to YES in order to let doxygen match functions declarations and -# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. -# func(std::string) {}). This also makes the inheritance and collaboration -# diagrams that involve STL classes more complete and accurate. - -BUILTIN_STL_SUPPORT = YES - -# If you use Microsoft's C++/CLI language, you should set this option to YES to -# enable parsing support. - -CPP_CLI_SUPPORT = NO - -# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. -# Doxygen will parse them like normal C++ but will assume all classes use public -# instead of private inheritance when no explicit protection keyword is present. - -SIP_SUPPORT = NO - -# For Microsoft's IDL there are propget and propput attributes to indicate getter -# and setter methods for a property. Setting this option to YES (the default) -# will make doxygen replace the get and set methods by a property in the -# documentation. This will only work if the methods are indeed getting or -# setting a simple type. If this is not the case, or you want to show the -# methods anyway, you should set this option to NO. - -IDL_PROPERTY_SUPPORT = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = NO - -# Set the SUBGROUPING tag to YES (the default) to allow class member groups of -# the same type (for instance a group of public functions) to be put as a -# subgroup of that type (e.g. under the Public Functions section). Set it to -# NO to prevent subgrouping. Alternatively, this can be done per class using -# the \nosubgrouping command. - -SUBGROUPING = YES - -# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and -# unions are shown inside the group in which they are included (e.g. using -# @ingroup) instead of on a separate page (for HTML and Man pages) or -# section (for LaTeX and RTF). - -INLINE_GROUPED_CLASSES = NO - -# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and -# unions with only public data fields will be shown inline in the documentation -# of the scope in which they are defined (i.e. file, namespace, or group -# documentation), provided this scope is documented. If set to NO (the default), -# structs, classes, and unions are shown on a separate page (for HTML and Man -# pages) or section (for LaTeX and RTF). - -INLINE_SIMPLE_STRUCTS = NO - -# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum -# is documented as struct, union, or enum with the name of the typedef. So -# typedef struct TypeS {} TypeT, will appear in the documentation as a struct -# with name TypeT. When disabled the typedef will appear as a member of a file, -# namespace, or class. And the struct will be named TypeS. This can typically -# be useful for C code in case the coding convention dictates that all compound -# types are typedef'ed and only the typedef is referenced, never the tag name. - -TYPEDEF_HIDES_STRUCT = NO - -# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to -# determine which symbols to keep in memory and which to flush to disk. -# When the cache is full, less often used symbols will be written to disk. -# For small to medium size projects (<1000 input files) the default value is -# probably good enough. For larger projects a too small cache size can cause -# doxygen to be busy swapping symbols to and from disk most of the time -# causing a significant performance penalty. -# If the system has enough physical memory increasing the cache will improve the -# performance by keeping more symbols in memory. Note that the value works on -# a logarithmic scale so increasing the size by one will roughly double the -# memory usage. The cache size is given by this formula: -# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, -# corresponding to a cache size of 2^16 = 65536 symbols. - -SYMBOL_CACHE_SIZE = 0 - -# Similar to the SYMBOL_CACHE_SIZE the size of the symbol lookup cache can be -# set using LOOKUP_CACHE_SIZE. This cache is used to resolve symbols given -# their name and scope. Since this can be an expensive process and often the -# same symbol appear multiple times in the code, doxygen keeps a cache of -# pre-resolved symbols. If the cache is too small doxygen will become slower. -# If the cache is too large, memory is wasted. The cache size is given by this -# formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range is 0..9, the default is 0, -# corresponding to a cache size of 2^16 = 65536 symbols. - -LOOKUP_CACHE_SIZE = 0 - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES - -EXTRACT_ALL = YES - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - -EXTRACT_PRIVATE = YES - -# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal -# scope will be included in the documentation. - -EXTRACT_PACKAGE = YES - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - -EXTRACT_STATIC = YES - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - -EXTRACT_LOCAL_CLASSES = YES - -# This flag is only useful for Objective-C code. When set to YES local -# methods, which are defined in the implementation section but not in -# the interface are included in the documentation. -# If set to NO (the default) only methods in the interface are included. - -EXTRACT_LOCAL_METHODS = YES - -# If this flag is set to YES, the members of anonymous namespaces will be -# extracted and appear in the documentation as a namespace called -# 'anonymous_namespace{file}', where file will be replaced with the base -# name of the file that contains the anonymous namespace. By default -# anonymous namespaces are hidden. - -EXTRACT_ANON_NSPACES = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these classes will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - -INTERNAL_DOCS = YES - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower-case letters. If set to YES upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# and Mac users are advised to set this option to NO. - -CASE_SENSE_NAMES = NO - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - -HIDE_SCOPE_NAMES = NO - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put a list of the files that are included by a file in the documentation -# of that file. - -SHOW_INCLUDE_FILES = YES - -# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen -# will list include files with double quotes in the documentation -# rather than with sharp brackets. - -FORCE_LOCAL_INCLUDES = NO - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - -SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the -# brief documentation of file, namespace and class members alphabetically -# by member name. If set to NO (the default) the members will appear in -# declaration order. - -SORT_BRIEF_DOCS = NO - -# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen -# will sort the (brief and detailed) documentation of class members so that -# constructors and destructors are listed first. If set to NO (the default) -# the constructors will appear in the respective orders defined by -# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. -# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO -# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. - -SORT_MEMBERS_CTORS_1ST = NO - -# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the -# hierarchy of group names into alphabetical order. If set to NO (the default) -# the group names will appear in their defined order. - -SORT_GROUP_NAMES = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be -# sorted by fully-qualified names, including namespaces. If set to -# NO (the default), the class list will be sorted only by class name, -# not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the -# alphabetical list. - -SORT_BY_SCOPE_NAME = NO - -# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to -# do proper type resolution of all parameters of a function it will reject a -# match between the prototype and the implementation of a member function even -# if there is only one candidate or it is obvious which candidate to choose -# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen -# will still accept a match between prototype and implementation in such cases. - -STRICT_PROTO_MATCHING = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if sectionname ... \endif. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or macro consists of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and macros in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - -SHOW_USED_FILES = YES - -# Set the SHOW_FILES tag to NO to disable the generation of the Files page. -# This will remove the Files entry from the Quick Index and from the -# Folder Tree View (if specified). The default is YES. - -SHOW_FILES = YES - -# Set the SHOW_NAMESPACES tag to NO to disable the generation of the -# Namespaces page. This will remove the Namespaces entry from the Quick Index -# and from the Folder Tree View (if specified). The default is YES. - -SHOW_NAMESPACES = YES - -# The FILE_VERSION_FILTER tag can be used to specify a program or script that -# doxygen should invoke to get the current version for each file (typically from -# the version control system). Doxygen will invoke the program by executing (via -# popen()) the command , where is the value of -# the FILE_VERSION_FILTER tag, and is the name of an input file -# provided by doxygen. Whatever the program writes to standard output -# is used as the file version. See the manual for examples. - -FILE_VERSION_FILTER = - -# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed -# by doxygen. The layout file controls the global structure of the generated -# output files in an output format independent way. To create the layout file -# that represents doxygen's defaults, run doxygen with the -l option. -# You can optionally specify a file name after the option, if omitted -# DoxygenLayout.xml will be used as the name of the layout file. - -LAYOUT_FILE = - -# The CITE_BIB_FILES tag can be used to specify one or more bib files -# containing the references data. This must be a list of .bib files. The -# .bib extension is automatically appended if omitted. Using this command -# requires the bibtex tool to be installed. See also -# http://en.wikipedia.org/wiki/BibTeX for more info. For LaTeX the style -# of the bibliography can be controlled using LATEX_BIB_STYLE. To use this -# feature you need bibtex and perl available in the search path. - -CITE_BIB_FILES = - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - -WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - -WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - -WARN_IF_DOC_ERROR = YES - -# The WARN_NO_PARAMDOC option can be enabled to get warnings for -# functions that are documented, but have no documentation for their parameters -# or return value. If set to NO (the default) doxygen will only warn about -# wrong or incomplete parameter documentation, but not about the absence of -# documentation. - -WARN_NO_PARAMDOC = NO - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. Optionally the format may contain -# $version, which will be replaced by the version of the file (if it could -# be obtained via FILE_VERSION_FILTER) - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - -INPUT = ../..//src - -# This tag can be used to specify the character encoding of the source files -# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is -# also the default input encoding. Doxygen uses libiconv (or the iconv built -# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for -# the list of possible encodings. - -INPUT_ENCODING = UTF-8 - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh -# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py -# *.f90 *.f *.for *.vhd *.vhdl - -FILE_PATTERNS = *.c \ - *.cc \ - *.cxx \ - *.cpp \ - *.c++ \ - *.d \ - *.java \ - *.ii \ - *.ixx \ - *.ipp \ - *.i++ \ - *.inl \ - *.h \ - *.hh \ - *.hxx \ - *.hpp \ - *.h++ \ - *.idl \ - *.odl \ - *.cs \ - *.php \ - *.php3 \ - *.inc \ - *.m \ - *.markdown \ - *.md \ - *.mm \ - *.dox \ - *.py \ - *.f90 \ - *.f \ - *.for \ - *.vhd \ - *.vhdl - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - -RECURSIVE = YES - -# The EXCLUDE tag can be used to specify files and/or directories that should be -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. -# Note that relative paths are relative to the directory from which doxygen is -# run. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or -# directories that are symbolic links (a Unix file system feature) are excluded -# from the input. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. Note that the wildcards are matched -# against the file with absolute path, so to exclude all test directories -# for example use the pattern */test/* - -EXCLUDE_PATTERNS = - -# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names -# (namespaces, classes, functions, etc.) that should be excluded from the -# output. The symbol name can be a fully qualified name, a word, or if the -# wildcard * is used, a substring. Examples: ANamespace, AClass, -# AClass::ANamespace, ANamespace::*Test - -EXCLUDE_SYMBOLS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - -EXAMPLE_PATTERNS = * - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. If FILTER_PATTERNS is specified, this tag will be -# ignored. - -INPUT_FILTER = - -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. The filters are a list of the form: -# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further -# info on how filters are used. If FILTER_PATTERNS is empty or if -# non of the patterns match the file name, INPUT_FILTER is applied. - -FILTER_PATTERNS = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - -FILTER_SOURCE_FILES = NO - -# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file -# pattern. A pattern will override the setting for FILTER_PATTERN (if any) -# and it is also possible to disable source filtering for a specific pattern -# using *.ext= (so without naming a filter). This option only has effect when -# FILTER_SOURCE_FILES is enabled. - -FILTER_SOURCE_PATTERNS = - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. -# Note: To get rid of all source code in the generated output, make sure also -# VERBATIM_HEADERS is set to NO. - -SOURCE_BROWSER = NO - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C, C++ and Fortran comments will always remain visible. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES -# then for each documented function all documented -# functions referencing it will be listed. - -REFERENCED_BY_RELATION = NO - -# If the REFERENCES_RELATION tag is set to YES -# then for each documented function all documented entities -# called/used by that function will be listed. - -REFERENCES_RELATION = NO - -# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) -# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from -# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will -# link to the source code. Otherwise they will link to the documentation. - -REFERENCES_LINK_SOURCE = YES - -# If the USE_HTAGS tag is set to YES then the references to source code -# will point to the HTML generated by the htags(1) tool instead of doxygen -# built-in source browser. The htags tool is part of GNU's global source -# tagging system (see http://www.gnu.org/software/global/global.html). You -# will need version 4.8.6 or higher. - -USE_HTAGS = NO - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - -VERBATIM_HEADERS = YES - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - -ALPHABETICAL_INDEX = YES - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. Note that when using a custom header you are responsible -# for the proper inclusion of any scripts and style sheets that doxygen -# needs, which is dependent on the configuration options used. -# It is advised to generate a default header using "doxygen -w html -# header.html footer.html stylesheet.css YourConfigFile" and then modify -# that header. Note that the header is subject to change so you typically -# have to redo this when upgrading to a newer version of doxygen or when -# changing the value of configuration settings such as GENERATE_TREEVIEW! - -HTML_HEADER = - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - -HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet. Note that doxygen will try to copy -# the style sheet file to the HTML output directory, so don't put your own -# style sheet in the HTML output directory as well, or it will be erased! - -HTML_STYLESHEET = - -# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or -# other source files which should be copied to the HTML output directory. Note -# that these files will be copied to the base HTML output directory. Use the -# $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these -# files. In the HTML_STYLESHEET file, use the file name only. Also note that -# the files will be copied as-is; there are no commands or markers available. - -HTML_EXTRA_FILES = - -# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. -# Doxygen will adjust the colors in the style sheet and background images -# according to this color. Hue is specified as an angle on a colorwheel, -# see http://en.wikipedia.org/wiki/Hue for more information. -# For instance the value 0 represents red, 60 is yellow, 120 is green, -# 180 is cyan, 240 is blue, 300 purple, and 360 is red again. -# The allowed range is 0 to 359. - -HTML_COLORSTYLE_HUE = 220 - -# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of -# the colors in the HTML output. For a value of 0 the output will use -# grayscales only. A value of 255 will produce the most vivid colors. - -HTML_COLORSTYLE_SAT = 100 - -# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to -# the luminance component of the colors in the HTML output. Values below -# 100 gradually make the output lighter, whereas values above 100 make -# the output darker. The value divided by 100 is the actual gamma applied, -# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2, -# and 100 does not change the gamma. - -HTML_COLORSTYLE_GAMMA = 80 - -# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML -# page will contain the date and time when the page was generated. Setting -# this to NO can help when comparing the output of multiple runs. - -HTML_TIMESTAMP = YES - -# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML -# documentation will contain sections that can be hidden and shown after the -# page has loaded. - -HTML_DYNAMIC_SECTIONS = NO - -# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of -# entries shown in the various tree structured indices initially; the user -# can expand and collapse entries dynamically later on. Doxygen will expand -# the tree to such a level that at most the specified number of entries are -# visible (unless a fully collapsed tree already exceeds this amount). -# So setting the number of entries 1 will produce a full collapsed tree by -# default. 0 is a special value representing an infinite number of entries -# and will result in a full expanded tree by default. - -HTML_INDEX_NUM_ENTRIES = 100 - -# If the GENERATE_DOCSET tag is set to YES, additional index files -# will be generated that can be used as input for Apple's Xcode 3 -# integrated development environment, introduced with OSX 10.5 (Leopard). -# To create a documentation set, doxygen will generate a Makefile in the -# HTML output directory. Running make will produce the docset in that -# directory and running "make install" will install the docset in -# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find -# it at startup. -# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html -# for more information. - -GENERATE_DOCSET = NO - -# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the -# feed. A documentation feed provides an umbrella under which multiple -# documentation sets from a single provider (such as a company or product suite) -# can be grouped. - -DOCSET_FEEDNAME = "Doxygen generated docs" - -# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that -# should uniquely identify the documentation set bundle. This should be a -# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen -# will append .docset to the name. - -DOCSET_BUNDLE_ID = org.doxygen.Project - -# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify -# the documentation publisher. This should be a reverse domain-name style -# string, e.g. com.mycompany.MyDocSet.documentation. - -DOCSET_PUBLISHER_ID = org.doxygen.Publisher - -# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher. - -DOCSET_PUBLISHER_NAME = Publisher - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) -# of the generated HTML documentation. - -GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output directory. - -CHM_FILE = - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run -# the HTML help compiler on the generated index.hhp. - -HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - -GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING -# is used to encode HtmlHelp index (hhk), content (hhc) and project file -# content. - -CHM_INDEX_ENCODING = - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the HTML help documentation and to the tree view. - -TOC_EXPAND = NO - -# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and -# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated -# that can be used as input for Qt's qhelpgenerator to generate a -# Qt Compressed Help (.qch) of the generated HTML documentation. - -GENERATE_QHP = NO - -# If the QHG_LOCATION tag is specified, the QCH_FILE tag can -# be used to specify the file name of the resulting .qch file. -# The path specified is relative to the HTML output folder. - -QCH_FILE = - -# The QHP_NAMESPACE tag specifies the namespace to use when generating -# Qt Help Project output. For more information please see -# http://doc.trolltech.com/qthelpproject.html#namespace - -QHP_NAMESPACE = org.doxygen.Project - -# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating -# Qt Help Project output. For more information please see -# http://doc.trolltech.com/qthelpproject.html#virtual-folders - -QHP_VIRTUAL_FOLDER = doc - -# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to -# add. For more information please see -# http://doc.trolltech.com/qthelpproject.html#custom-filters - -QHP_CUST_FILTER_NAME = - -# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the -# custom filter to add. For more information please see -# -# Qt Help Project / Custom Filters. - -QHP_CUST_FILTER_ATTRS = - -# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this -# project's -# filter section matches. -# -# Qt Help Project / Filter Attributes. - -QHP_SECT_FILTER_ATTRS = - -# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can -# be used to specify the location of Qt's qhelpgenerator. -# If non-empty doxygen will try to run qhelpgenerator on the generated -# .qhp file. - -QHG_LOCATION = - -# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files -# will be generated, which together with the HTML files, form an Eclipse help -# plugin. To install this plugin and make it available under the help contents -# menu in Eclipse, the contents of the directory containing the HTML and XML -# files needs to be copied into the plugins directory of eclipse. The name of -# the directory within the plugins directory should be the same as -# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before -# the help appears. - -GENERATE_ECLIPSEHELP = NO - -# A unique identifier for the eclipse help plugin. When installing the plugin -# the directory name containing the HTML and XML files should also have -# this name. - -ECLIPSE_DOC_ID = org.doxygen.Project - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) -# at top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. Since the tabs have the same information as the -# navigation tree you can set this option to NO if you already set -# GENERATE_TREEVIEW to YES. - -DISABLE_INDEX = NO - -# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index -# structure should be generated to display hierarchical information. -# If the tag value is set to YES, a side panel will be generated -# containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). -# Windows users are probably better off using the HTML help feature. -# Since the tree basically has the same information as the tab index you -# could consider to set DISABLE_INDEX to NO when enabling this option. - -GENERATE_TREEVIEW = NO - -# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values -# (range [0,1..20]) that doxygen will group on one line in the generated HTML -# documentation. Note that a value of 0 will completely suppress the enum -# values from appearing in the overview section. - -ENUM_VALUES_PER_LINE = 4 - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - -TREEVIEW_WIDTH = 250 - -# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open -# links to external symbols imported via tag files in a separate window. - -EXT_LINKS_IN_WINDOW = NO - -# Use this tag to change the font size of Latex formulas included -# as images in the HTML documentation. The default is 10. Note that -# when you change the font size after a successful doxygen run you need -# to manually remove any form_*.png images from the HTML output directory -# to force them to be regenerated. - -FORMULA_FONTSIZE = 10 - -# Use the FORMULA_TRANPARENT tag to determine whether or not the images -# generated for formulas are transparent PNGs. Transparent PNGs are -# not supported properly for IE 6.0, but are supported on all modern browsers. -# Note that when changing this option you need to delete any form_*.png files -# in the HTML output before the changes have effect. - -FORMULA_TRANSPARENT = YES - -# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax -# (see http://www.mathjax.org) which uses client side Javascript for the -# rendering instead of using prerendered bitmaps. Use this if you do not -# have LaTeX installed or if you want to formulas look prettier in the HTML -# output. When enabled you may also need to install MathJax separately and -# configure the path to it using the MATHJAX_RELPATH option. - -USE_MATHJAX = NO - -# When MathJax is enabled you need to specify the location relative to the -# HTML output directory using the MATHJAX_RELPATH option. The destination -# directory should contain the MathJax.js script. For instance, if the mathjax -# directory is located at the same level as the HTML output directory, then -# MATHJAX_RELPATH should be ../mathjax. The default value points to -# the MathJax Content Delivery Network so you can quickly see the result without -# installing MathJax. However, it is strongly recommended to install a local -# copy of MathJax from http://www.mathjax.org before deployment. - -MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest - -# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension -# names that should be enabled during MathJax rendering. - -MATHJAX_EXTENSIONS = - -# When the SEARCHENGINE tag is enabled doxygen will generate a search box -# for the HTML output. The underlying search engine uses javascript -# and DHTML and should work on any modern browser. Note that when using -# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets -# (GENERATE_DOCSET) there is already a search function so this one should -# typically be disabled. For large projects the javascript based search engine -# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution. - -SEARCHENGINE = YES - -# When the SERVER_BASED_SEARCH tag is enabled the search engine will be -# implemented using a PHP enabled web server instead of at the web client -# using Javascript. Doxygen will generate the search PHP script and index -# file to put on the web server. The advantage of the server -# based approach is that it scales better to large projects and allows -# full text search. The disadvantages are that it is more difficult to setup -# and does not have live searching capabilities. - -SERVER_BASED_SEARCH = NO - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - -GENERATE_LATEX = YES - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. -# Note that when enabling USE_PDFLATEX this option is only used for -# generating bitmaps for formulas in the HTML output, but not in the -# Makefile that is written to the output directory. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, letter, legal and -# executive. If left blank a4wide will be used. - -PAPER_TYPE = a4 - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - -LATEX_HEADER = - -# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for -# the generated latex document. The footer should contain everything after -# the last chapter. If it is left blank doxygen will generate a -# standard footer. Notice: only use this tag if you know what you are doing! - -LATEX_FOOTER = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - -PDF_HYPERLINKS = YES - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - -USE_PDFLATEX = YES - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - -LATEX_BATCHMODE = NO - -# If LATEX_HIDE_INDICES is set to YES then doxygen will not -# include the index chapters (such as File Index, Compound Index, etc.) -# in the output. - -LATEX_HIDE_INDICES = NO - -# If LATEX_SOURCE_CODE is set to YES then doxygen will include -# source code with syntax highlighting in the LaTeX output. -# Note that which sources are shown also depends on other settings -# such as SOURCE_BROWSER. - -LATEX_SOURCE_CODE = NO - -# The LATEX_BIB_STYLE tag can be used to specify the style to use for the -# bibliography, e.g. plainnat, or ieeetr. The default style is "plain". See -# http://en.wikipedia.org/wiki/BibTeX for more info. - -LATEX_BIB_STYLE = plain - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimized for Word 97 and may not look very pretty with -# other RTF readers or editors. - -GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - -RTF_HYPERLINKS = NO - -# Load style sheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assignments. You only have to provide -# replacements, missing definitions are set to their default value. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - -GENERATE_MAN = NO - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - -MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. - -GENERATE_XML = NO - -# The XML_OUTPUT tag is used to specify where the XML pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `xml' will be used as the default path. - -XML_OUTPUT = xml - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_DTD = - -# If the XML_PROGRAMLISTING tag is set to YES Doxygen will -# dump the program listings (including syntax highlighting -# and cross-referencing information) to the XML output. Note that -# enabling this will significantly increase the size of the XML output. - -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. This is useful -# if you want to understand what is going on. On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - -MACRO_EXPANSION = NO - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_DEFINED tags. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# pointed to by INCLUDE_PATH will be searched when a #include is found. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. To prevent a macro definition from being -# undefined via #undef or recursively expanded use the := operator -# instead of the = operator. - -PREDEFINED = - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition that -# overrules the definition found in the source code. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all references to function-like macros -# that are alone on a line, have an all uppercase name, and do not end with a -# semicolon, because these will confuse the parser if not removed. - -SKIP_FUNCTION_MACROS = YES - -#--------------------------------------------------------------------------- -# Configuration::additions related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES option can be used to specify one or more tagfiles. For each -# tag file the location of the external documentation should be added. The -# format of a tag file without this location is as follows: -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# TAGFILES = file1=loc1 "file2 = loc2" ... -# where "loc1" and "loc2" can be relative or absolute paths -# or URLs. Note that each tag file must have a unique name (where the name does -# NOT include the path). If a tag file is not located in the directory in which -# doxygen is run, you must also specify the path to the tagfile here. - -TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - -GENERATE_TAGFILE = - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - -EXTERNAL_GROUPS = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base -# or super classes. Setting the tag to NO turns the diagrams off. Note that -# this option also works with HAVE_DOT disabled, but it is recommended to -# install and use dot, since it yields more powerful graphs. - -CLASS_DIAGRAMS = YES - -# You can define message sequence charts within doxygen comments using the \msc -# command. Doxygen will then run the mscgen tool (see -# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the -# documentation. The MSCGEN_PATH tag allows you to specify the directory where -# the mscgen tool resides. If left empty the tool is assumed to be found in the -# default search path. - -MSCGEN_PATH = - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - -HAVE_DOT = NO - -# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is -# allowed to run in parallel. When set to 0 (the default) doxygen will -# base this on the number of processors available in the system. You can set it -# explicitly to a value larger than 0 to get control over the balance -# between CPU load and processing speed. - -DOT_NUM_THREADS = 0 - -# By default doxygen will use the Helvetica font for all dot files that -# doxygen generates. When you want a differently looking font you can specify -# the font name using DOT_FONTNAME. You need to make sure dot is able to find -# the font, which can be done by putting it in a standard location or by setting -# the DOTFONTPATH environment variable or by setting DOT_FONTPATH to the -# directory containing the font. - -DOT_FONTNAME = Helvetica - -# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. -# The default size is 10pt. - -DOT_FONTSIZE = 10 - -# By default doxygen will tell dot to use the Helvetica font. -# If you specify a different font using DOT_FONTNAME you can use DOT_FONTPATH to -# set the path where dot can find it. - -DOT_FONTPATH = - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# CLASS_DIAGRAMS tag to NO. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - -COLLABORATION_GRAPH = YES - -# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for groups, showing the direct groups dependencies - -GROUP_GRAPHS = YES - -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling -# Language. - -UML_LOOK = NO - -# If the UML_LOOK tag is enabled, the fields and methods are shown inside -# the class node. If there are many fields or methods and many nodes the -# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS -# threshold limits the number of items for each type to make the size more -# managable. Set this to 0 for no limit. Note that the threshold may be -# exceeded by 50% before the limit is enforced. - -UML_LIMIT_NUM_FIELDS = 10 - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - -TEMPLATE_RELATIONS = NO - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - -INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - -INCLUDED_BY_GRAPH = YES - -# If the CALL_GRAPH and HAVE_DOT options are set to YES then -# doxygen will generate a call dependency graph for every global function -# or class method. Note that enabling this option will significantly increase -# the time of a run. So in most cases it will be better to enable call graphs -# for selected functions only using the \callgraph command. - -CALL_GRAPH = NO - -# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then -# doxygen will generate a caller dependency graph for every global function -# or class method. Note that enabling this option will significantly increase -# the time of a run. So in most cases it will be better to enable caller -# graphs for selected functions only using the \callergraph command. - -CALLER_GRAPH = NO - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will generate a graphical hierarchy of all classes instead of a textual one. - -GRAPHICAL_HIERARCHY = YES - -# If the DIRECTORY_GRAPH and HAVE_DOT tags are set to YES -# then doxygen will show the dependencies a directory has on other directories -# in a graphical way. The dependency relations are determined by the #include -# relations between the files in the directories. - -DIRECTORY_GRAPH = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are svg, png, jpg, or gif. -# If left blank png will be used. If you choose svg you need to set -# HTML_FILE_EXTENSION to xhtml in order to make the SVG files -# visible in IE 9+ (other browsers do not have this requirement). - -DOT_IMAGE_FORMAT = png - -# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to -# enable generation of interactive SVG images that allow zooming and panning. -# Note that this requires a modern browser other than Internet Explorer. -# Tested and working are Firefox, Chrome, Safari, and Opera. For IE 9+ you -# need to set HTML_FILE_EXTENSION to xhtml in order to make the SVG files -# visible. Older versions of IE do not have SVG support. - -INTERACTIVE_SVG = NO - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found in the path. - -DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - -DOTFILE_DIRS = - -# The MSCFILE_DIRS tag can be used to specify one or more directories that -# contain msc files that are included in the documentation (see the -# \mscfile command). - -MSCFILE_DIRS = - -# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of -# nodes that will be shown in the graph. If the number of nodes in a graph -# becomes larger than this value, doxygen will truncate the graph, which is -# visualized by representing a node as a red box. Note that doxygen if the -# number of direct children of the root node in a graph is already larger than -# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note -# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. - -DOT_GRAPH_MAX_NODES = 50 - -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the -# graphs generated by dot. A depth value of 3 means that only nodes reachable -# from the root by following a path via at most 3 edges will be shown. Nodes -# that lay further from the root node will be omitted. Note that setting this -# option to 1 or 2 may greatly reduce the computation time needed for large -# code bases. Also note that the size of a graph can be further restricted by -# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. - -MAX_DOT_GRAPH_DEPTH = 0 - -# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent -# background. This is disabled by default, because dot on Windows does not -# seem to support this out of the box. Warning: Depending on the platform used, -# enabling this option may lead to badly anti-aliased labels on the edges of -# a graph (i.e. they become hard to read). - -DOT_TRANSPARENT = NO - -# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output -# files in one run (i.e. multiple -o and -T options on the command line). This -# makes dot run faster, but since only newer versions of dot (>1.8.10) -# support this, this feature is disabled by default. - -DOT_MULTI_TARGETS = NO - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermediate dot files that are used to generate -# the various graphs. - -DOT_CLEANUP = YES diff --git a/Socket/doc/html/_socket_8cpp.html b/Socket/doc/html/_socket_8cpp.html deleted file mode 100644 index f4c5bc7..0000000 --- a/Socket/doc/html/_socket_8cpp.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/Socket.cpp - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- - -
-
-
-
Referencia del Archivo Socket.cpp
-
-
- -

Fichero de implementación de la clase Socket. -Más...

-
#include "Socket.h"
-#include "SocketException.h"
-#include <sstream>
-#include <strings.h>
-#include <cstdlib>
-#include <netinet/tcp.h>
-

Descripción detallada

-

Fichero de implementación de la clase Socket.

-
Autor
Imanol Barba Sabariego
-
Fecha
13/06/2013
-

En este fichero se implementan los métodos de la clase Socket definidos en Socket.h

-
- - - - diff --git a/Socket/doc/html/_socket_8h.html b/Socket/doc/html/_socket_8h.html deleted file mode 100644 index d16de8c..0000000 --- a/Socket/doc/html/_socket_8h.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/include/Socket.h - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- - -
-
- -
-
Referencia del Archivo Socket.h
-
-
- -

Header de la clase Socket. -Más...

-
#include <iostream>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <netdb.h>
-#include <string>
-#include <sys/types.h>
-#include <unistd.h>
-
-

Ir al código fuente de este archivo.

- - - - - -

-Clases

class  Socket
 Clase del socket. Más...
 
-

Descripción detallada

-

Header de la clase Socket.

-
Autor
Imanol Barba Sabariego
-
Fecha
12/06/2013
-

En este fichero se define la clase Socket, que es la clase que se abstraer toda la comunicación con sockets al programador

-
- - - - diff --git a/Socket/doc/html/_socket_8h_source.html b/Socket/doc/html/_socket_8h_source.html deleted file mode 100644 index 2b52cd2..0000000 --- a/Socket/doc/html/_socket_8h_source.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -Socket: Fichero Fuente /home/imanol/devel/eclipse/PAD/Socket/src/include/Socket.h - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- - -
-
-
-
Socket.h
-
-
-Ir a la documentación de este archivo.
1 
-
8 #ifndef SOCKET_H_
-
9 #define SOCKET_H_
-
10 
-
11 #include <iostream>
-
12 #include <sys/socket.h>
-
13 #include <netinet/in.h>
-
14 #include <arpa/inet.h>
-
15 #include <netdb.h>
-
16 #include <string>
-
17 #include <sys/types.h>
-
18 #include <unistd.h>
-
19 
-
20 using namespace std;
-
21 
-
23 
-
27 class Socket
-
28 {
-
29  private:
-
31 
-
32  int sock;
-
34 
-
35  struct sockaddr_in sockAddr;
-
37 
-
41  int Receive(char *buff, int length);
-
43 
-
47  int Send(const char *buff, int length);
-
48 
-
49  public:
-
51 
-
52  Socket();
-
54 
-
55  void Create();
-
57 
-
59  void Bind(string address, int port);
-
61 
-
62  void Listen(int backlog);
-
64 
-
66  void Accept(Socket &clientSock);
-
68 
-
70  void Connect(string hostname, int port);
-
72 
-
73  void Close();
-
75 
-
76  int getSock();
-
78 
-
80  const Socket& operator << ( const string& );
-
82 
-
84  const Socket& operator >> ( string& );
-
85 };
-
86 #endif /* SOCKET_H_ */
-
- - - - diff --git a/Socket/doc/html/_socket_exception_8h.html b/Socket/doc/html/_socket_exception_8h.html deleted file mode 100644 index 56d35d0..0000000 --- a/Socket/doc/html/_socket_exception_8h.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/include/SocketException.h - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- - -
-
- -
-
Referencia del Archivo SocketException.h
-
-
- -

Header de excepción de Sockets. -Más...

-
#include <string>
-
-

Ir al código fuente de este archivo.

- - - - - -

-Clases

class  SocketException
 Clase de Excepción de Sockets. Más...
 
-

Descripción detallada

-

Header de excepción de Sockets.

-
Autor
Imanol Barba Sabariego
-
Fecha
10/06/2013
-

En este fichero se define la clase SocketException para el control de excepciones producidas por la librería.

-
- - - - diff --git a/Socket/doc/html/_socket_exception_8h_source.html b/Socket/doc/html/_socket_exception_8h_source.html deleted file mode 100644 index 8ec21b4..0000000 --- a/Socket/doc/html/_socket_exception_8h_source.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -Socket: Fichero Fuente /home/imanol/devel/eclipse/PAD/Socket/src/include/SocketException.h - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- - -
-
-
-
SocketException.h
-
-
-Ir a la documentación de este archivo.
1 
-
9 #ifndef SOCKETEXCEPTION_H_
-
10 #define SOCKETEXCEPTION_H_
-
11 
-
12 #include <string>
-
13 
-
14 using namespace std;
-
15 
-
17 
- -
21 {
-
22  public:
-
24 
-
25  SocketException ( string m ) : message ( m ) {};
- -
28 
-
29  string description() { return message; }
-
30  private:
-
32  string message;
-
33 };
-
34 #endif /* SOCKETEXCEPTION_H_ */
-
- - - - diff --git a/Socket/doc/html/annotated.html b/Socket/doc/html/annotated.html deleted file mode 100644 index 8e8c029..0000000 --- a/Socket/doc/html/annotated.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - -Socket: Lista de clases - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - -
- - - - -
- -
- -
-
-
Lista de clases
-
-
-
Lista de las clases, estructuras, uniones e interfaces con una breve descripción:
- - - - - -
oCServerClase de aplicación servidor
oCSocketClase del socket
oCSocketExceptionClase de Excepción de Sockets
\Cthread_argsArgumentos de los threads
-
-
- - - - diff --git a/Socket/doc/html/bc_s.png b/Socket/doc/html/bc_s.png deleted file mode 100644 index 224b29a..0000000 Binary files a/Socket/doc/html/bc_s.png and /dev/null differ diff --git a/Socket/doc/html/bdwn.png b/Socket/doc/html/bdwn.png deleted file mode 100644 index 940a0b9..0000000 Binary files a/Socket/doc/html/bdwn.png and /dev/null differ diff --git a/Socket/doc/html/class_server-members.html b/Socket/doc/html/class_server-members.html deleted file mode 100644 index 887ee4c..0000000 --- a/Socket/doc/html/class_server-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - -Socket: Lista de los miembros - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
-
-
Server Lista de los miembros
-
-
- -

Lista completa de los miembros de Server, incluyendo todos los heredados:

- - - - - - - - - - - - - - - -
freeRAM(list< pthread_t * > *threadList)Server
getNWorkers()Server
getStartedThreads()Server
getStoppedThreads()Server
nWorkersServerprivate
requestExit()Server
Server()Serverinline
setNWorkers(int n)Server
shutdownServerServerprivate
ssServerprivate
startedThreadsServerprivate
startServer(string i, int p)Server
stoppedThreadsServerprivate
workerIDServerprivate
- - - - diff --git a/Socket/doc/html/class_server.html b/Socket/doc/html/class_server.html deleted file mode 100644 index 9d6ca36..0000000 --- a/Socket/doc/html/class_server.html +++ /dev/null @@ -1,488 +0,0 @@ - - - - - - -Socket: Referencia de la Clase Server - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
- -
-
Referencia de la Clase Server
-
-
- -

Clase de aplicación servidor. - Más...

- -

#include <server.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Métodos públicos

 Server ()
 Constructor de la clase Server. Más...
 
int getNWorkers ()
 Getter del número de threads activos. Más...
 
void setNWorkers (int n)
 Setter del número de threads activos. Más...
 
list< pthread_t * > * getStartedThreads ()
 Getter de la pila de threads activos. Más...
 
list< pthread_t * > * getStoppedThreads ()
 Getter de la pila de threads terminados. Más...
 
void startServer (string i, int p)
 Método de inicialización del servidor. Más...
 
void freeRAM (list< pthread_t * > *threadList)
 Método para liberar memória de threads. Más...
 
void requestExit ()
 Método para terminar el servidor. Más...
 
- - - - - - - - - - - - - - - - - - - -

-Atributos privados

int nWorkers
 Contador de threads. Más...
 
bool shutdownServer
 Variable de apagado. Más...
 
int workerID
 Contador de ID de thread. Más...
 
list< pthread_t * > stoppedThreads
 Pila de threads terminados. Más...
 
list< pthread_t * > startedThreads
 Pila de threads empezados. Más...
 
Socket ss
 Socket de comunicación. Más...
 
-

Descripción detallada

-

Clase de aplicación servidor.

-

Esta clase define un objeto con los métodos y atributos necesarios para lanzar una aplicación servidor y atender las conexiones. Para realizar la comunicación con el cliente, usa un objeto de la clase Socket

-

Documentación del constructor y destructor

- -
-
- - - - - -
- - - - - - - -
Server::Server ()
-
-inline
-
- -

Constructor de la clase Server.

-

Incializa los argumentos inciales del servidor

- -
-
-

Documentación de las funciones miembro

- -
-
- - - - - - - - -
void Server::freeRAM (list< pthread_t * > * threadList)
-
- -

Método para liberar memória de threads.

-

Este método se llama para que libere la memoria de todos los threads que se le proporcionan por argumento

-
Parámetros
- - -
threadListContenedor con los threads a liberar
-
-
- -
-
- -
-
- - - - - - - -
int Server::getNWorkers ()
-
- -

Getter del número de threads activos.

-

Devuelve el número de threads activos en ese instante, por tanto, del número de conexiones que están siendo atendidas.

- -
-
- -
-
- - - - - - - -
list< pthread_t * > * Server::getStartedThreads ()
-
- -

Getter de la pila de threads activos.

-

Devuelve un contenedor con la lista de threads que estan activos, para terminarlos en caso de que el programa finalice prematuramente

- -
-
- -
-
- - - - - - - -
list< pthread_t * > * Server::getStoppedThreads ()
-
- -

Getter de la pila de threads terminados.

-

Devuelve un contenedor con la lista de threads que han terminado, para poder liberar la memoria que se le ha asignado

- -
-
- -
-
- - - - - - - -
void Server::requestExit ()
-
- -

Método para terminar el servidor.

-

Este método inicia la secuencia de finalización del servidor

- -
-
- -
-
- - - - - - - - -
void Server::setNWorkers (int n)
-
- -

Setter del número de threads activos.

-

Establece el número de threads activos, para poder cambiarlo cuando alguno de los threads activos finaliza

-
Parámetros
- - -
nNuevo número de threads activos
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void Server::startServer (string i,
int p 
)
-
- -

Método de inicialización del servidor.

-

Incializa el servidor en el puerto e IP especificados para empezar a recibir conexiones entrantes

-
Parámetros
- - - -
iIP donde se aceptan las conexiones
pPuerto donde se aceptan las conexiones
-
-
- -
-
-

Documentación de los datos miembro

- -
-
- - - - - -
- - - - -
int Server::nWorkers
-
-private
-
- -

Contador de threads.

-

Esta variable se encarga de mantener la cuenta de threads activos, por tanto, el número de conexiones que estan siendo antendidas simultáneamente.

- -
-
- -
-
- - - - - -
- - - - -
bool Server::shutdownServer
-
-private
-
- -

Variable de apagado.

-

Esta variable controla el apagado del servidor, al ponerla a true, la siguiente iteración del bucle que atiende las conexiones no se producirá y el programa terminará.

- -
-
- -
-
- - - - - -
- - - - -
Socket Server::ss
-
-private
-
- -

Socket de comunicación.

-

Esta variable contiene el objeto de la clase Socket que la aplicación servidor usa para poder atender las peticiones. Su función es quedarse escuchando el el puerto e IP introducidas en el fichero de configuración y crear un objeto de la clase Socket para cada petición de cada cliente nuevo, siendo este último objeto creado el que se usa para la comuncación.

- -
-
- -
-
- - - - - -
- - - - -
list<pthread_t*> Server::startedThreads
-
-private
-
- -

Pila de threads empezados.

-

Esta variable contiene una lista de threads que han empezado su ejecución. Si el programa finalizara prematuramente, se liberarían los punteros de los threads almacenados en esta pila.

-

NOTA: No se liberará la memoria asignada a los argumentos de los threads, dando lugar a memory leaks; sin embargo, esto se produciria al finalizar el programa, por tanto no es relevante.

- -
-
- -
-
- - - - - -
- - - - -
list<pthread_t*> Server::stoppedThreads
-
-private
-
- -

Pila de threads terminados.

-

Esta variable contiene una lista de threads que han finalizado su ejecución. A cada iteración del bucle que atiende conexiones, se libera toda la memoria de los threads que hay almacenados aquí.

- -
-
- -
-
- - - - - -
- - - - -
int Server::workerID
-
-private
-
- -

Contador de ID de thread.

-

Esta variable contiene el ID del próximo thread que se creará, por tanto, indica el número de conexiones que han sido atendidas desde el inicio del servidor

- -
-
-
La documentación para esta clase fue generada a partir de los siguientes ficheros:
    -
  • /home/imanol/devel/eclipse/PAD/Socket/src/include/server.h
  • -
  • /home/imanol/devel/eclipse/PAD/Socket/src/server.cpp
  • -
-
- - - - diff --git a/Socket/doc/html/class_socket-members.html b/Socket/doc/html/class_socket-members.html deleted file mode 100644 index def1d86..0000000 --- a/Socket/doc/html/class_socket-members.html +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - -Socket: Lista de los miembros - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
-
-
Socket Lista de los miembros
-
-
- -

Lista completa de los miembros de Socket, incluyendo todos los heredados:

- - - - - - - - - - - - - - - -
Accept(Socket &clientSock)Socket
Bind(string address, int port)Socket
Close()Socket
Connect(string hostname, int port)Socket
Create()Socket
getSock()Socket
Listen(int backlog)Socket
operator<<(const string &)Socket
operator>>(string &)Socket
Receive(char *buff, int length)Socketprivate
Send(const char *buff, int length)Socketprivate
sockSocketprivate
sockAddrSocketprivate
Socket()Socket
- - - - diff --git a/Socket/doc/html/class_socket.html b/Socket/doc/html/class_socket.html deleted file mode 100644 index 06e3eef..0000000 --- a/Socket/doc/html/class_socket.html +++ /dev/null @@ -1,549 +0,0 @@ - - - - - - -Socket: Referencia de la Clase Socket - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
- -
- -

Clase del socket. - Más...

- -

#include <Socket.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Métodos públicos

 Socket ()
 Constructor de la clase Socket. Más...
 
void Create ()
 Método para crear sockets. Más...
 
void Bind (string address, int port)
 Método para hacer bind a una dirección y puerto. Más...
 
void Listen (int backlog)
 Método para escuchar conexiones. Más...
 
void Accept (Socket &clientSock)
 Método para aceptar conexiones. Más...
 
void Connect (string hostname, int port)
 Método para efectuar conexiones. Más...
 
void Close ()
 Método para cerrar sockets. Más...
 
int getSock ()
 Getter para el file descriptor del socket. Más...
 
const Socketoperator<< (const string &)
 Método para enviar mensajes. Más...
 
const Socketoperator>> (string &)
 Método para recibir mensajes. Más...
 
- - - - - - - -

-Métodos privados

int Receive (char *buff, int length)
 Método para recibir un mensaje de longitud conocida. Más...
 
int Send (const char *buff, int length)
 Método para enviar un mensaje de longitud conocida. Más...
 
- - - - - - - -

-Atributos privados

int sock
 Descriptor del fichero del socket. Más...
 
struct sockaddr_in sockAddr
 Estructura de dirección de socket. Más...
 
-

Descripción detallada

-

Clase del socket.

-

Esta clase define un objeto con los métodos y atributos necesarios para realizar comunicación encriptada o en texto llano a través de un socket TCP/IP en un entorno UNIX abstrayendo la implementación de sockets y de encriptación al programador.

-

Documentación del constructor y destructor

- -
-
- - - - - - - -
Socket::Socket ()
-
- -

Constructor de la clase Socket.

-

Inicializa el file descriptor del socket y prepara la memoria donde se almacenarán las llaves públicas.

- -
-
-

Documentación de las funciones miembro

- -
-
- - - - - - - - -
void Socket::Accept (SocketclientSock)
-
- -

Método para aceptar conexiones.

-

Este método bloquea el thread que lo ejecuta hasta que recibe una conexión entrante, que almacena como instancia de la clase Socket en la referencia proporcionada por argumento.

-
Parámetros
- - -
clientSockInstáncia de Socket que comunica con el cliente entrante
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void Socket::Bind (string address,
int port 
)
-
- -

Método para hacer bind a una dirección y puerto.

-

Este método asigna el socket a una dirección IP (y por tanto, a una interfaz de red en concreto) y un puerto, para que posteriormente actúe de servidor escuchando conexiones.

-
Parámetros
- - - -
addressDirección IP asignada
portPuerto asignado
-
-
- -
-
- -
-
- - - - - - - -
void Socket::Close ()
-
- -

Método para cerrar sockets.

-

Este método cierra el socket para que no se pueda escribir ni leer más en él, para liberarlo del kernel y terminar la conexión TCP.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void Socket::Connect (string hostname,
int port 
)
-
- -

Método para efectuar conexiones.

-

Este método sirve a los sockets que actúan como cliente para poder efectuar conexiones a otro socket que esté escuchando en la dirección y puerto especificados y atienda conexiones.

-
Parámetros
- - - -
hostnameHostname al que conectarse
portPuerto al que conectarse
-
-
- -
-
- -
-
- - - - - - - -
void Socket::Create ()
-
- -

Método para crear sockets.

-

Crea un file descriptor para un socket que por defecto no está conectado ni asignado a ninguna dirección.

- -
-
- -
-
- - - - - - - -
int Socket::getSock ()
-
- -

Getter para el file descriptor del socket.

-

Este método devuelve el file descriptor del socket.

- -
-
- -
-
- - - - - - - - -
void Socket::Listen (int backlog)
-
- -

Método para escuchar conexiones.

-

Este método configura el socket para que se ponga en modo escucha y así pueda atender conexiones entrantes.

-
Parámetros
- - -
backlogNúmero máximo de conexiones en espera
-
-
- -
-
- -
-
- - - - - - - - -
const Socket & Socket::operator<< (const string & text)
-
- -

Método para enviar mensajes.

-

Este método envía el mensaje que se le proporciona a través del Socket con o sin encriptación según las opciones de compilación usando el protocolo implementado.

-
Parámetros
- - -
textMensaje a enviar
-
-
- -
-
- -
-
- - - - - - - - -
const Socket & Socket::operator>> (std::string & text)
-
- -

Método para recibir mensajes.

-

Este método recibe un mensaje de longitud arbitrária con o sin encriptación según las opciones de compilación usando el protocolo implementado.

-
Parámetros
- - -
textMensaje a recibir
-
-
- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int Socket::Receive (char * buff,
int length 
)
-
-private
-
- -

Método para recibir un mensaje de longitud conocida.

-

Este método se usa para recibir un mensaje de la longitud que se especifica por argumento y almacenarlo en el buffer proporcionado.

-

Este método garantiza que todo el mensaje se recibirá entero aunque la red no admita una longitud de paquete tan grande.

-
Parámetros
- - - -
buffBuffer donde se almacena el mensaje recibido
lengthLongitud del mensaje a recibir
-
-
- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
int Socket::Send (const char * buff,
int length 
)
-
-private
-
- -

Método para enviar un mensaje de longitud conocida.

-

Este método se usa para enviar un mensaje de la longitud especifidada en el argumento y devuelve el número de bytes enviados.

-

Este método garantiza que todo el mensaje se enviará entero aunque la red no admita una longitud de paquete tan grande.

-
Parámetros
- - - -
buffBuffer con el mensaje a enviar
lengthLongitud del mensaje
-
-
- -
-
-

Documentación de los datos miembro

- -
-
- - - - - -
- - - - -
int Socket::sock
-
-private
-
- -

Descriptor del fichero del socket.

-

Esta variable contiene el file descriptor del socket abierto por el SO.

- -
-
- -
-
- - - - - -
- - - - -
struct sockaddr_in Socket::sockAddr
-
-private
-
- -

Estructura de dirección de socket.

-

Este struct es usado por el SO para gestionar la dirección del socket abierto.

- -
-
-
La documentación para esta clase fue generada a partir de los siguientes ficheros:
    -
  • /home/imanol/devel/eclipse/PAD/Socket/src/include/Socket.h
  • -
  • /home/imanol/devel/eclipse/PAD/Socket/src/Socket.cpp
  • -
-
- - - - diff --git a/Socket/doc/html/class_socket_exception-members.html b/Socket/doc/html/class_socket_exception-members.html deleted file mode 100644 index f187c84..0000000 --- a/Socket/doc/html/class_socket_exception-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - -Socket: Lista de los miembros - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
-
-
SocketException Lista de los miembros
-
-
- -

Lista completa de los miembros de SocketException, incluyendo todos los heredados:

- - - - - -
description()SocketExceptioninline
messageSocketExceptionprivate
SocketException(string m)SocketExceptioninline
~SocketException()SocketExceptioninline
- - - - diff --git a/Socket/doc/html/class_socket_exception.html b/Socket/doc/html/class_socket_exception.html deleted file mode 100644 index cccdcee..0000000 --- a/Socket/doc/html/class_socket_exception.html +++ /dev/null @@ -1,237 +0,0 @@ - - - - - - -Socket: Referencia de la Clase SocketException - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
- -
-
Referencia de la Clase SocketException
-
-
- -

Clase de Excepción de Sockets. - Más...

- -

#include <SocketException.h>

- - - - - - - - - - -

-Métodos públicos

 SocketException (string m)
 Constructor de la clase. Más...
 
 ~SocketException ()
 
string description ()
 Getter del atributo message. Más...
 
- - - - -

-Atributos privados

string message
 Mensaje asociado a la excepción producida. Más...
 
-

Descripción detallada

-

Clase de Excepción de Sockets.

-

Definición de las excepciones lanzadas por la librería de comunicación TCP/IP

-

Documentación del constructor y destructor

- -
-
- - - - - -
- - - - - - - - -
SocketException::SocketException (string m)
-
-inline
-
- -

Constructor de la clase.

-

Inicializa el mensaje

-
Parámetros
- - -
mMensaje inicial
-
-
- -
-
- -
-
- - - - - -
- - - - - - - -
SocketException::~SocketException ()
-
-inline
-
- -
-
-

Documentación de las funciones miembro

- -
-
- - - - - -
- - - - - - - -
string SocketException::description ()
-
-inline
-
- -

Getter del atributo message.

-

Devuelve el mensaje asociado a la excepción producida

- -
-
-

Documentación de los datos miembro

- -
-
- - - - - -
- - - - -
string SocketException::message
-
-private
-
- -

Mensaje asociado a la excepción producida.

- -
-
-
La documentación para esta clase fue generada a partir del siguiente fichero: -
- - - - diff --git a/Socket/doc/html/classes.html b/Socket/doc/html/classes.html deleted file mode 100644 index 893d2e9..0000000 --- a/Socket/doc/html/classes.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -Socket: Índice de clases - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - -
- - - - -
- -
- -
-
-
Índice de clases
-
-
-
S | T
- - - - - -
  S  
-
Socket   
  T  
-
SocketException   
Server   thread_args   
-
S | T
-
- - - - diff --git a/Socket/doc/html/client_8cpp.html b/Socket/doc/html/client_8cpp.html deleted file mode 100644 index b943140..0000000 --- a/Socket/doc/html/client_8cpp.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/client.cpp - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- - -
-
- -
-
Referencia del Archivo client.cpp
-
-
- -

Fichero de implementación de un cliente. -Más...

-
#include "Socket.h"
-#include <iostream>
-#include "SocketException.h"
-#include <sstream>
-#include <signal.h>
-#include <cstdlib>
-#include <sys/time.h>
-
- - - - - - - -

-Funciones

void exitClient (int signal)
 Método para terminar el cliente. Más...
 
int main ()
 Método principal del cliente. Más...
 
-

Descripción detallada

-

Fichero de implementación de un cliente.

-
Autor
Imanol Barba Sabariego
-
Fecha
13/06/2013
-

En este fichero se implementa un cliente para poder usar con el servidor creado, usando la clase Socket.

-

Documentación de las funciones

- -
-
- - - - - - - - -
void exitClient (int signal)
-
- -

Método para terminar el cliente.

-

Este método se usa para terminar el cliente immediatamente en el caso que el servidor cierre la conexión de forma inesperada, capturando el signal SIGPIPE.

-
Parámetros
- - -
signalParámetro que captura el signal recibido
-
-
- -
-
- -
-
- - - - - - - -
int main ()
-
- -

Método principal del cliente.

-

Este método inicializa el Socket, establece la conexión y realiza las acciones que se le hayan programado para comunicarse con el servidor.

- -
-
-
- - - - diff --git a/Socket/doc/html/client_8dox.html b/Socket/doc/html/client_8dox.html deleted file mode 100644 index 8011b05..0000000 --- a/Socket/doc/html/client_8dox.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/client.dox - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
-
-
Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/client.dox
-
-
-

Descripción detallada

-
Autor
Imanol Barba Sabariego
-
Fecha
13/06/2013
-
- - - - diff --git a/Socket/doc/html/client_code.html b/Socket/doc/html/client_code.html deleted file mode 100644 index 31fa43b..0000000 --- a/Socket/doc/html/client_code.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - - -Socket: Client - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- -
-
-
-
Client
-
-
-

Ejemplo de aplicación cliente

-
#include "Socket.h"
-
#include <iostream>
- -
#include <sstream>
-
#include <signal.h>
-
#include <cstdlib>
-
#include <sys/time.h>
-
-
using namespace std;
-
-
void exitClient(int signal)
-
{
-
cout << "Server connection terminated unexpectedly" << endl << "Exiting" << endl;
-
exit(-1);
-
}
-
-
int main()
-
{
-
signal(SIGPIPE, exitClient);
-
signal(SIGINT, exitClient);
-
Socket s;
-
string send, recv, host;
-
int port;
-
s.Create();
-
cout << "Created socket" << endl;
-
cout << "Hostname: ";
-
cin >> host;
-
cout << "Port: ";
-
cin >> port;
-
cin.ignore();
-
s.Connect(host,port);
-
cout << "Connected" << endl;
-
while(true)
-
{
-
cout << "> ";
-
getline(cin,send);
-
s >> recv;
-
cout << "Received: " << recv << endl;
-
}
-
}
-
- - - - diff --git a/Socket/doc/html/closed.png b/Socket/doc/html/closed.png deleted file mode 100644 index 98cc2c9..0000000 Binary files a/Socket/doc/html/closed.png and /dev/null differ diff --git a/Socket/doc/html/conf.html b/Socket/doc/html/conf.html deleted file mode 100644 index 8b630a1..0000000 --- a/Socket/doc/html/conf.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -Socket: Fichero de configuración - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- -
-
-
-
Fichero de configuración
-
-
-

Tabla de contenidos

- -
-

Descripción de la sintaxis y parámetros del fichero de configuración

-
    A continuación se detalla el uso del fichero de configuración del servidor.
-    <br><br>
-

-Sintáxis

-

La sintaxis es muy sencilla:

-
PARÁMETRO<WHITESPACE>=<WHITESPACE>VALOR 
            donde <WHITESPACE> pueden ser espacios, tabulaciones o saltos de línea.
-            <br>
-

-Parámetros

-

A continuación se detallan los posibles parámetros y qué valores aceptan.
-

-

-bind-ip

-

Contiene la dirección IP que será asigada al Socket del servidor, por tanto, la dirección donde escuchará conexiones. Acepta un string del tipo W.X.Y.Z donde W,X,Y,Z son números de 0 a 255.

-

-port

-

El puerto donde el servidor acepta conexiones. Acepta un número de 1 a 65535.
-
-
-

-

-Ejemplos

-

bind-ip = 127.0.0.1
-port = 3001

-
- - - - diff --git a/Socket/doc/html/conf_8dox.html b/Socket/doc/html/conf_8dox.html deleted file mode 100644 index 07d7abd..0000000 --- a/Socket/doc/html/conf_8dox.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/conf.dox - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
-
-
Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/conf.dox
-
-
-

Descripción detallada

-
Autor
Imanol Barba Sabariego
-
Fecha
13/06/2013
-
- - - - diff --git a/Socket/doc/html/dir_09c6c7003a5a6c451627316e32d323da.html b/Socket/doc/html/dir_09c6c7003a5a6c451627316e32d323da.html deleted file mode 100644 index c957b66..0000000 --- a/Socket/doc/html/dir_09c6c7003a5a6c451627316e32d323da.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - -Socket: Referencia del directorio /home/imanol/devel/eclipse/PAD/Socket/src - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- - -
-
-
-
Referencia del directorio src
-
-
- - - - -

-Directorios

directorio  include
 
- - - - - - - - - - - - - -

-Archivos

archivo  client.cpp
 Fichero de implementación de un cliente.
 
archivo  main_server.cpp
 Implementación del servidor.
 
archivo  server.cpp
 Fichero de implementación de la clase Server.
 
archivo  Socket.cpp
 Fichero de implementación de la clase Socket.
 
-
- - - - diff --git a/Socket/doc/html/dir_75b82e7e4a5feb05200b9ad7adf06257.html b/Socket/doc/html/dir_75b82e7e4a5feb05200b9ad7adf06257.html deleted file mode 100644 index 816d622..0000000 --- a/Socket/doc/html/dir_75b82e7e4a5feb05200b9ad7adf06257.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - -Socket: Referencia del directorio /home - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- - -
-
-
-
Referencia del directorio home
-
-
- - - - -

-Directorios

directorio  imanol
 
-
- - - - diff --git a/Socket/doc/html/dir_86dc413d07e0b16a37ceb0e2a17fed53.html b/Socket/doc/html/dir_86dc413d07e0b16a37ceb0e2a17fed53.html deleted file mode 100644 index 7565cf0..0000000 --- a/Socket/doc/html/dir_86dc413d07e0b16a37ceb0e2a17fed53.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - -Socket: Referencia del directorio /home/imanol/devel/eclipse - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- - -
-
-
-
Referencia del directorio eclipse
-
-
- - - - -

-Directorios

directorio  PAD
 
-
- - - - diff --git a/Socket/doc/html/dir_8f7199732ad0be50edd1dbedbf9226de.html b/Socket/doc/html/dir_8f7199732ad0be50edd1dbedbf9226de.html deleted file mode 100644 index 924485b..0000000 --- a/Socket/doc/html/dir_8f7199732ad0be50edd1dbedbf9226de.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - -Socket: Referencia del directorio /home/imanol/devel - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- - -
-
-
-
Referencia del directorio devel
-
-
- - - - -

-Directorios

directorio  eclipse
 
-
- - - - diff --git a/Socket/doc/html/dir_ade356989cf64bc7da597536eeab2615.html b/Socket/doc/html/dir_ade356989cf64bc7da597536eeab2615.html deleted file mode 100644 index 02f616a..0000000 --- a/Socket/doc/html/dir_ade356989cf64bc7da597536eeab2615.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - -Socket: Referencia del directorio /home/imanol - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- - -
-
-
-
Referencia del directorio imanol
-
-
- - - - -

-Directorios

directorio  devel
 
-
- - - - diff --git a/Socket/doc/html/dir_b94371269b479bae3e8fa897a2ece63e.html b/Socket/doc/html/dir_b94371269b479bae3e8fa897a2ece63e.html deleted file mode 100644 index 289c476..0000000 --- a/Socket/doc/html/dir_b94371269b479bae3e8fa897a2ece63e.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -Socket: Referencia del directorio /home/imanol/devel/eclipse/PAD/Socket/src/include - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- - -
-
-
-
Referencia del directorio include
-
-
- - - - - - - - - - - -

-Archivos

archivo  server.h [código]
 Header de la clase Server.
 
archivo  Socket.h [código]
 Header de la clase Socket.
 
archivo  SocketException.h [código]
 Header de excepción de Sockets.
 
-
- - - - diff --git a/Socket/doc/html/dir_c63cc34e984e21a69fd262eeef6a5cbb.html b/Socket/doc/html/dir_c63cc34e984e21a69fd262eeef6a5cbb.html deleted file mode 100644 index a9a150f..0000000 --- a/Socket/doc/html/dir_c63cc34e984e21a69fd262eeef6a5cbb.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - -Socket: Referencia del directorio /home/imanol/devel/eclipse/PAD - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- - -
-
-
-
Referencia del directorio PAD
-
-
- - - - -

-Directorios

directorio  Socket
 
-
- - - - diff --git a/Socket/doc/html/dir_d340535e561321e2c4ccf1a3f2b14fb9.html b/Socket/doc/html/dir_d340535e561321e2c4ccf1a3f2b14fb9.html deleted file mode 100644 index 05b5c42..0000000 --- a/Socket/doc/html/dir_d340535e561321e2c4ccf1a3f2b14fb9.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - -Socket: Referencia del directorio /home/imanol/devel/eclipse/PAD/Socket - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- - -
-
-
-
Referencia del directorio Socket
-
-
- - - - -

-Directorios

directorio  src
 
-
- - - - diff --git a/Socket/doc/html/doxygen.css b/Socket/doc/html/doxygen.css deleted file mode 100644 index dabaff2..0000000 --- a/Socket/doc/html/doxygen.css +++ /dev/null @@ -1,1184 +0,0 @@ -/* The standard CSS for doxygen 1.8.3.1 */ - -body, table, div, p, dl { - font: 400 14px/19px Roboto,sans-serif; -} - -/* @group Heading Levels */ - -h1.groupheader { - font-size: 150%; -} - -.title { - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2.groupheader { - border-bottom: 1px solid #879ECB; - color: #354C7B; - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd, p.starttd { - margin-top: 2px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited { - color: #4665A2; -} - -a.codeRef, a.codeRef:visited { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; - font-family: monospace, fixed; - font-size: 105%; -} - -div.fragment { - padding: 4px; - margin: 4px; - background-color: #FBFCFD; - border: 1px solid #C4CFE5; -} - -div.line { - font-family: monospace, fixed; - font-size: 13px; - min-height: 13px; - line-height: 1.0; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; -} - - -span.lineno { - padding-right: 4px; - text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; - white-space: pre; -} -span.lineno a { - background-color: #D8D8D8; -} - -span.lineno a:hover { - background-color: #C8C8C8; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memSeparator { - border-bottom: 1px solid #DEE4F0; - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px cyan; -} - -.memname { - font-weight: bold; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; - border-top-left-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - -moz-border-radius-topleft: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 10px 2px 10px; - background-color: #FBFCFD; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: #FFFFFF; - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} -.paramname code { - line-height: 14px; -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: #728DC1; - border-top:1px solid #5373B4; - border-left:1px solid #5373B4; - border-right:1px solid #C4CFE5; - border-bottom:1px solid #C4CFE5; - text-shadow: none; - color: white; - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view when not used as main index */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.even { - padding-left: 6px; - background-color: #F7F8FB; -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: #3D578C; -} - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - /*width: 100%;*/ - margin-bottom: 10px; - border: 1px solid #A8B8D9; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 5px; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - /*width: 100%;*/ -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 2px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - font-size: 90%; - color: #253555; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; - color: #283A5D; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -dl -{ - padding: 0 0 0 10px; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ -dl.section -{ - margin-left: 0px; - padding-left: 0px; -} - -dl.note -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00D000; -} - -dl.deprecated -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #505050; -} - -dl.todo -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00C0E0; -} - -dl.test -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #3030E0; -} - -dl.bug -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #90A5CE; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#334975; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 20px 10px 10px; - width: 200px; -} - -div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 30px; -} - -div.toc li.level4 { - margin-left: 45px; -} - -.inherit_header { - font-weight: bold; - color: gray; - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - diff --git a/Socket/doc/html/doxygen.png b/Socket/doc/html/doxygen.png deleted file mode 100644 index 3ff17d8..0000000 Binary files a/Socket/doc/html/doxygen.png and /dev/null differ diff --git a/Socket/doc/html/dynsections.js b/Socket/doc/html/dynsections.js deleted file mode 100644 index ed092c7..0000000 --- a/Socket/doc/html/dynsections.js +++ /dev/null @@ -1,97 +0,0 @@ -function toggleVisibility(linkObj) -{ - var base = $(linkObj).attr('id'); - var summary = $('#'+base+'-summary'); - var content = $('#'+base+'-content'); - var trigger = $('#'+base+'-trigger'); - var src=$(trigger).attr('src'); - if (content.is(':visible')===true) { - content.hide(); - summary.show(); - $(linkObj).addClass('closed').removeClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); - } else { - content.show(); - summary.hide(); - $(linkObj).removeClass('closed').addClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); - } - return false; -} - -function updateStripes() -{ - $('table.directory tr'). - removeClass('even').filter(':visible:even').addClass('even'); -} -function toggleLevel(level) -{ - $('table.directory tr').each(function(){ - var l = this.id.split('_').length-1; - var i = $('#img'+this.id.substring(3)); - var a = $('#arr'+this.id.substring(3)); - if (l - - - - - -Socket: Lista de archivos - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - -
- - - - -
- -
- -
-
-
Lista de archivos
-
-
-
Lista de todos los archivos con descripciones breves:
-
[detalle nivel 123456789]
- - - - - - - - - - - - - - - -
\-home
 \-imanol
  \-devel
   \-eclipse
    \-PAD
     \-Socket
      \-src
       o-include
       |o*server.hHeader de la clase Server
       |o*Socket.hHeader de la clase Socket
       |\*SocketException.hHeader de excepción de Sockets
       o*client.cppFichero de implementación de un cliente
       o*main_server.cppImplementación del servidor
       o*server.cppFichero de implementación de la clase Server
       \*Socket.cppFichero de implementación de la clase Socket
-
-
- - - - diff --git a/Socket/doc/html/ftv2blank.png b/Socket/doc/html/ftv2blank.png deleted file mode 100644 index 63c605b..0000000 Binary files a/Socket/doc/html/ftv2blank.png and /dev/null differ diff --git a/Socket/doc/html/ftv2cl.png b/Socket/doc/html/ftv2cl.png deleted file mode 100644 index 132f657..0000000 Binary files a/Socket/doc/html/ftv2cl.png and /dev/null differ diff --git a/Socket/doc/html/ftv2doc.png b/Socket/doc/html/ftv2doc.png deleted file mode 100644 index 17edabf..0000000 Binary files a/Socket/doc/html/ftv2doc.png and /dev/null differ diff --git a/Socket/doc/html/ftv2folderclosed.png b/Socket/doc/html/ftv2folderclosed.png deleted file mode 100644 index bb8ab35..0000000 Binary files a/Socket/doc/html/ftv2folderclosed.png and /dev/null differ diff --git a/Socket/doc/html/ftv2folderopen.png b/Socket/doc/html/ftv2folderopen.png deleted file mode 100644 index d6c7f67..0000000 Binary files a/Socket/doc/html/ftv2folderopen.png and /dev/null differ diff --git a/Socket/doc/html/ftv2lastnode.png b/Socket/doc/html/ftv2lastnode.png deleted file mode 100644 index 63c605b..0000000 Binary files a/Socket/doc/html/ftv2lastnode.png and /dev/null differ diff --git a/Socket/doc/html/ftv2link.png b/Socket/doc/html/ftv2link.png deleted file mode 100644 index 17edabf..0000000 Binary files a/Socket/doc/html/ftv2link.png and /dev/null differ diff --git a/Socket/doc/html/ftv2mlastnode.png b/Socket/doc/html/ftv2mlastnode.png deleted file mode 100644 index 0b63f6d..0000000 Binary files a/Socket/doc/html/ftv2mlastnode.png and /dev/null differ diff --git a/Socket/doc/html/ftv2mnode.png b/Socket/doc/html/ftv2mnode.png deleted file mode 100644 index 0b63f6d..0000000 Binary files a/Socket/doc/html/ftv2mnode.png and /dev/null differ diff --git a/Socket/doc/html/ftv2mo.png b/Socket/doc/html/ftv2mo.png deleted file mode 100644 index 4bfb80f..0000000 Binary files a/Socket/doc/html/ftv2mo.png and /dev/null differ diff --git a/Socket/doc/html/ftv2node.png b/Socket/doc/html/ftv2node.png deleted file mode 100644 index 63c605b..0000000 Binary files a/Socket/doc/html/ftv2node.png and /dev/null differ diff --git a/Socket/doc/html/ftv2ns.png b/Socket/doc/html/ftv2ns.png deleted file mode 100644 index 72e3d71..0000000 Binary files a/Socket/doc/html/ftv2ns.png and /dev/null differ diff --git a/Socket/doc/html/ftv2plastnode.png b/Socket/doc/html/ftv2plastnode.png deleted file mode 100644 index c6ee22f..0000000 Binary files a/Socket/doc/html/ftv2plastnode.png and /dev/null differ diff --git a/Socket/doc/html/ftv2pnode.png b/Socket/doc/html/ftv2pnode.png deleted file mode 100644 index c6ee22f..0000000 Binary files a/Socket/doc/html/ftv2pnode.png and /dev/null differ diff --git a/Socket/doc/html/ftv2splitbar.png b/Socket/doc/html/ftv2splitbar.png deleted file mode 100644 index fe895f2..0000000 Binary files a/Socket/doc/html/ftv2splitbar.png and /dev/null differ diff --git a/Socket/doc/html/ftv2vertline.png b/Socket/doc/html/ftv2vertline.png deleted file mode 100644 index 63c605b..0000000 Binary files a/Socket/doc/html/ftv2vertline.png and /dev/null differ diff --git a/Socket/doc/html/functions.html b/Socket/doc/html/functions.html deleted file mode 100644 index 68c5bd1..0000000 --- a/Socket/doc/html/functions.html +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - -Socket: Miembros de las clases - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - -
- - - - -
- -
- -
-
Lista de todos los campos de clases con enlaces a las classes a que pertenecen:
- -

- a -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- f -

- - -

- g -

- - -

- i -

- - -

- l -

- - -

- m -

- - -

- n -

- - -

- o -

- - -

- r -

- - -

- s -

- - -

- t -

- - -

- w -

- - -

- ~ -

-
- - - - diff --git a/Socket/doc/html/functions_func.html b/Socket/doc/html/functions_func.html deleted file mode 100644 index 75eb12b..0000000 --- a/Socket/doc/html/functions_func.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -Socket: Miembros de las clases - Funciones - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - -
- - - - -
- -
- -
-
- - - - diff --git a/Socket/doc/html/functions_vars.html b/Socket/doc/html/functions_vars.html deleted file mode 100644 index bacd6af..0000000 --- a/Socket/doc/html/functions_vars.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -Socket: Miembros de las clases - Variables - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - -
- - - - -
- -
- -
-
- - - - diff --git a/Socket/doc/html/globals.html b/Socket/doc/html/globals.html deleted file mode 100644 index 5604331..0000000 --- a/Socket/doc/html/globals.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -Socket: Miembros de los ficheros - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - -
- - - - -
- -
- -
-
Lista de todos los mienbros de los ficheros con enlaces a los ficheros a los que corresponden:
-
- - - - diff --git a/Socket/doc/html/globals_defs.html b/Socket/doc/html/globals_defs.html deleted file mode 100644 index 7efb877..0000000 --- a/Socket/doc/html/globals_defs.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -Socket: Miembros de los ficheros - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - -
- - - - -
- -
- -
-
- - - - diff --git a/Socket/doc/html/globals_func.html b/Socket/doc/html/globals_func.html deleted file mode 100644 index b47e12b..0000000 --- a/Socket/doc/html/globals_func.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -Socket: Miembros de los ficheros - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - -
- - - - -
- -
- -
-
- - - - diff --git a/Socket/doc/html/globals_vars.html b/Socket/doc/html/globals_vars.html deleted file mode 100644 index d72f245..0000000 --- a/Socket/doc/html/globals_vars.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - -Socket: Miembros de los ficheros - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - -
- - - - -
- -
- -
-
- - - - diff --git a/Socket/doc/html/howto.html b/Socket/doc/html/howto.html deleted file mode 100644 index 047d82e..0000000 --- a/Socket/doc/html/howto.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -Socket: HOWTO - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- -
-
-
-
HOWTO
-
-
- -

Descripción de funcionamiento y uso de la librería.

-
    A continuación se desglosan las instrucciones para el desarrollo con esta libería y su posterior uso.
-    <br><br>
-

-Descripción del protocolo

-

En las comunicaciones con Sockets hay un problema, es fácil saber la longitud del mensaje que vas a enviar, pero cuesta saber la longitud del mensaje que deseas recibir, ya que la transmisión se puede detener por llegar al fin del mensaje o bien por que hay problemas en la red.

-

Los sockets de UNIX nos dan una solución, que es usar llamadas no bloqueantes para recibir el mensaje, es decir: Si leo de un socket, y no he llenado el buffer donde guardo los datos que recibo de allí, la aplicación no se bloquea esperando recibir la suficiente cantidad de datos. A su vez, se usan llamadas a la función select() para comprovar si hay datos disponibles a para leer o la conexión está terminada.

-

Esto requiere uso de la forks e ir haciendo encuesta (polling) al socket, cosa que consume más recursos del sistema.

-

Debido a la complejidad añadida que supone hacerlo por esta vía, ya que la librería usa threads que son más ligeros para el sistema y la memoria RAM; se ha optado por implementar un sencillísimo protocolo de comunicación que no supone gasto de computación y repercute de forma nímia en el rendimiento de la transferencia.

-


-

-

-Modo en texto llano

-

Este modo transmite los carácteres de texto sin ningún tipo de encriptación, por lo tanto son totalmente visibles para cualquier agente intermedio. Sin embargo, el modo sin encriptación es más rápido y ofrece el doble de velocidad de transferencia aproximadamente.
-

-

-Envío/Recepción de mensajes

-

El mensaje se transmite de la siguiente forma:

-
    -
  1. Bob le quiere mandar a Alice un mensaje, primero primero pone el número de carácteres (bytes) que ocupa el mensaje en forma de string terminado con carácter NULL ('\0') y lo manda.
  2. -
  3. Bob transmite el mensaje íntegro.
  4. -
  5. Alice lee uno a uno los carácteres del socket hasta encontrar un carácter NULL ('\0'), entonces lee lo que ha recibido, que es la longitud del mensaje real.
  6. -
  7. Alice pasa a extraer los N bytes que ha leído que recibiría y obtiene el mensaje final.
    -
    -
    -
  8. -
-

-Compilación

-

A continuación se detallan las opciones e instrucciones necesarias para compilar esta librería.
-

-

-Opciones de compilación

-

Los siguientes #defines establecen la configuración en tiempo de compilación

-
    -
  • RSALENGTH : La longitud de la llave RSA que se usará.
  • -
  • AESLENGTH : La longitud de la llave AES que se usará.
  • -
  • CONFFILE : La ruta absoluta o relativa al fichero de configuración del servidor (véase: Fichero de configuración).
  • -
  • PUBLICKEY : La ruta absoluta o relativa a la llave pública RSA. Existe en server.h y client.cpp
  • -
  • PRIVATEKEY : La ruta absoluta o relativa a la llave pública RSA. Existe en server.h y client.cpp
    -
  • -
-

-Flags de compilación y librerías

-

Flags de compilación necesarios:

-
    -
  • -I/carpeta/con/cabeceras_de/crypto++ -I/carpeta/con/cabeceras/de_la/librería/Socket
  • -
  • -L/carpeta/con/la_librería/crypto++
  • -
  • -lcryptopp -lpthread
  • -
-

Véase: makefile
-
-
-

-

-Ejemplos

-

A continuación se detalla el código para programar una aplicación servidor cliente sencilla
-

-

-Programar un servidor

-

Véase: Client
-

-

-Programar un cliente

-

Véase: Server
-
-

-
- - - - diff --git a/Socket/doc/html/howto_8dox.html b/Socket/doc/html/howto_8dox.html deleted file mode 100644 index 4ffc999..0000000 --- a/Socket/doc/html/howto_8dox.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/howto.dox - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
-
-
Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/howto.dox
-
-
-

Descripción detallada

-
Autor
Imanol Barba Sabariego
-
Fecha
13/06/2013
-
- - - - diff --git a/Socket/doc/html/index.html b/Socket/doc/html/index.html deleted file mode 100644 index e83bc9d..0000000 --- a/Socket/doc/html/index.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - -Socket: Página principal - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - -
- - - - -
- -
- -
-
-
Página principal
-
-
-

La librería Socket es una implementación de comunicación con Sockets TCP/IP en GNU/Linux.

-

El objetivo principal de esta librería es abstraer toda la capa de comunicación al programador, lo único que debe hacer es guardar los datos a enviar en un contenedor STL del tipo std::string y enviarlo a una instancia debidamente incializada de la clase Socket. Este se encarga de inicializar los sockets, atender las conexiones o realizar nuevas, etc.

-

Para más información, consultar el HOWTO
-
-

-
Autor
Imanol Barba Sabariego
-
Fecha
11/06/2013
-
- - - - diff --git a/Socket/doc/html/jquery.js b/Socket/doc/html/jquery.js deleted file mode 100644 index 63939e7..0000000 --- a/Socket/doc/html/jquery.js +++ /dev/null @@ -1,8 +0,0 @@ -/*! jQuery v1.7.1 jquery.com | jquery.org/license */ -(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")), -f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() -{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c) -{if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); diff --git a/Socket/doc/html/main__server_8cpp.html b/Socket/doc/html/main__server_8cpp.html deleted file mode 100644 index d70ba46..0000000 --- a/Socket/doc/html/main__server_8cpp.html +++ /dev/null @@ -1,317 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/main_server.cpp - - - - - - - - - -
-
-
- - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
- - - - - - - - - - -
- -
- - - -
- -
-
Referencia del Archivo main_server.cpp
-
-
- -

Implementación del servidor. -Más...

-
#include "server.h"
-#include <sys/types.h>
-#include <unistd.h>
-#include <sstream>
-
- - - - - - - - - - - - - - - - - - - -

-Funciones

void killThread (thread_args *t_arg)
 Método de finalización de Threads. Más...
 
void * WorkerThread (void *args)
 Método gestión de conexiones. Más...
 
void stopServer (int signal)
 Método de detención del servidor. Más...
 
void processText (string *str)
 Método auxiliar de procesado de texto. Más...
 
bool readConf (string *ip, int *port)
 Método de lectura de configuración. Más...
 
int main ()
 Método principal del servidor. Más...
 
- - - - -

-Variables

Serverserv
 Instancia de la clase Server. Más...
 
-

Descripción detallada

-

Implementación del servidor.

-
Autor
Imanol Barba Sabariego
-
Fecha
13/06/2013
-

En este fichero se implementa un servidor TCP/IP usando las clases Socket y Server.

-

Documentación de las funciones

- -
-
- - - - - - - - -
void killThread (thread_argst_arg)
-
- -

Método de finalización de Threads.

-

Éste método se ejecuta para liberar la memoria de los argumentos del thread y mandarlo a la pila de threads terminados.

-
Parámetros
- - -
t_argPuntero al struct que contiene los argumentos del thread
-
-
- -
-
- -
-
- - - - - - - -
int main ()
-
- -

Método principal del servidor.

-

Lee la configuración usando readConf() y incializa el servidor.

- -
-
- -
-
- - - - - - - - -
void processText (string * str)
-
- -

Método auxiliar de procesado de texto.

-

Éste método usa para procesar las entradas de texto del fichero de configuración para adaptarlas a un formato adecuado.

-

De momento se limita a eliminar whitespace (tabulaciones, saltos de línea y espacios).

-
Parámetros
- - -
strLínea de texto a procesar
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
bool readConf (string * ip,
int * port 
)
-
- -

Método de lectura de configuración.

-

Éste método lee el fichero de configuración espeficado para obtener parámetros de configuración para el funcionamiento del servidor.

-
Parámetros
- - - -
ipPuntero donde se almacena la IP leída
portPuntero donde se almacena el puerto leído
-
-
- -
-
- -
-
- - - - - - - - -
void stopServer (int signal)
-
- -

Método de detención del servidor.

-

Este método detiene el servidor al recibir el signal SIGINT del SO.

-
Parámetros
- - -
signalParámetro que captura el signal recibido
-
-
- -
-
- -
-
- - - - - - - - -
void* WorkerThread (void * args)
-
- -

Método gestión de conexiones.

-

Éste método es el que los threads ejecutan al crearse, aquí es donde se define el comportamiento del servidor, ya que cada conexión se gestionará como aquí se detalla.

-

Por defecto, el comportamiento que lleva programado es el de un servidor "echo", esperará que el cliente le envíe un mensaje y responderá con el mismo mensaje.

-
Parámetros
- - -
argsPuntero al struct de los argumentos del thread casteado a tipo void*
-
-
- -
-
-

Documentación de las variables

- -
-
- - - - -
Server* serv
-
- -

Instancia de la clase Server.

-

Esta variable contiene la instancia de la clase Server que aquí se usa e inicializa.

-

Se trata de una variable global para poder así usarla en las funciones que reciban signals del SO.

- -
-
-
- - - - diff --git a/Socket/doc/html/mainpage_8dox.html b/Socket/doc/html/mainpage_8dox.html deleted file mode 100644 index ff3dcea..0000000 --- a/Socket/doc/html/mainpage_8dox.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/mainpage.dox - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
-
-
Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/mainpage.dox
-
-
-
- - - - diff --git a/Socket/doc/html/makefile_8dox.html b/Socket/doc/html/makefile_8dox.html deleted file mode 100644 index 661f135..0000000 --- a/Socket/doc/html/makefile_8dox.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/makefile.dox - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
-
-
Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/makefile.dox
-
-
-
- - - - diff --git a/Socket/doc/html/nav_f.png b/Socket/doc/html/nav_f.png deleted file mode 100644 index 72a58a5..0000000 Binary files a/Socket/doc/html/nav_f.png and /dev/null differ diff --git a/Socket/doc/html/nav_g.png b/Socket/doc/html/nav_g.png deleted file mode 100644 index 8c6c13e..0000000 Binary files a/Socket/doc/html/nav_g.png and /dev/null differ diff --git a/Socket/doc/html/nav_h.png b/Socket/doc/html/nav_h.png deleted file mode 100644 index 33389b1..0000000 Binary files a/Socket/doc/html/nav_h.png and /dev/null differ diff --git a/Socket/doc/html/open.png b/Socket/doc/html/open.png deleted file mode 100644 index 30f75c7..0000000 Binary files a/Socket/doc/html/open.png and /dev/null differ diff --git a/Socket/doc/html/pages.html b/Socket/doc/html/pages.html deleted file mode 100644 index 4199556..0000000 --- a/Socket/doc/html/pages.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - -Socket: Páginas relacionadas - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - -
- - - - -
- -
- -
-
-
Páginas relacionadas
-
-
-
Lista de toda la documentación relacionada:
- - - - - -
oClientEjemplo de aplicación cliente
oFichero de configuraciónDescripción de la sintaxis y parámetros del fichero de configuración
oHOWTODescripción de funcionamiento y uso de la librería
\ServerEjemplo de aplicación servidor
-
-
- - - - diff --git a/Socket/doc/html/search/all_61.html b/Socket/doc/html/search/all_61.html deleted file mode 100644 index a89287e..0000000 --- a/Socket/doc/html/search/all_61.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_61.js b/Socket/doc/html/search/all_61.js deleted file mode 100644 index 000738b..0000000 --- a/Socket/doc/html/search/all_61.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['accept',['Accept',['../class_socket.html#a25cdd79546b8e7e49f2195208ae6d00c',1,'Socket']]] -]; diff --git a/Socket/doc/html/search/all_62.html b/Socket/doc/html/search/all_62.html deleted file mode 100644 index ba79ca5..0000000 --- a/Socket/doc/html/search/all_62.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_62.js b/Socket/doc/html/search/all_62.js deleted file mode 100644 index 0d84826..0000000 --- a/Socket/doc/html/search/all_62.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['bind',['Bind',['../class_socket.html#afdc52c70cf11911cc1a3c595a7849cf0',1,'Socket']]] -]; diff --git a/Socket/doc/html/search/all_63.html b/Socket/doc/html/search/all_63.html deleted file mode 100644 index f86180f..0000000 --- a/Socket/doc/html/search/all_63.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_63.js b/Socket/doc/html/search/all_63.js deleted file mode 100644 index ae7737a..0000000 --- a/Socket/doc/html/search/all_63.js +++ /dev/null @@ -1,12 +0,0 @@ -var searchData= -[ - ['client_2ecpp',['client.cpp',['../client_8cpp.html',1,'']]], - ['client_2edox',['client.dox',['../client_8dox.html',1,'']]], - ['client',['Client',['../client_code.html',1,'']]], - ['close',['Close',['../class_socket.html#a4c8ced9a8ce58834191b3b4f2033b173',1,'Socket']]], - ['condition',['condition',['../structthread__args.html#a96ee28beaed4175257db3d8794245f25',1,'thread_args']]], - ['conf_2edox',['conf.dox',['../conf_8dox.html',1,'']]], - ['conffile',['CONFFILE',['../server_8h.html#ad22e7f0ef164a8dafb32f779f737a1bd',1,'server.h']]], - ['connect',['Connect',['../class_socket.html#aa1d074c1aa400e8bca7c7da79b036abe',1,'Socket']]], - ['create',['Create',['../class_socket.html#add736ccf41f102910a2b8ac5e77eb8b1',1,'Socket']]] -]; diff --git a/Socket/doc/html/search/all_64.html b/Socket/doc/html/search/all_64.html deleted file mode 100644 index 2fecc27..0000000 --- a/Socket/doc/html/search/all_64.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_64.js b/Socket/doc/html/search/all_64.js deleted file mode 100644 index 7881f7d..0000000 --- a/Socket/doc/html/search/all_64.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['description',['description',['../class_socket_exception.html#ae160a594055812694ac93f7118c4af1c',1,'SocketException']]] -]; diff --git a/Socket/doc/html/search/all_65.html b/Socket/doc/html/search/all_65.html deleted file mode 100644 index a033f34..0000000 --- a/Socket/doc/html/search/all_65.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_65.js b/Socket/doc/html/search/all_65.js deleted file mode 100644 index 2bb09d2..0000000 --- a/Socket/doc/html/search/all_65.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['exitclient',['exitClient',['../client_8cpp.html#a00a6f7afcba6bb656a7b05c67efa42ba',1,'client.cpp']]] -]; diff --git a/Socket/doc/html/search/all_66.html b/Socket/doc/html/search/all_66.html deleted file mode 100644 index 83b3930..0000000 --- a/Socket/doc/html/search/all_66.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_66.js b/Socket/doc/html/search/all_66.js deleted file mode 100644 index 46ed4f6..0000000 --- a/Socket/doc/html/search/all_66.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['fichero_20de_20configuraci_c3_b3n',['Fichero de configuración',['../conf.html',1,'']]], - ['freeram',['freeRAM',['../class_server.html#a018bee9f1e342d9f349765187d89becd',1,'Server']]] -]; diff --git a/Socket/doc/html/search/all_67.html b/Socket/doc/html/search/all_67.html deleted file mode 100644 index 9f2e88b..0000000 --- a/Socket/doc/html/search/all_67.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_67.js b/Socket/doc/html/search/all_67.js deleted file mode 100644 index 0201732..0000000 --- a/Socket/doc/html/search/all_67.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['getnworkers',['getNWorkers',['../class_server.html#acf13ac1f7fc49f28c1b1fa76eab209ab',1,'Server']]], - ['getsock',['getSock',['../class_socket.html#abc14da0faa1d00fe361eeede1b3cda4a',1,'Socket']]], - ['getstartedthreads',['getStartedThreads',['../class_server.html#a0622813f3b675ab661d5f628cec03d30',1,'Server']]], - ['getstoppedthreads',['getStoppedThreads',['../class_server.html#a81289d4e58dec18dd01e343c7f397c1e',1,'Server']]] -]; diff --git a/Socket/doc/html/search/all_68.html b/Socket/doc/html/search/all_68.html deleted file mode 100644 index 4e070aa..0000000 --- a/Socket/doc/html/search/all_68.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_68.js b/Socket/doc/html/search/all_68.js deleted file mode 100644 index 8a0f3d3..0000000 --- a/Socket/doc/html/search/all_68.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['howto',['HOWTO',['../howto.html',1,'']]], - ['howto_2edox',['howto.dox',['../howto_8dox.html',1,'']]] -]; diff --git a/Socket/doc/html/search/all_69.html b/Socket/doc/html/search/all_69.html deleted file mode 100644 index 50a836e..0000000 --- a/Socket/doc/html/search/all_69.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_69.js b/Socket/doc/html/search/all_69.js deleted file mode 100644 index 9f04bbd..0000000 --- a/Socket/doc/html/search/all_69.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['id',['id',['../structthread__args.html#a6322b3468fd88f8f49977a6439e9f352',1,'thread_args']]] -]; diff --git a/Socket/doc/html/search/all_6b.html b/Socket/doc/html/search/all_6b.html deleted file mode 100644 index f5a875a..0000000 --- a/Socket/doc/html/search/all_6b.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_6b.js b/Socket/doc/html/search/all_6b.js deleted file mode 100644 index 603389a..0000000 --- a/Socket/doc/html/search/all_6b.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['killthread',['killThread',['../server_8h.html#ab99831172d1d4bca2c79bb37c7c062df',1,'killThread(thread_args *t_arg): main_server.cpp'],['../main__server_8cpp.html#ab99831172d1d4bca2c79bb37c7c062df',1,'killThread(thread_args *t_arg): main_server.cpp']]] -]; diff --git a/Socket/doc/html/search/all_6c.html b/Socket/doc/html/search/all_6c.html deleted file mode 100644 index c4afb9a..0000000 --- a/Socket/doc/html/search/all_6c.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_6c.js b/Socket/doc/html/search/all_6c.js deleted file mode 100644 index f316fae..0000000 --- a/Socket/doc/html/search/all_6c.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['listen',['Listen',['../class_socket.html#a4d476d11854d7acb17b8d196c8171865',1,'Socket']]] -]; diff --git a/Socket/doc/html/search/all_6d.html b/Socket/doc/html/search/all_6d.html deleted file mode 100644 index 8087110..0000000 --- a/Socket/doc/html/search/all_6d.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_6d.js b/Socket/doc/html/search/all_6d.js deleted file mode 100644 index 64ee4d1..0000000 --- a/Socket/doc/html/search/all_6d.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['main',['main',['../client_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4',1,'main(): client.cpp'],['../main__server_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4',1,'main(): main_server.cpp']]], - ['main_5fserver_2ecpp',['main_server.cpp',['../main__server_8cpp.html',1,'']]], - ['mainpage_2edox',['mainpage.dox',['../mainpage_8dox.html',1,'']]], - ['makefile_2edox',['makefile.dox',['../makefile_8dox.html',1,'']]], - ['message',['message',['../class_socket_exception.html#a43f3472f1433552059ffeb9a251a9b76',1,'SocketException']]], - ['mutex',['mutex',['../structthread__args.html#ad5d64499f5f6e2df467c96b52a94c520',1,'thread_args']]] -]; diff --git a/Socket/doc/html/search/all_6e.html b/Socket/doc/html/search/all_6e.html deleted file mode 100644 index 438dfeb..0000000 --- a/Socket/doc/html/search/all_6e.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_6e.js b/Socket/doc/html/search/all_6e.js deleted file mode 100644 index 4d6fdd7..0000000 --- a/Socket/doc/html/search/all_6e.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['n',['N',['../server_8h.html#a0240ac851181b84ac374872dc5434ee4',1,'server.h']]], - ['nworkers',['nWorkers',['../class_server.html#a690955b1e335072c061df67014a6e698',1,'Server']]] -]; diff --git a/Socket/doc/html/search/all_6f.html b/Socket/doc/html/search/all_6f.html deleted file mode 100644 index d790b62..0000000 --- a/Socket/doc/html/search/all_6f.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_6f.js b/Socket/doc/html/search/all_6f.js deleted file mode 100644 index f63c1a7..0000000 --- a/Socket/doc/html/search/all_6f.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['operator_3c_3c',['operator<<',['../class_socket.html#a5beab0c84c933510a53126f786cff6de',1,'Socket']]], - ['operator_3e_3e',['operator>>',['../class_socket.html#ab6b2dffea36c60c53f8d5e539f1cf000',1,'Socket']]] -]; diff --git a/Socket/doc/html/search/all_70.html b/Socket/doc/html/search/all_70.html deleted file mode 100644 index 76420c3..0000000 --- a/Socket/doc/html/search/all_70.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_70.js b/Socket/doc/html/search/all_70.js deleted file mode 100644 index e54151a..0000000 --- a/Socket/doc/html/search/all_70.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['p_c3_a1gina_20principal',['Página principal',['../index.html',1,'']]], - ['processtext',['processText',['../server_8h.html#aa6328bc358b87d3e11c3f460d6427c5b',1,'processText(string *str): main_server.cpp'],['../main__server_8cpp.html#aa6328bc358b87d3e11c3f460d6427c5b',1,'processText(string *str): main_server.cpp']]] -]; diff --git a/Socket/doc/html/search/all_72.html b/Socket/doc/html/search/all_72.html deleted file mode 100644 index 3157ef9..0000000 --- a/Socket/doc/html/search/all_72.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_72.js b/Socket/doc/html/search/all_72.js deleted file mode 100644 index 2385820..0000000 --- a/Socket/doc/html/search/all_72.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['readconf',['readConf',['../server_8h.html#a4f850f08d755a0d0ebe936b5b84975e3',1,'readConf(string *ip, int *port): main_server.cpp'],['../main__server_8cpp.html#a4f850f08d755a0d0ebe936b5b84975e3',1,'readConf(string *ip, int *port): main_server.cpp']]], - ['receive',['Receive',['../class_socket.html#aa1a8b143bb2adf57934156d9e33b8611',1,'Socket']]], - ['requestexit',['requestExit',['../class_server.html#a74769349252c1ad61717b156e42d61d3',1,'Server']]] -]; diff --git a/Socket/doc/html/search/all_73.html b/Socket/doc/html/search/all_73.html deleted file mode 100644 index 922305a..0000000 --- a/Socket/doc/html/search/all_73.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_73.js b/Socket/doc/html/search/all_73.js deleted file mode 100644 index a885c14..0000000 --- a/Socket/doc/html/search/all_73.js +++ /dev/null @@ -1,25 +0,0 @@ -var searchData= -[ - ['s',['s',['../structthread__args.html#aede3ef61778d02bdf25c368d1cf9d489',1,'thread_args']]], - ['send',['Send',['../class_socket.html#a4c4ecb88d5587177899198861d29d3dd',1,'Socket']]], - ['serv',['serv',['../structthread__args.html#ab29508135b033282f374d0fb47028fbd',1,'thread_args::serv()'],['../main__server_8cpp.html#ab6b71e6574fcb2d2e0a5c2af08a2799f',1,'serv(): main_server.cpp']]], - ['server',['Server',['../class_server.html',1,'Server'],['../class_server.html#ad5ec9462b520e59f7ea831e157ee5e59',1,'Server::Server()']]], - ['server_2ecpp',['server.cpp',['../server_8cpp.html',1,'']]], - ['server_2edox',['server.dox',['../server_8dox.html',1,'']]], - ['server_2eh',['server.h',['../server_8h.html',1,'']]], - ['server',['Server',['../server_code.html',1,'']]], - ['setnworkers',['setNWorkers',['../class_server.html#a0090663c66f1f371f8b1aa87c5f49623',1,'Server']]], - ['shutdownserver',['shutdownServer',['../class_server.html#aa9231b38adc787954a13f04372de8ed2',1,'Server']]], - ['sock',['sock',['../class_socket.html#a231ddf6e338a86640e26808b83efeaa1',1,'Socket']]], - ['sockaddr',['sockAddr',['../class_socket.html#ae4d80b83c327ed835b5f4575a499a400',1,'Socket']]], - ['socket',['Socket',['../class_socket.html',1,'Socket'],['../class_socket.html#a7c3256c4fc6e2c603df73201049fae5a',1,'Socket::Socket()']]], - ['socket_2ecpp',['Socket.cpp',['../_socket_8cpp.html',1,'']]], - ['socket_2eh',['Socket.h',['../_socket_8h.html',1,'']]], - ['socketexception',['SocketException',['../class_socket_exception.html',1,'SocketException'],['../class_socket_exception.html#a06573084bad8aca1443281c0970fe033',1,'SocketException::SocketException()']]], - ['socketexception_2eh',['SocketException.h',['../_socket_exception_8h.html',1,'']]], - ['ss',['ss',['../class_server.html#af9e1a6848bdd627741b85e75777e3b45',1,'Server']]], - ['startedthreads',['startedThreads',['../class_server.html#a40fdc13e227f651943e0aa3757824396',1,'Server']]], - ['startserver',['startServer',['../class_server.html#aef89851f83a9bbe4459c46b6c7906e1f',1,'Server']]], - ['stoppedthreads',['stoppedThreads',['../class_server.html#a36a18616b526f3053a1036641a62cb0a',1,'Server']]], - ['stopserver',['stopServer',['../main__server_8cpp.html#a5ee86dec2f1282750e7b1da928d45dbc',1,'main_server.cpp']]] -]; diff --git a/Socket/doc/html/search/all_74.html b/Socket/doc/html/search/all_74.html deleted file mode 100644 index 924c35a..0000000 --- a/Socket/doc/html/search/all_74.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_74.js b/Socket/doc/html/search/all_74.js deleted file mode 100644 index bd24771..0000000 --- a/Socket/doc/html/search/all_74.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['thread',['thread',['../structthread__args.html#acdcd2db4307e5e75d5110067e196a70e',1,'thread_args']]], - ['thread_5fargs',['thread_args',['../structthread__args.html',1,'']]] -]; diff --git a/Socket/doc/html/search/all_77.html b/Socket/doc/html/search/all_77.html deleted file mode 100644 index 834fbb9..0000000 --- a/Socket/doc/html/search/all_77.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_77.js b/Socket/doc/html/search/all_77.js deleted file mode 100644 index e307fab..0000000 --- a/Socket/doc/html/search/all_77.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['workerid',['workerID',['../class_server.html#ae10d91b60157ccfcc06cc463e8443007',1,'Server']]], - ['workerthread',['WorkerThread',['../server_8h.html#a7d13c650ec7a525ad17cabba4f371745',1,'WorkerThread(void *args): main_server.cpp'],['../main__server_8cpp.html#a7d13c650ec7a525ad17cabba4f371745',1,'WorkerThread(void *args): main_server.cpp']]] -]; diff --git a/Socket/doc/html/search/all_7e.html b/Socket/doc/html/search/all_7e.html deleted file mode 100644 index b499059..0000000 --- a/Socket/doc/html/search/all_7e.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/all_7e.js b/Socket/doc/html/search/all_7e.js deleted file mode 100644 index 25baf99..0000000 --- a/Socket/doc/html/search/all_7e.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['_7esocketexception',['~SocketException',['../class_socket_exception.html#a659557c899329aea01977c980c4db9b9',1,'SocketException']]] -]; diff --git a/Socket/doc/html/search/classes_73.html b/Socket/doc/html/search/classes_73.html deleted file mode 100644 index bea334e..0000000 --- a/Socket/doc/html/search/classes_73.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/classes_73.js b/Socket/doc/html/search/classes_73.js deleted file mode 100644 index 1ffbf96..0000000 --- a/Socket/doc/html/search/classes_73.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['server',['Server',['../class_server.html',1,'']]], - ['socket',['Socket',['../class_socket.html',1,'']]], - ['socketexception',['SocketException',['../class_socket_exception.html',1,'']]] -]; diff --git a/Socket/doc/html/search/classes_74.html b/Socket/doc/html/search/classes_74.html deleted file mode 100644 index 96e7f73..0000000 --- a/Socket/doc/html/search/classes_74.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/classes_74.js b/Socket/doc/html/search/classes_74.js deleted file mode 100644 index 795e062..0000000 --- a/Socket/doc/html/search/classes_74.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['thread_5fargs',['thread_args',['../structthread__args.html',1,'']]] -]; diff --git a/Socket/doc/html/search/close.png b/Socket/doc/html/search/close.png deleted file mode 100644 index 9342d3d..0000000 Binary files a/Socket/doc/html/search/close.png and /dev/null differ diff --git a/Socket/doc/html/search/defines_63.html b/Socket/doc/html/search/defines_63.html deleted file mode 100644 index 9443654..0000000 --- a/Socket/doc/html/search/defines_63.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/defines_63.js b/Socket/doc/html/search/defines_63.js deleted file mode 100644 index 7430966..0000000 --- a/Socket/doc/html/search/defines_63.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['conffile',['CONFFILE',['../server_8h.html#ad22e7f0ef164a8dafb32f779f737a1bd',1,'server.h']]] -]; diff --git a/Socket/doc/html/search/defines_6e.html b/Socket/doc/html/search/defines_6e.html deleted file mode 100644 index 2a4777f..0000000 --- a/Socket/doc/html/search/defines_6e.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/defines_6e.js b/Socket/doc/html/search/defines_6e.js deleted file mode 100644 index 63110e6..0000000 --- a/Socket/doc/html/search/defines_6e.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['n',['N',['../server_8h.html#a0240ac851181b84ac374872dc5434ee4',1,'server.h']]] -]; diff --git a/Socket/doc/html/search/files_63.html b/Socket/doc/html/search/files_63.html deleted file mode 100644 index 40e5ead..0000000 --- a/Socket/doc/html/search/files_63.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/files_63.js b/Socket/doc/html/search/files_63.js deleted file mode 100644 index 1174fde..0000000 --- a/Socket/doc/html/search/files_63.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['client_2ecpp',['client.cpp',['../client_8cpp.html',1,'']]], - ['client_2edox',['client.dox',['../client_8dox.html',1,'']]], - ['conf_2edox',['conf.dox',['../conf_8dox.html',1,'']]] -]; diff --git a/Socket/doc/html/search/files_68.html b/Socket/doc/html/search/files_68.html deleted file mode 100644 index 3fc9719..0000000 --- a/Socket/doc/html/search/files_68.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/files_68.js b/Socket/doc/html/search/files_68.js deleted file mode 100644 index 92c0f10..0000000 --- a/Socket/doc/html/search/files_68.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['howto_2edox',['howto.dox',['../howto_8dox.html',1,'']]] -]; diff --git a/Socket/doc/html/search/files_6d.html b/Socket/doc/html/search/files_6d.html deleted file mode 100644 index d0a6c12..0000000 --- a/Socket/doc/html/search/files_6d.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/files_6d.js b/Socket/doc/html/search/files_6d.js deleted file mode 100644 index 9fd8869..0000000 --- a/Socket/doc/html/search/files_6d.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['main_5fserver_2ecpp',['main_server.cpp',['../main__server_8cpp.html',1,'']]], - ['mainpage_2edox',['mainpage.dox',['../mainpage_8dox.html',1,'']]], - ['makefile_2edox',['makefile.dox',['../makefile_8dox.html',1,'']]] -]; diff --git a/Socket/doc/html/search/files_73.html b/Socket/doc/html/search/files_73.html deleted file mode 100644 index de69534..0000000 --- a/Socket/doc/html/search/files_73.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/files_73.js b/Socket/doc/html/search/files_73.js deleted file mode 100644 index 401b00a..0000000 --- a/Socket/doc/html/search/files_73.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['server_2ecpp',['server.cpp',['../server_8cpp.html',1,'']]], - ['server_2edox',['server.dox',['../server_8dox.html',1,'']]], - ['server_2eh',['server.h',['../server_8h.html',1,'']]], - ['socket_2ecpp',['Socket.cpp',['../_socket_8cpp.html',1,'']]], - ['socket_2eh',['Socket.h',['../_socket_8h.html',1,'']]], - ['socketexception_2eh',['SocketException.h',['../_socket_exception_8h.html',1,'']]] -]; diff --git a/Socket/doc/html/search/functions_61.html b/Socket/doc/html/search/functions_61.html deleted file mode 100644 index 2b43fac..0000000 --- a/Socket/doc/html/search/functions_61.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_61.js b/Socket/doc/html/search/functions_61.js deleted file mode 100644 index 000738b..0000000 --- a/Socket/doc/html/search/functions_61.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['accept',['Accept',['../class_socket.html#a25cdd79546b8e7e49f2195208ae6d00c',1,'Socket']]] -]; diff --git a/Socket/doc/html/search/functions_62.html b/Socket/doc/html/search/functions_62.html deleted file mode 100644 index 8429cb8..0000000 --- a/Socket/doc/html/search/functions_62.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_62.js b/Socket/doc/html/search/functions_62.js deleted file mode 100644 index 0d84826..0000000 --- a/Socket/doc/html/search/functions_62.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['bind',['Bind',['../class_socket.html#afdc52c70cf11911cc1a3c595a7849cf0',1,'Socket']]] -]; diff --git a/Socket/doc/html/search/functions_63.html b/Socket/doc/html/search/functions_63.html deleted file mode 100644 index 6c18d84..0000000 --- a/Socket/doc/html/search/functions_63.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_63.js b/Socket/doc/html/search/functions_63.js deleted file mode 100644 index b3e4053..0000000 --- a/Socket/doc/html/search/functions_63.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['close',['Close',['../class_socket.html#a4c8ced9a8ce58834191b3b4f2033b173',1,'Socket']]], - ['connect',['Connect',['../class_socket.html#aa1d074c1aa400e8bca7c7da79b036abe',1,'Socket']]], - ['create',['Create',['../class_socket.html#add736ccf41f102910a2b8ac5e77eb8b1',1,'Socket']]] -]; diff --git a/Socket/doc/html/search/functions_64.html b/Socket/doc/html/search/functions_64.html deleted file mode 100644 index ba595bc..0000000 --- a/Socket/doc/html/search/functions_64.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_64.js b/Socket/doc/html/search/functions_64.js deleted file mode 100644 index 7881f7d..0000000 --- a/Socket/doc/html/search/functions_64.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['description',['description',['../class_socket_exception.html#ae160a594055812694ac93f7118c4af1c',1,'SocketException']]] -]; diff --git a/Socket/doc/html/search/functions_65.html b/Socket/doc/html/search/functions_65.html deleted file mode 100644 index ae5bedf..0000000 --- a/Socket/doc/html/search/functions_65.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_65.js b/Socket/doc/html/search/functions_65.js deleted file mode 100644 index 2bb09d2..0000000 --- a/Socket/doc/html/search/functions_65.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['exitclient',['exitClient',['../client_8cpp.html#a00a6f7afcba6bb656a7b05c67efa42ba',1,'client.cpp']]] -]; diff --git a/Socket/doc/html/search/functions_66.html b/Socket/doc/html/search/functions_66.html deleted file mode 100644 index 556482c..0000000 --- a/Socket/doc/html/search/functions_66.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_66.js b/Socket/doc/html/search/functions_66.js deleted file mode 100644 index c197ea2..0000000 --- a/Socket/doc/html/search/functions_66.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['freeram',['freeRAM',['../class_server.html#a018bee9f1e342d9f349765187d89becd',1,'Server']]] -]; diff --git a/Socket/doc/html/search/functions_67.html b/Socket/doc/html/search/functions_67.html deleted file mode 100644 index d3a6198..0000000 --- a/Socket/doc/html/search/functions_67.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_67.js b/Socket/doc/html/search/functions_67.js deleted file mode 100644 index 0201732..0000000 --- a/Socket/doc/html/search/functions_67.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['getnworkers',['getNWorkers',['../class_server.html#acf13ac1f7fc49f28c1b1fa76eab209ab',1,'Server']]], - ['getsock',['getSock',['../class_socket.html#abc14da0faa1d00fe361eeede1b3cda4a',1,'Socket']]], - ['getstartedthreads',['getStartedThreads',['../class_server.html#a0622813f3b675ab661d5f628cec03d30',1,'Server']]], - ['getstoppedthreads',['getStoppedThreads',['../class_server.html#a81289d4e58dec18dd01e343c7f397c1e',1,'Server']]] -]; diff --git a/Socket/doc/html/search/functions_6b.html b/Socket/doc/html/search/functions_6b.html deleted file mode 100644 index 04900a1..0000000 --- a/Socket/doc/html/search/functions_6b.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_6b.js b/Socket/doc/html/search/functions_6b.js deleted file mode 100644 index 603389a..0000000 --- a/Socket/doc/html/search/functions_6b.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['killthread',['killThread',['../server_8h.html#ab99831172d1d4bca2c79bb37c7c062df',1,'killThread(thread_args *t_arg): main_server.cpp'],['../main__server_8cpp.html#ab99831172d1d4bca2c79bb37c7c062df',1,'killThread(thread_args *t_arg): main_server.cpp']]] -]; diff --git a/Socket/doc/html/search/functions_6c.html b/Socket/doc/html/search/functions_6c.html deleted file mode 100644 index 02109a0..0000000 --- a/Socket/doc/html/search/functions_6c.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_6c.js b/Socket/doc/html/search/functions_6c.js deleted file mode 100644 index f316fae..0000000 --- a/Socket/doc/html/search/functions_6c.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['listen',['Listen',['../class_socket.html#a4d476d11854d7acb17b8d196c8171865',1,'Socket']]] -]; diff --git a/Socket/doc/html/search/functions_6d.html b/Socket/doc/html/search/functions_6d.html deleted file mode 100644 index fb5348b..0000000 --- a/Socket/doc/html/search/functions_6d.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_6d.js b/Socket/doc/html/search/functions_6d.js deleted file mode 100644 index 351048e..0000000 --- a/Socket/doc/html/search/functions_6d.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['main',['main',['../client_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4',1,'main(): client.cpp'],['../main__server_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4',1,'main(): main_server.cpp']]] -]; diff --git a/Socket/doc/html/search/functions_6f.html b/Socket/doc/html/search/functions_6f.html deleted file mode 100644 index 5a463ad..0000000 --- a/Socket/doc/html/search/functions_6f.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_6f.js b/Socket/doc/html/search/functions_6f.js deleted file mode 100644 index f63c1a7..0000000 --- a/Socket/doc/html/search/functions_6f.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['operator_3c_3c',['operator<<',['../class_socket.html#a5beab0c84c933510a53126f786cff6de',1,'Socket']]], - ['operator_3e_3e',['operator>>',['../class_socket.html#ab6b2dffea36c60c53f8d5e539f1cf000',1,'Socket']]] -]; diff --git a/Socket/doc/html/search/functions_70.html b/Socket/doc/html/search/functions_70.html deleted file mode 100644 index 90a0b1e..0000000 --- a/Socket/doc/html/search/functions_70.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_70.js b/Socket/doc/html/search/functions_70.js deleted file mode 100644 index c8abab3..0000000 --- a/Socket/doc/html/search/functions_70.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['processtext',['processText',['../server_8h.html#aa6328bc358b87d3e11c3f460d6427c5b',1,'processText(string *str): main_server.cpp'],['../main__server_8cpp.html#aa6328bc358b87d3e11c3f460d6427c5b',1,'processText(string *str): main_server.cpp']]] -]; diff --git a/Socket/doc/html/search/functions_72.html b/Socket/doc/html/search/functions_72.html deleted file mode 100644 index bb678ae..0000000 --- a/Socket/doc/html/search/functions_72.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_72.js b/Socket/doc/html/search/functions_72.js deleted file mode 100644 index 2385820..0000000 --- a/Socket/doc/html/search/functions_72.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['readconf',['readConf',['../server_8h.html#a4f850f08d755a0d0ebe936b5b84975e3',1,'readConf(string *ip, int *port): main_server.cpp'],['../main__server_8cpp.html#a4f850f08d755a0d0ebe936b5b84975e3',1,'readConf(string *ip, int *port): main_server.cpp']]], - ['receive',['Receive',['../class_socket.html#aa1a8b143bb2adf57934156d9e33b8611',1,'Socket']]], - ['requestexit',['requestExit',['../class_server.html#a74769349252c1ad61717b156e42d61d3',1,'Server']]] -]; diff --git a/Socket/doc/html/search/functions_73.html b/Socket/doc/html/search/functions_73.html deleted file mode 100644 index b8ef62c..0000000 --- a/Socket/doc/html/search/functions_73.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_73.js b/Socket/doc/html/search/functions_73.js deleted file mode 100644 index 3ab35b0..0000000 --- a/Socket/doc/html/search/functions_73.js +++ /dev/null @@ -1,10 +0,0 @@ -var searchData= -[ - ['send',['Send',['../class_socket.html#a4c4ecb88d5587177899198861d29d3dd',1,'Socket']]], - ['server',['Server',['../class_server.html#ad5ec9462b520e59f7ea831e157ee5e59',1,'Server']]], - ['setnworkers',['setNWorkers',['../class_server.html#a0090663c66f1f371f8b1aa87c5f49623',1,'Server']]], - ['socket',['Socket',['../class_socket.html#a7c3256c4fc6e2c603df73201049fae5a',1,'Socket']]], - ['socketexception',['SocketException',['../class_socket_exception.html#a06573084bad8aca1443281c0970fe033',1,'SocketException']]], - ['startserver',['startServer',['../class_server.html#aef89851f83a9bbe4459c46b6c7906e1f',1,'Server']]], - ['stopserver',['stopServer',['../main__server_8cpp.html#a5ee86dec2f1282750e7b1da928d45dbc',1,'main_server.cpp']]] -]; diff --git a/Socket/doc/html/search/functions_77.html b/Socket/doc/html/search/functions_77.html deleted file mode 100644 index 2fa955a..0000000 --- a/Socket/doc/html/search/functions_77.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_77.js b/Socket/doc/html/search/functions_77.js deleted file mode 100644 index 0c23d97..0000000 --- a/Socket/doc/html/search/functions_77.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['workerthread',['WorkerThread',['../server_8h.html#a7d13c650ec7a525ad17cabba4f371745',1,'WorkerThread(void *args): main_server.cpp'],['../main__server_8cpp.html#a7d13c650ec7a525ad17cabba4f371745',1,'WorkerThread(void *args): main_server.cpp']]] -]; diff --git a/Socket/doc/html/search/functions_7e.html b/Socket/doc/html/search/functions_7e.html deleted file mode 100644 index 8735f30..0000000 --- a/Socket/doc/html/search/functions_7e.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/functions_7e.js b/Socket/doc/html/search/functions_7e.js deleted file mode 100644 index 25baf99..0000000 --- a/Socket/doc/html/search/functions_7e.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['_7esocketexception',['~SocketException',['../class_socket_exception.html#a659557c899329aea01977c980c4db9b9',1,'SocketException']]] -]; diff --git a/Socket/doc/html/search/mag_sel.png b/Socket/doc/html/search/mag_sel.png deleted file mode 100644 index 81f6040..0000000 Binary files a/Socket/doc/html/search/mag_sel.png and /dev/null differ diff --git a/Socket/doc/html/search/nomatches.html b/Socket/doc/html/search/nomatches.html deleted file mode 100644 index 1655363..0000000 --- a/Socket/doc/html/search/nomatches.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - -
-
Nada coincide
-
- - diff --git a/Socket/doc/html/search/pages_63.html b/Socket/doc/html/search/pages_63.html deleted file mode 100644 index c5612f7..0000000 --- a/Socket/doc/html/search/pages_63.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/pages_63.js b/Socket/doc/html/search/pages_63.js deleted file mode 100644 index 15c4535..0000000 --- a/Socket/doc/html/search/pages_63.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['client',['Client',['../client_code.html',1,'']]] -]; diff --git a/Socket/doc/html/search/pages_66.html b/Socket/doc/html/search/pages_66.html deleted file mode 100644 index 0915aab..0000000 --- a/Socket/doc/html/search/pages_66.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/pages_66.js b/Socket/doc/html/search/pages_66.js deleted file mode 100644 index 565057d..0000000 --- a/Socket/doc/html/search/pages_66.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['fichero_20de_20configuraci_c3_b3n',['Fichero de configuración',['../conf.html',1,'']]] -]; diff --git a/Socket/doc/html/search/pages_68.html b/Socket/doc/html/search/pages_68.html deleted file mode 100644 index 49958c2..0000000 --- a/Socket/doc/html/search/pages_68.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/pages_68.js b/Socket/doc/html/search/pages_68.js deleted file mode 100644 index f30ca32..0000000 --- a/Socket/doc/html/search/pages_68.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['howto',['HOWTO',['../howto.html',1,'']]] -]; diff --git a/Socket/doc/html/search/pages_70.html b/Socket/doc/html/search/pages_70.html deleted file mode 100644 index 1d1142a..0000000 --- a/Socket/doc/html/search/pages_70.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/pages_70.js b/Socket/doc/html/search/pages_70.js deleted file mode 100644 index 53eada5..0000000 --- a/Socket/doc/html/search/pages_70.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['p_c3_a1gina_20principal',['Página principal',['../index.html',1,'']]] -]; diff --git a/Socket/doc/html/search/pages_73.html b/Socket/doc/html/search/pages_73.html deleted file mode 100644 index b970642..0000000 --- a/Socket/doc/html/search/pages_73.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/pages_73.js b/Socket/doc/html/search/pages_73.js deleted file mode 100644 index 1cf46cf..0000000 --- a/Socket/doc/html/search/pages_73.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['server',['Server',['../server_code.html',1,'']]] -]; diff --git a/Socket/doc/html/search/search.css b/Socket/doc/html/search/search.css deleted file mode 100644 index 5b208ed..0000000 --- a/Socket/doc/html/search/search.css +++ /dev/null @@ -1,271 +0,0 @@ -/*---------------- Search Box */ - -#FSearchBox { - float: left; -} - -#MSearchBox { - white-space : nowrap; - position: absolute; - float: none; - display: inline; - margin-top: 8px; - right: 0px; - width: 170px; - z-index: 102; - background-color: white; -} - -#MSearchBox .left -{ - display:block; - position:absolute; - left:10px; - width:20px; - height:19px; - background:url('search_l.png') no-repeat; - background-position:right; -} - -#MSearchSelect { - display:block; - position:absolute; - width:20px; - height:19px; -} - -.left #MSearchSelect { - left:4px; -} - -.right #MSearchSelect { - right:5px; -} - -#MSearchField { - display:block; - position:absolute; - height:19px; - background:url('search_m.png') repeat-x; - border:none; - width:116px; - margin-left:20px; - padding-left:4px; - color: #909090; - outline: none; - font: 9pt Arial, Verdana, sans-serif; -} - -#FSearchBox #MSearchField { - margin-left:15px; -} - -#MSearchBox .right { - display:block; - position:absolute; - right:10px; - top:0px; - width:20px; - height:19px; - background:url('search_r.png') no-repeat; - background-position:left; -} - -#MSearchClose { - display: none; - position: absolute; - top: 4px; - background : none; - border: none; - margin: 0px 4px 0px 0px; - padding: 0px 0px; - outline: none; -} - -.left #MSearchClose { - left: 6px; -} - -.right #MSearchClose { - right: 2px; -} - -.MSearchBoxActive #MSearchField { - color: #000000; -} - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; - z-index: 1; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt Arial, Verdana, sans-serif; - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: monospace; - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: #000000; - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: #000000; - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: #FFFFFF; - background-color: #3D578C; - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - width: 60ex; - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #000; - background-color: #EEF1F7; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; - padding-bottom: 15px; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -body.SRPage { - margin: 5px 2px; -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -span.SRScope { - padding-left: 4px; -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; -} - -.SRResult { - display: none; -} - -DIV.searchresults { - margin-left: 10px; - margin-right: 10px; -} - -/*---------------- External search page results */ - -.searchresult { - background-color: #F0F3F8; -} - -.pages b { - color: white; - padding: 5px 5px 3px 5px; - background-image: url("../tab_a.png"); - background-repeat: repeat-x; - text-shadow: 0 1px 1px #000000; -} - -.pages { - line-height: 17px; - margin-left: 4px; - text-decoration: none; -} - -.hl { - font-weight: bold; -} - -#searchresults { - margin-bottom: 20px; -} - -.searchpages { - margin-top: 10px; -} - diff --git a/Socket/doc/html/search/search.js b/Socket/doc/html/search/search.js deleted file mode 100644 index 076a694..0000000 --- a/Socket/doc/html/search/search.js +++ /dev/null @@ -1,807 +0,0 @@ -// Search script generated by doxygen -// Copyright (C) 2009 by Dimitri van Heesch. - -// The code in this file is loosly based on main.js, part of Natural Docs, -// which is Copyright (C) 2003-2008 Greg Valure -// Natural Docs is licensed under the GPL. - -var indexSectionsWithContent = -{ - 0: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111011111101110010000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 1: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 2: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000010000100000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 3: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111100011101101100010000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 4: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000001000110000110010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 5: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - 6: "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001001010000000100100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" -}; - -var indexSectionNames = -{ - 0: "all", - 1: "classes", - 2: "files", - 3: "functions", - 4: "variables", - 5: "defines", - 6: "pages" -}; - -function convertToId(search) -{ - var result = ''; - for (i=0;i do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var hexCode; - if (code<16) - { - hexCode="0"+code.toString(16); - } - else - { - hexCode=code.toString(16); - } - - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; - - if (indexSectionsWithContent[this.searchIndex].charAt(code) == '1') - { - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches.html'; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; - } - - window.frames.MSearchResults.location = resultsPageWithSearch; - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } - } - - this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of . - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName == 'DIV' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - parent.document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} - -function setKeyActions(elem,action) -{ - elem.setAttribute('onkeydown',action); - elem.setAttribute('onkeypress',action); - elem.setAttribute('onkeyup',action); -} - -function setClassAttr(elem,attr) -{ - elem.setAttribute('class',attr); - elem.setAttribute('className',attr); -} - -function createResults() -{ - var results = document.getElementById("SRResults"); - for (var e=0; e - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/variables_63.js b/Socket/doc/html/search/variables_63.js deleted file mode 100644 index d3c4ae9..0000000 --- a/Socket/doc/html/search/variables_63.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['condition',['condition',['../structthread__args.html#a96ee28beaed4175257db3d8794245f25',1,'thread_args']]] -]; diff --git a/Socket/doc/html/search/variables_69.html b/Socket/doc/html/search/variables_69.html deleted file mode 100644 index 169916a..0000000 --- a/Socket/doc/html/search/variables_69.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/variables_69.js b/Socket/doc/html/search/variables_69.js deleted file mode 100644 index 9f04bbd..0000000 --- a/Socket/doc/html/search/variables_69.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['id',['id',['../structthread__args.html#a6322b3468fd88f8f49977a6439e9f352',1,'thread_args']]] -]; diff --git a/Socket/doc/html/search/variables_6d.html b/Socket/doc/html/search/variables_6d.html deleted file mode 100644 index 4f3a2e8..0000000 --- a/Socket/doc/html/search/variables_6d.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/variables_6d.js b/Socket/doc/html/search/variables_6d.js deleted file mode 100644 index 8da3879..0000000 --- a/Socket/doc/html/search/variables_6d.js +++ /dev/null @@ -1,5 +0,0 @@ -var searchData= -[ - ['message',['message',['../class_socket_exception.html#a43f3472f1433552059ffeb9a251a9b76',1,'SocketException']]], - ['mutex',['mutex',['../structthread__args.html#ad5d64499f5f6e2df467c96b52a94c520',1,'thread_args']]] -]; diff --git a/Socket/doc/html/search/variables_6e.html b/Socket/doc/html/search/variables_6e.html deleted file mode 100644 index f46dc26..0000000 --- a/Socket/doc/html/search/variables_6e.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/variables_6e.js b/Socket/doc/html/search/variables_6e.js deleted file mode 100644 index 9c1aa09..0000000 --- a/Socket/doc/html/search/variables_6e.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['nworkers',['nWorkers',['../class_server.html#a690955b1e335072c061df67014a6e698',1,'Server']]] -]; diff --git a/Socket/doc/html/search/variables_73.html b/Socket/doc/html/search/variables_73.html deleted file mode 100644 index bd33d86..0000000 --- a/Socket/doc/html/search/variables_73.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/variables_73.js b/Socket/doc/html/search/variables_73.js deleted file mode 100644 index e90c93b..0000000 --- a/Socket/doc/html/search/variables_73.js +++ /dev/null @@ -1,11 +0,0 @@ -var searchData= -[ - ['s',['s',['../structthread__args.html#aede3ef61778d02bdf25c368d1cf9d489',1,'thread_args']]], - ['serv',['serv',['../structthread__args.html#ab29508135b033282f374d0fb47028fbd',1,'thread_args::serv()'],['../main__server_8cpp.html#ab6b71e6574fcb2d2e0a5c2af08a2799f',1,'serv(): main_server.cpp']]], - ['shutdownserver',['shutdownServer',['../class_server.html#aa9231b38adc787954a13f04372de8ed2',1,'Server']]], - ['sock',['sock',['../class_socket.html#a231ddf6e338a86640e26808b83efeaa1',1,'Socket']]], - ['sockaddr',['sockAddr',['../class_socket.html#ae4d80b83c327ed835b5f4575a499a400',1,'Socket']]], - ['ss',['ss',['../class_server.html#af9e1a6848bdd627741b85e75777e3b45',1,'Server']]], - ['startedthreads',['startedThreads',['../class_server.html#a40fdc13e227f651943e0aa3757824396',1,'Server']]], - ['stoppedthreads',['stoppedThreads',['../class_server.html#a36a18616b526f3053a1036641a62cb0a',1,'Server']]] -]; diff --git a/Socket/doc/html/search/variables_74.html b/Socket/doc/html/search/variables_74.html deleted file mode 100644 index 98e5b96..0000000 --- a/Socket/doc/html/search/variables_74.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/variables_74.js b/Socket/doc/html/search/variables_74.js deleted file mode 100644 index a60e6b8..0000000 --- a/Socket/doc/html/search/variables_74.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['thread',['thread',['../structthread__args.html#acdcd2db4307e5e75d5110067e196a70e',1,'thread_args']]] -]; diff --git a/Socket/doc/html/search/variables_77.html b/Socket/doc/html/search/variables_77.html deleted file mode 100644 index b378305..0000000 --- a/Socket/doc/html/search/variables_77.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Cargando...
-
- -
Buscando...
-
Nada coincide
- -
- - diff --git a/Socket/doc/html/search/variables_77.js b/Socket/doc/html/search/variables_77.js deleted file mode 100644 index 351ed13..0000000 --- a/Socket/doc/html/search/variables_77.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['workerid',['workerID',['../class_server.html#ae10d91b60157ccfcc06cc463e8443007',1,'Server']]] -]; diff --git a/Socket/doc/html/server_8cpp.html b/Socket/doc/html/server_8cpp.html deleted file mode 100644 index 6827cd2..0000000 --- a/Socket/doc/html/server_8cpp.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/server.cpp - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- - -
-
-
-
Referencia del Archivo server.cpp
-
-
- -

Fichero de implementación de la clase Server. -Más...

-
#include "server.h"
-

Descripción detallada

-

Fichero de implementación de la clase Server.

-
Autor
Imanol Barba Sabariego
-
Fecha
13/06/2013
-

En este fichero se implementan los métodos de la clase Server definidos en server.h

-
- - - - diff --git a/Socket/doc/html/server_8dox.html b/Socket/doc/html/server_8dox.html deleted file mode 100644 index b85145c..0000000 --- a/Socket/doc/html/server_8dox.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/server.dox - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
-
-
Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/server.dox
-
-
-

Descripción detallada

-
Autor
Imanol Barba Sabariego
-
Fecha
13/06/2013
-
- - - - diff --git a/Socket/doc/html/server_8h.html b/Socket/doc/html/server_8h.html deleted file mode 100644 index e534559..0000000 --- a/Socket/doc/html/server_8h.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - -Socket: Referencia del Archivo /home/imanol/devel/eclipse/PAD/Socket/src/include/server.h - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- - -
-
- -
-
Referencia del Archivo server.h
-
-
- -

Header de la clase Server. -Más...

-
#include "Socket.h"
-#include "SocketException.h"
-#include <iostream>
-#include <sstream>
-#include <signal.h>
-#include <fstream>
-#include <list>
-
-

Ir al código fuente de este archivo.

- - - - - - - - -

-Clases

class  Server
 Clase de aplicación servidor. Más...
 
struct  thread_args
 Argumentos de los threads. Más...
 
- - - - - - - -

-'defines'

#define N   5
 Numero de conexiones permitidas activas (en espera o activas) Más...
 
#define CONFFILE   "socket.conf"
 Ruta al fichero de configuración. Más...
 
- - - - - - - - - - - - - -

-Funciones

void killThread (thread_args *t_arg)
 Método de finalización de Threads. Más...
 
void * WorkerThread (void *args)
 Método gestión de conexiones. Más...
 
void processText (string *str)
 Método auxiliar de procesado de texto. Más...
 
bool readConf (string *ip, int *port)
 Método de lectura de configuración. Más...
 
-

Descripción detallada

-

Header de la clase Server.

-
Autor
Imanol Barba Sabariego
-
Fecha
11/06/2013
-

En este fichero se define la clase Server y algunos métodos globales usados por ésta para la gestión de threads y otros aspectos.

-

Documentación de los 'defines'

- -
-
- - - - -
#define CONFFILE   "socket.conf"
-
- -

Ruta al fichero de configuración.

-

Ruta relativa o absoluta al fichero de configuración, de no existir o ser inválido el programa no funcionará.

- -
-
- -
-
- - - - -
#define N   5
-
- -

Numero de conexiones permitidas activas (en espera o activas)

-

Esta constante controla cuantas conexiones puede haber en espera o cuantas puede haber establecias en cualquier momento: habrá N activas y N en espera como mucho, no N en espera o activas.

- -
-
-

Documentación de las funciones

- -
-
- - - - - - - - -
void killThread (thread_argst_arg)
-
- -

Método de finalización de Threads.

-

Éste método se ejecuta para liberar la memoria de los argumentos del thread y mandarlo a la pila de threads terminados.

-
Parámetros
- - -
t_argPuntero al struct que contiene los argumentos del thread
-
-
- -
-
- -
-
- - - - - - - - -
void processText (string * str)
-
- -

Método auxiliar de procesado de texto.

-

Éste método usa para procesar las entradas de texto del fichero de configuración para adaptarlas a un formato adecuado.

-

De momento se limita a eliminar whitespace (tabulaciones, saltos de línea y espacios).

-
Parámetros
- - -
strLínea de texto a procesar
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
bool readConf (string * ip,
int * port 
)
-
- -

Método de lectura de configuración.

-

Éste método lee el fichero de configuración espeficado para obtener parámetros de configuración para el funcionamiento del servidor.

-
Parámetros
- - - -
ipPuntero donde se almacena la IP leída
portPuntero donde se almacena el puerto leído
-
-
- -
-
- -
-
- - - - - - - - -
void* WorkerThread (void * args)
-
- -

Método gestión de conexiones.

-

Éste método es el que los threads ejecutan al crearse, aquí es donde se define el comportamiento del servidor, ya que cada conexión se gestionará como aquí se detalla.

-

Por defecto, el comportamiento que lleva programado es el de un servidor "echo", esperará que el cliente le envíe un mensaje y responderá con el mismo mensaje.

-
Parámetros
- - -
argsPuntero al struct de los argumentos del thread casteado a tipo void*
-
-
- -
-
-
- - - - diff --git a/Socket/doc/html/server_8h_source.html b/Socket/doc/html/server_8h_source.html deleted file mode 100644 index 943ce8b..0000000 --- a/Socket/doc/html/server_8h_source.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - -Socket: Fichero Fuente /home/imanol/devel/eclipse/PAD/Socket/src/include/server.h - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- - -
-
-
-
server.h
-
-
-Ir a la documentación de este archivo.
1 
-
9 #ifndef SERVER_H_
-
10 #define SERVER_H_
-
11 
-
12 #include "Socket.h"
-
13 #include "SocketException.h"
-
14 #include <iostream>
-
15 #include <sstream>
-
16 #include <signal.h>
-
17 #include <fstream>
-
18 #include <list>
-
19 #include <fstream>
-
20 
-
22 
-
24 #define N 5
-
25 
-
26 
-
27 #define CONFFILE "socket.conf"
-
28 
-
29 
-
31 using namespace std;
-
32 
-
34 
-
38 class Server
-
39 {
-
40  private:
-
42 
-
44  int nWorkers;
-
46 
- -
50 
-
52  int workerID;
-
54 
-
56  list<pthread_t*> stoppedThreads;
-
58 
-
63  list<pthread_t*> startedThreads;
-
65 
- -
69 
-
70  public:
-
72 
-
73  Server() : nWorkers(0), workerID(0), shutdownServer(false) {}
-
75 
-
76  int getNWorkers();
-
78 
-
79  void setNWorkers(int n );
-
81 
-
82  list<pthread_t*>* getStartedThreads();
-
84 
-
85  list<pthread_t*>* getStoppedThreads();
-
87 
-
88  void startServer(string i , int p);
-
90 
-
91  void freeRAM(list<pthread_t*> *threadList);
-
93 
-
94  void requestExit();
-
95 };
-
96 
-
98 
- -
103 {
-
105 
-
106  pthread_mutex_t *mutex;
-
108 
-
112  pthread_cond_t *condition;
-
114 
-
116  pthread_t *thread;
-
118 
- -
122 
- -
126 
-
127  int id;
-
128 };
-
129 
-
131 
-
132 void killThread(thread_args *t_arg );
-
134 
-
139 void *WorkerThread(void* args );
-
141 
-
144 void processText(string *str);
-
146 
-
147 bool readConf(string *ip, int *port);
-
148 
-
149 #endif /* SERVER_H_ */
-
- - - - diff --git a/Socket/doc/html/server_code.html b/Socket/doc/html/server_code.html deleted file mode 100644 index 3b369ce..0000000 --- a/Socket/doc/html/server_code.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - - -Socket: Server - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - -
- -
- -
-
- -
-
-

Ejemplo de aplicación servidor

-
#include "server.h"
-
#include <fstream>
-
- -
-
void killThread(thread_args *t_arg)
-
{
-
(t_arg->s)->Close();
-
pthread_mutex_lock(t_arg->mutex);
-
t_arg->serv->setNWorkers(t_arg->serv->getNWorkers()-1);
-
cout << "Worker " << t_arg->id << ": connection terminated" << endl;
-
pthread_mutex_unlock(t_arg->mutex);
-
pthread_cond_signal(t_arg->condition);
-
t_arg->serv->getStartedThreads()->remove(t_arg->thread);
-
t_arg->serv->getStoppedThreads()->push_back(t_arg->thread);
-
if(t_arg->s != 0)
-
{
-
delete t_arg->s;
-
t_arg->s = 0;
-
}
-
if(t_arg != 0)
-
{
-
delete t_arg;
-
t_arg = 0;
-
}
-
pthread_exit(NULL);
-
}
-
-
void *WorkerThread(void* args)
-
{
-
struct thread_args *t_arg = (struct thread_args*)args;
-
while(true)
-
{
-
string message;
-
*(t_arg->s) >> message;
-
cout << "Worker " << t_arg->id << " received: " << message << endl;
-
string send = "You said: ";
-
send += message;
-
*(t_arg->s) << send;
-
}
-
killThread(t_arg);
-
}
-
-
void stopServer(int signal)
-
{
-
serv->requestExit();
-
}
-
-
void processText(string *str)
-
{
-
for(int i = 0; i < str->length(); i++)
-
{
-
if((*str)[i] == 32 || (*str)[i] == 10 || (*str)[i] == 11)
-
{
-
str->erase(i--,1);
-
}
-
}
-
}
-
-
bool readConf(string *ip, int *port)
-
{
-
*ip = "";
-
*port = 0;
-
ifstream confFile;
-
confFile.open(CONFFILE);
-
if(!confFile.is_open())
-
{
-
cout << "Error opening configuration file" << endl;
-
return false;
-
}
-
string parameter;
-
while(true)
-
{
-
getline(confFile, parameter, '=');
-
processText(&parameter);
-
if(confFile.eof())
-
{
-
break;
-
}
-
if(parameter == "bind-ip")
-
{
-
confFile >> *ip;
-
}
-
else if(parameter == "port")
-
{
-
confFile >> *port;
-
}
-
}
-
confFile.close();
-
if(*ip == "" || *port == 0)
-
{
-
return false;
-
}
-
return true;
-
}
-
-
int main()
-
{
-
string ip;
-
int port;
-
serv = new Server();
-
signal(SIGINT, stopServer);
-
if(!readConf(&ip,&port))
-
{
-
cout << "Configuration couldn't be loaded" << endl;
-
return -1;
-
}
-
serv->startServer(ip,port);
-
delete serv;
-
return 0;
-
}
-
- - - - diff --git a/Socket/doc/html/structthread__args-members.html b/Socket/doc/html/structthread__args-members.html deleted file mode 100644 index 8741abe..0000000 --- a/Socket/doc/html/structthread__args-members.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - -Socket: Lista de los miembros - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
-
-
thread_args Lista de los miembros
-
-
- -

Lista completa de los miembros de thread_args, incluyendo todos los heredados:

- - - - - - - -
conditionthread_args
idthread_args
mutexthread_args
sthread_args
servthread_args
threadthread_args
- - - - diff --git a/Socket/doc/html/structthread__args.html b/Socket/doc/html/structthread__args.html deleted file mode 100644 index f32700b..0000000 --- a/Socket/doc/html/structthread__args.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - -Socket: Referencia de la Estructura thread_args - - - - - - - - - -
-
- - - - - - -
-
Socket -
-
Librería para comunicar via TCP/IP
-
-
- - - - - - - - - -
- -
- -
-
- -
-
Referencia de la Estructura thread_args
-
-
- -

Argumentos de los threads. - Más...

- -

#include <server.h>

- - - - - - - - - - - - - - - - - - - - -

-Atributos públicos

pthread_mutex_t * mutex
 Variable de control de la exclusión mútua entre threads. Más...
 
pthread_cond_t * condition
 Variable de notificación a otros threads. Más...
 
pthread_t * thread
 Puntero al thread. Más...
 
Sockets
 Puntero al socket. Más...
 
Serverserv
 Puntero al servidor. Más...
 
int id
 ID del thread. Más...
 
-

Descripción detallada

-

Argumentos de los threads.

-

Este struct define los argumentos que recibe un thread abierto por la aplicación servidor al recibir una conexión entrante

-
Autor
Imanol Barba Sabariego
-
Fecha
11/06/2013
-

Documentación de los datos miembro

- -
-
- - - - -
pthread_cond_t* thread_args::condition
-
- -

Variable de notificación a otros threads.

-

Esta variable se usa para notificar a otros threads cuando deben realizar otras acciones.

-

Actualmente se usa para notificar al thread principal cuando el thread que lo invoca ha terminado, en caso de que el principal haya quedado bloqueado y no admita más conexiones.

- -
-
- -
-
- - - - -
int thread_args::id
-
- -

ID del thread.

-

Identifica al thread con un ID único

- -
-
- -
-
- - - - -
pthread_mutex_t* thread_args::mutex
-
- -

Variable de control de la exclusión mútua entre threads.

-

Esta variable se usa para bloquear otros threads en operaciones de exclusion mútua donde se modifican variables compartidas

- -
-
- -
-
- - - - -
Socket* thread_args::s
-
- -

Puntero al socket.

-

Esta variable representa el puntero al socket que proviene de la conexión entrante recibida por el servidor. Con este, el thread puede recibir y enviar los datos.

- -
-
- -
-
- - - - -
Server* thread_args::serv
-
- -

Puntero al servidor.

-

Esta variable representa el puntero al servidor de la aplicación. Con este puntero, los threads se mueven a la pila de threads terminados una vez terminan la ejecución para que el thread principal (el propio servidor), vaya liberando la memoria asignada.

- -
-
- -
-
- - - - -
pthread_t* thread_args::thread
-
- -

Puntero al thread.

-

Esta variable representa el puntero del propio thread. Al finalizar, este enviará su puntero a la lista de threads terminados, donde la memoria asignada al thread se destruirá.

- -
-
-
La documentación para esta estructura fue generada a partir del siguiente fichero:
    -
  • /home/imanol/devel/eclipse/PAD/Socket/src/include/server.h
  • -
-
- - - - diff --git a/Socket/doc/html/sync_off.png b/Socket/doc/html/sync_off.png deleted file mode 100644 index 3b443fc..0000000 Binary files a/Socket/doc/html/sync_off.png and /dev/null differ diff --git a/Socket/doc/html/sync_on.png b/Socket/doc/html/sync_on.png deleted file mode 100644 index e08320f..0000000 Binary files a/Socket/doc/html/sync_on.png and /dev/null differ diff --git a/Socket/doc/html/tab_a.png b/Socket/doc/html/tab_a.png deleted file mode 100644 index 3b725c4..0000000 Binary files a/Socket/doc/html/tab_a.png and /dev/null differ diff --git a/Socket/doc/html/tab_b.png b/Socket/doc/html/tab_b.png deleted file mode 100644 index e2b4a86..0000000 Binary files a/Socket/doc/html/tab_b.png and /dev/null differ diff --git a/Socket/doc/html/tab_h.png b/Socket/doc/html/tab_h.png deleted file mode 100644 index fd5cb70..0000000 Binary files a/Socket/doc/html/tab_h.png and /dev/null differ diff --git a/Socket/doc/html/tab_s.png b/Socket/doc/html/tab_s.png deleted file mode 100644 index ab478c9..0000000 Binary files a/Socket/doc/html/tab_s.png and /dev/null differ diff --git a/Socket/doc/html/tabs.css b/Socket/doc/html/tabs.css deleted file mode 100644 index 9cf578f..0000000 --- a/Socket/doc/html/tabs.css +++ /dev/null @@ -1,60 +0,0 @@ -.tabs, .tabs2, .tabs3 { - background-image: url('tab_b.png'); - width: 100%; - z-index: 101; - font-size: 13px; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; -} - -.tabs2 { - font-size: 10px; -} -.tabs3 { - font-size: 9px; -} - -.tablist { - margin: 0; - padding: 0; - display: table; -} - -.tablist li { - float: left; - display: table-cell; - background-image: url('tab_b.png'); - line-height: 36px; - list-style: none; -} - -.tablist a { - display: block; - padding: 0 20px; - font-weight: bold; - background-image:url('tab_s.png'); - background-repeat:no-repeat; - background-position:right; - color: #283A5D; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; - outline: none; -} - -.tabs3 .tablist a { - padding: 0 10px; -} - -.tablist a:hover { - background-image: url('tab_h.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); - text-decoration: none; -} - -.tablist li.current a { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} diff --git a/Socket/doc/latex/Makefile b/Socket/doc/latex/Makefile deleted file mode 100644 index 083d8b1..0000000 --- a/Socket/doc/latex/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -all: refman.pdf - -pdf: refman.pdf - -refman.pdf: clean refman.tex - pdflatex refman - makeindex refman.idx - pdflatex refman - latex_count=5 ; \ - while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ - do \ - echo "Rerunning latex...." ;\ - pdflatex refman ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf diff --git a/Socket/doc/latex/_socket_8cpp.tex b/Socket/doc/latex/_socket_8cpp.tex deleted file mode 100644 index e76a12c..0000000 --- a/Socket/doc/latex/_socket_8cpp.tex +++ /dev/null @@ -1,24 +0,0 @@ -\hypertarget{_socket_8cpp}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/\-Socket.cpp} -\label{_socket_8cpp}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/\-Socket.\-cpp@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/\-Socket.\-cpp}} -} - - -Fichero de implementación de la clase \hyperlink{class_socket}{Socket}. - - -{\ttfamily \#include \char`\"{}Socket.\-h\char`\"{}}\\* -{\ttfamily \#include \char`\"{}Socket\-Exception.\-h\char`\"{}}\\* -{\ttfamily \#include $<$sstream$>$}\\* -{\ttfamily \#include $<$strings.\-h$>$}\\* -{\ttfamily \#include $<$cstdlib$>$}\\* -{\ttfamily \#include $<$netinet/tcp.\-h$>$}\\* - - -\subsection{Descripción detallada} -Fichero de implementación de la clase \hyperlink{class_socket}{Socket}. \begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -13/06/2013 -\end{DoxyDate} -En este fichero se implementan los métodos de la clase \hyperlink{class_socket}{Socket} definidos en \hyperlink{_socket_8h}{Socket.\-h} \ No newline at end of file diff --git a/Socket/doc/latex/_socket_8h.tex b/Socket/doc/latex/_socket_8h.tex deleted file mode 100644 index 9467788..0000000 --- a/Socket/doc/latex/_socket_8h.tex +++ /dev/null @@ -1,31 +0,0 @@ -\hypertarget{_socket_8h}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\-Socket.h} -\label{_socket_8h}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\-Socket.\-h@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\-Socket.\-h}} -} - - -Header de la clase \hyperlink{class_socket}{Socket}. - - -{\ttfamily \#include $<$iostream$>$}\\* -{\ttfamily \#include $<$sys/socket.\-h$>$}\\* -{\ttfamily \#include $<$netinet/in.\-h$>$}\\* -{\ttfamily \#include $<$arpa/inet.\-h$>$}\\* -{\ttfamily \#include $<$netdb.\-h$>$}\\* -{\ttfamily \#include $<$string$>$}\\* -{\ttfamily \#include $<$sys/types.\-h$>$}\\* -{\ttfamily \#include $<$unistd.\-h$>$}\\* -\subsection*{Clases} -\begin{DoxyCompactItemize} -\item -class \hyperlink{class_socket}{Socket} -\begin{DoxyCompactList}\small\item\em Clase del socket. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Descripción detallada} -Header de la clase \hyperlink{class_socket}{Socket}. \begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -12/06/2013 -\end{DoxyDate} -En este fichero se define la clase \hyperlink{class_socket}{Socket}, que es la clase que se abstraer toda la comunicación con sockets al programador \ No newline at end of file diff --git a/Socket/doc/latex/_socket_exception_8h.tex b/Socket/doc/latex/_socket_exception_8h.tex deleted file mode 100644 index 2086d9e..0000000 --- a/Socket/doc/latex/_socket_exception_8h.tex +++ /dev/null @@ -1,24 +0,0 @@ -\hypertarget{_socket_exception_8h}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\-Socket\-Exception.h} -\label{_socket_exception_8h}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\-Socket\-Exception.\-h@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\-Socket\-Exception.\-h}} -} - - -Header de excepción de Sockets. - - -{\ttfamily \#include $<$string$>$}\\* -\subsection*{Clases} -\begin{DoxyCompactItemize} -\item -class \hyperlink{class_socket_exception}{Socket\-Exception} -\begin{DoxyCompactList}\small\item\em Clase de Excepción de Sockets. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Descripción detallada} -Header de excepción de Sockets. \begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -10/06/2013 -\end{DoxyDate} -En este fichero se define la clase \hyperlink{class_socket_exception}{Socket\-Exception} para el control de excepciones producidas por la librería. \ No newline at end of file diff --git a/Socket/doc/latex/annotated.tex b/Socket/doc/latex/annotated.tex deleted file mode 100644 index 7269aed..0000000 --- a/Socket/doc/latex/annotated.tex +++ /dev/null @@ -1,7 +0,0 @@ -\section{Lista de clases} -Lista de las clases, estructuras, uniones e interfaces con una breve descripción\-:\begin{DoxyCompactList} -\item\contentsline{section}{\hyperlink{class_server}{Server} \\*Clase de aplicación servidor }{\pageref{class_server}}{} -\item\contentsline{section}{\hyperlink{class_socket}{Socket} \\*Clase del socket }{\pageref{class_socket}}{} -\item\contentsline{section}{\hyperlink{class_socket_exception}{Socket\-Exception} \\*Clase de Excepción de Sockets }{\pageref{class_socket_exception}}{} -\item\contentsline{section}{\hyperlink{structthread__args}{thread\-\_\-args} \\*Argumentos de los threads }{\pageref{structthread__args}}{} -\end{DoxyCompactList} diff --git a/Socket/doc/latex/class_server.tex b/Socket/doc/latex/class_server.tex deleted file mode 100644 index 3feb6cd..0000000 --- a/Socket/doc/latex/class_server.tex +++ /dev/null @@ -1,216 +0,0 @@ -\hypertarget{class_server}{\section{Referencia de la Clase Server} -\label{class_server}\index{Server@{Server}} -} - - -Clase de aplicación servidor. - - - - -{\ttfamily \#include $<$server.\-h$>$} - -\subsection*{Métodos públicos} -\begin{DoxyCompactItemize} -\item -\hyperlink{class_server_ad5ec9462b520e59f7ea831e157ee5e59}{Server} () -\begin{DoxyCompactList}\small\item\em Constructor de la clase \hyperlink{class_server}{Server}. \end{DoxyCompactList}\item -int \hyperlink{class_server_acf13ac1f7fc49f28c1b1fa76eab209ab}{get\-N\-Workers} () -\begin{DoxyCompactList}\small\item\em Getter del número de threads activos. \end{DoxyCompactList}\item -void \hyperlink{class_server_a0090663c66f1f371f8b1aa87c5f49623}{set\-N\-Workers} (int n) -\begin{DoxyCompactList}\small\item\em Setter del número de threads activos. \end{DoxyCompactList}\item -list$<$ pthread\-\_\-t $\ast$ $>$ $\ast$ \hyperlink{class_server_a0622813f3b675ab661d5f628cec03d30}{get\-Started\-Threads} () -\begin{DoxyCompactList}\small\item\em Getter de la pila de threads activos. \end{DoxyCompactList}\item -list$<$ pthread\-\_\-t $\ast$ $>$ $\ast$ \hyperlink{class_server_a81289d4e58dec18dd01e343c7f397c1e}{get\-Stopped\-Threads} () -\begin{DoxyCompactList}\small\item\em Getter de la pila de threads terminados. \end{DoxyCompactList}\item -void \hyperlink{class_server_aef89851f83a9bbe4459c46b6c7906e1f}{start\-Server} (string i, int p) -\begin{DoxyCompactList}\small\item\em Método de inicialización del servidor. \end{DoxyCompactList}\item -void \hyperlink{class_server_a018bee9f1e342d9f349765187d89becd}{free\-R\-A\-M} (list$<$ pthread\-\_\-t $\ast$ $>$ $\ast$thread\-List) -\begin{DoxyCompactList}\small\item\em Método para liberar memória de threads. \end{DoxyCompactList}\item -void \hyperlink{class_server_a74769349252c1ad61717b156e42d61d3}{request\-Exit} () -\begin{DoxyCompactList}\small\item\em Método para terminar el servidor. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Atributos privados} -\begin{DoxyCompactItemize} -\item -int \hyperlink{class_server_a690955b1e335072c061df67014a6e698}{n\-Workers} -\begin{DoxyCompactList}\small\item\em Contador de threads. \end{DoxyCompactList}\item -bool \hyperlink{class_server_aa9231b38adc787954a13f04372de8ed2}{shutdown\-Server} -\begin{DoxyCompactList}\small\item\em Variable de apagado. \end{DoxyCompactList}\item -int \hyperlink{class_server_ae10d91b60157ccfcc06cc463e8443007}{worker\-I\-D} -\begin{DoxyCompactList}\small\item\em Contador de I\-D de thread. \end{DoxyCompactList}\item -list$<$ pthread\-\_\-t $\ast$ $>$ \hyperlink{class_server_a36a18616b526f3053a1036641a62cb0a}{stopped\-Threads} -\begin{DoxyCompactList}\small\item\em Pila de threads terminados. \end{DoxyCompactList}\item -list$<$ pthread\-\_\-t $\ast$ $>$ \hyperlink{class_server_a40fdc13e227f651943e0aa3757824396}{started\-Threads} -\begin{DoxyCompactList}\small\item\em Pila de threads empezados. \end{DoxyCompactList}\item -\hyperlink{class_socket}{Socket} \hyperlink{class_server_af9e1a6848bdd627741b85e75777e3b45}{ss} -\begin{DoxyCompactList}\small\item\em \hyperlink{class_socket}{Socket} de comunicación. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Descripción detallada} -Clase de aplicación servidor. - -Esta clase define un objeto con los métodos y atributos necesarios para lanzar una aplicación servidor y atender las conexiones. Para realizar la comunicación con el cliente, usa un objeto de la clase \hyperlink{class_socket}{Socket} - -\subsection{Documentación del constructor y destructor} -\hypertarget{class_server_ad5ec9462b520e59f7ea831e157ee5e59}{\index{Server@{Server}!Server@{Server}} -\index{Server@{Server}!Server@{Server}} -\subsubsection[{Server}]{\setlength{\rightskip}{0pt plus 5cm}Server\-::\-Server ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_server_ad5ec9462b520e59f7ea831e157ee5e59} - - -Constructor de la clase \hyperlink{class_server}{Server}. - -Incializa los argumentos inciales del servidor - -\subsection{Documentación de las funciones miembro} -\hypertarget{class_server_a018bee9f1e342d9f349765187d89becd}{\index{Server@{Server}!free\-R\-A\-M@{free\-R\-A\-M}} -\index{free\-R\-A\-M@{free\-R\-A\-M}!Server@{Server}} -\subsubsection[{free\-R\-A\-M}]{\setlength{\rightskip}{0pt plus 5cm}void Server\-::free\-R\-A\-M ( -\begin{DoxyParamCaption} -\item[{list$<$ pthread\-\_\-t $\ast$ $>$ $\ast$}]{thread\-List} -\end{DoxyParamCaption} -)}}\label{class_server_a018bee9f1e342d9f349765187d89becd} - - -Método para liberar memória de threads. - -Este método se llama para que libere la memoria de todos los threads que se le proporcionan por argumento -\begin{DoxyParams}{Parámetros} -{\em thread\-List} & Contenedor con los threads a liberar \\ -\hline -\end{DoxyParams} -\hypertarget{class_server_acf13ac1f7fc49f28c1b1fa76eab209ab}{\index{Server@{Server}!get\-N\-Workers@{get\-N\-Workers}} -\index{get\-N\-Workers@{get\-N\-Workers}!Server@{Server}} -\subsubsection[{get\-N\-Workers}]{\setlength{\rightskip}{0pt plus 5cm}int Server\-::get\-N\-Workers ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}}\label{class_server_acf13ac1f7fc49f28c1b1fa76eab209ab} - - -Getter del número de threads activos. - -Devuelve el número de threads activos en ese instante, por tanto, del número de conexiones que están siendo atendidas. \hypertarget{class_server_a0622813f3b675ab661d5f628cec03d30}{\index{Server@{Server}!get\-Started\-Threads@{get\-Started\-Threads}} -\index{get\-Started\-Threads@{get\-Started\-Threads}!Server@{Server}} -\subsubsection[{get\-Started\-Threads}]{\setlength{\rightskip}{0pt plus 5cm}list$<$ pthread\-\_\-t $\ast$ $>$ $\ast$ Server\-::get\-Started\-Threads ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}}\label{class_server_a0622813f3b675ab661d5f628cec03d30} - - -Getter de la pila de threads activos. - -Devuelve un contenedor con la lista de threads que estan activos, para terminarlos en caso de que el programa finalice prematuramente \hypertarget{class_server_a81289d4e58dec18dd01e343c7f397c1e}{\index{Server@{Server}!get\-Stopped\-Threads@{get\-Stopped\-Threads}} -\index{get\-Stopped\-Threads@{get\-Stopped\-Threads}!Server@{Server}} -\subsubsection[{get\-Stopped\-Threads}]{\setlength{\rightskip}{0pt plus 5cm}list$<$ pthread\-\_\-t $\ast$ $>$ $\ast$ Server\-::get\-Stopped\-Threads ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}}\label{class_server_a81289d4e58dec18dd01e343c7f397c1e} - - -Getter de la pila de threads terminados. - -Devuelve un contenedor con la lista de threads que han terminado, para poder liberar la memoria que se le ha asignado \hypertarget{class_server_a74769349252c1ad61717b156e42d61d3}{\index{Server@{Server}!request\-Exit@{request\-Exit}} -\index{request\-Exit@{request\-Exit}!Server@{Server}} -\subsubsection[{request\-Exit}]{\setlength{\rightskip}{0pt plus 5cm}void Server\-::request\-Exit ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}}\label{class_server_a74769349252c1ad61717b156e42d61d3} - - -Método para terminar el servidor. - -Este método inicia la secuencia de finalización del servidor \hypertarget{class_server_a0090663c66f1f371f8b1aa87c5f49623}{\index{Server@{Server}!set\-N\-Workers@{set\-N\-Workers}} -\index{set\-N\-Workers@{set\-N\-Workers}!Server@{Server}} -\subsubsection[{set\-N\-Workers}]{\setlength{\rightskip}{0pt plus 5cm}void Server\-::set\-N\-Workers ( -\begin{DoxyParamCaption} -\item[{int}]{n} -\end{DoxyParamCaption} -)}}\label{class_server_a0090663c66f1f371f8b1aa87c5f49623} - - -Setter del número de threads activos. - -Establece el número de threads activos, para poder cambiarlo cuando alguno de los threads activos finaliza -\begin{DoxyParams}{Parámetros} -{\em n} & Nuevo número de threads activos \\ -\hline -\end{DoxyParams} -\hypertarget{class_server_aef89851f83a9bbe4459c46b6c7906e1f}{\index{Server@{Server}!start\-Server@{start\-Server}} -\index{start\-Server@{start\-Server}!Server@{Server}} -\subsubsection[{start\-Server}]{\setlength{\rightskip}{0pt plus 5cm}void Server\-::start\-Server ( -\begin{DoxyParamCaption} -\item[{string}]{i, } -\item[{int}]{p} -\end{DoxyParamCaption} -)}}\label{class_server_aef89851f83a9bbe4459c46b6c7906e1f} - - -Método de inicialización del servidor. - -Incializa el servidor en el puerto e I\-P especificados para empezar a recibir conexiones entrantes -\begin{DoxyParams}{Parámetros} -{\em i} & I\-P donde se aceptan las conexiones \\ -\hline -{\em p} & Puerto donde se aceptan las conexiones \\ -\hline -\end{DoxyParams} - - -\subsection{Documentación de los datos miembro} -\hypertarget{class_server_a690955b1e335072c061df67014a6e698}{\index{Server@{Server}!n\-Workers@{n\-Workers}} -\index{n\-Workers@{n\-Workers}!Server@{Server}} -\subsubsection[{n\-Workers}]{\setlength{\rightskip}{0pt plus 5cm}int Server\-::n\-Workers\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_a690955b1e335072c061df67014a6e698} - - -Contador de threads. - -Esta variable se encarga de mantener la cuenta de threads activos, por tanto, el número de conexiones que estan siendo antendidas simultáneamente. \hypertarget{class_server_aa9231b38adc787954a13f04372de8ed2}{\index{Server@{Server}!shutdown\-Server@{shutdown\-Server}} -\index{shutdown\-Server@{shutdown\-Server}!Server@{Server}} -\subsubsection[{shutdown\-Server}]{\setlength{\rightskip}{0pt plus 5cm}bool Server\-::shutdown\-Server\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_aa9231b38adc787954a13f04372de8ed2} - - -Variable de apagado. - -Esta variable controla el apagado del servidor, al ponerla a true, la siguiente iteración del bucle que atiende las conexiones no se producirá y el programa terminará. \hypertarget{class_server_af9e1a6848bdd627741b85e75777e3b45}{\index{Server@{Server}!ss@{ss}} -\index{ss@{ss}!Server@{Server}} -\subsubsection[{ss}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Socket} Server\-::ss\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_af9e1a6848bdd627741b85e75777e3b45} - - -\hyperlink{class_socket}{Socket} de comunicación. - -Esta variable contiene el objeto de la clase \hyperlink{class_socket}{Socket} que la aplicación servidor usa para poder atender las peticiones. Su función es quedarse escuchando el el puerto e I\-P introducidas en el fichero de configuración y crear un objeto de la clase \hyperlink{class_socket}{Socket} para cada petición de cada cliente nuevo, siendo este último objeto creado el que se usa para la comuncación. \hypertarget{class_server_a40fdc13e227f651943e0aa3757824396}{\index{Server@{Server}!started\-Threads@{started\-Threads}} -\index{started\-Threads@{started\-Threads}!Server@{Server}} -\subsubsection[{started\-Threads}]{\setlength{\rightskip}{0pt plus 5cm}list$<$pthread\-\_\-t$\ast$$>$ Server\-::started\-Threads\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_a40fdc13e227f651943e0aa3757824396} - - -Pila de threads empezados. - -Esta variable contiene una lista de threads que han empezado su ejecución. Si el programa finalizara prematuramente, se liberarían los punteros de los threads almacenados en esta pila. - -{\bfseries N\-O\-T\-A\-: No se liberará la memoria asignada a los argumentos de los threads, dando lugar a memory leaks; sin embargo, esto se produciria al finalizar el programa, por tanto no es relevante.} \hypertarget{class_server_a36a18616b526f3053a1036641a62cb0a}{\index{Server@{Server}!stopped\-Threads@{stopped\-Threads}} -\index{stopped\-Threads@{stopped\-Threads}!Server@{Server}} -\subsubsection[{stopped\-Threads}]{\setlength{\rightskip}{0pt plus 5cm}list$<$pthread\-\_\-t$\ast$$>$ Server\-::stopped\-Threads\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_a36a18616b526f3053a1036641a62cb0a} - - -Pila de threads terminados. - -Esta variable contiene una lista de threads que han finalizado su ejecución. A cada iteración del bucle que atiende conexiones, se libera toda la memoria de los threads que hay almacenados aquí. \hypertarget{class_server_ae10d91b60157ccfcc06cc463e8443007}{\index{Server@{Server}!worker\-I\-D@{worker\-I\-D}} -\index{worker\-I\-D@{worker\-I\-D}!Server@{Server}} -\subsubsection[{worker\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}int Server\-::worker\-I\-D\hspace{0.3cm}{\ttfamily [private]}}}\label{class_server_ae10d91b60157ccfcc06cc463e8443007} - - -Contador de I\-D de thread. - -Esta variable contiene el I\-D del próximo thread que se creará, por tanto, indica el número de conexiones que han sido atendidas desde el inicio del servidor - -La documentación para esta clase fue generada a partir de los siguientes ficheros\-:\begin{DoxyCompactItemize} -\item -/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\hyperlink{server_8h}{server.\-h}\item -/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/\hyperlink{server_8cpp}{server.\-cpp}\end{DoxyCompactItemize} diff --git a/Socket/doc/latex/class_socket.tex b/Socket/doc/latex/class_socket.tex deleted file mode 100644 index 361df0f..0000000 --- a/Socket/doc/latex/class_socket.tex +++ /dev/null @@ -1,271 +0,0 @@ -\hypertarget{class_socket}{\section{Referencia de la Clase Socket} -\label{class_socket}\index{Socket@{Socket}} -} - - -Clase del socket. - - - - -{\ttfamily \#include $<$Socket.\-h$>$} - -\subsection*{Métodos públicos} -\begin{DoxyCompactItemize} -\item -\hyperlink{class_socket_a7c3256c4fc6e2c603df73201049fae5a}{Socket} () -\begin{DoxyCompactList}\small\item\em Constructor de la clase \hyperlink{class_socket}{Socket}. \end{DoxyCompactList}\item -void \hyperlink{class_socket_add736ccf41f102910a2b8ac5e77eb8b1}{Create} () -\begin{DoxyCompactList}\small\item\em Método para crear sockets. \end{DoxyCompactList}\item -void \hyperlink{class_socket_afdc52c70cf11911cc1a3c595a7849cf0}{Bind} (string address, int port) -\begin{DoxyCompactList}\small\item\em Método para hacer bind a una dirección y puerto. \end{DoxyCompactList}\item -void \hyperlink{class_socket_a4d476d11854d7acb17b8d196c8171865}{Listen} (int backlog) -\begin{DoxyCompactList}\small\item\em Método para escuchar conexiones. \end{DoxyCompactList}\item -void \hyperlink{class_socket_a25cdd79546b8e7e49f2195208ae6d00c}{Accept} (\hyperlink{class_socket}{Socket} \&client\-Sock) -\begin{DoxyCompactList}\small\item\em Método para aceptar conexiones. \end{DoxyCompactList}\item -void \hyperlink{class_socket_aa1d074c1aa400e8bca7c7da79b036abe}{Connect} (string hostname, int port) -\begin{DoxyCompactList}\small\item\em Método para efectuar conexiones. \end{DoxyCompactList}\item -void \hyperlink{class_socket_a4c8ced9a8ce58834191b3b4f2033b173}{Close} () -\begin{DoxyCompactList}\small\item\em Método para cerrar sockets. \end{DoxyCompactList}\item -int \hyperlink{class_socket_abc14da0faa1d00fe361eeede1b3cda4a}{get\-Sock} () -\begin{DoxyCompactList}\small\item\em Getter para el file descriptor del socket. \end{DoxyCompactList}\item -const \hyperlink{class_socket}{Socket} \& \hyperlink{class_socket_a5beab0c84c933510a53126f786cff6de}{operator$<$$<$} (const string \&) -\begin{DoxyCompactList}\small\item\em Método para enviar mensajes. \end{DoxyCompactList}\item -const \hyperlink{class_socket}{Socket} \& \hyperlink{class_socket_ab6b2dffea36c60c53f8d5e539f1cf000}{operator$>$$>$} (string \&) -\begin{DoxyCompactList}\small\item\em Método para recibir mensajes. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Métodos privados} -\begin{DoxyCompactItemize} -\item -int \hyperlink{class_socket_aa1a8b143bb2adf57934156d9e33b8611}{Receive} (char $\ast$buff, int length) -\begin{DoxyCompactList}\small\item\em Método para recibir un mensaje de longitud conocida. \end{DoxyCompactList}\item -int \hyperlink{class_socket_a4c4ecb88d5587177899198861d29d3dd}{Send} (const char $\ast$buff, int length) -\begin{DoxyCompactList}\small\item\em Método para enviar un mensaje de longitud conocida. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Atributos privados} -\begin{DoxyCompactItemize} -\item -int \hyperlink{class_socket_a231ddf6e338a86640e26808b83efeaa1}{sock} -\begin{DoxyCompactList}\small\item\em Descriptor del fichero del socket. \end{DoxyCompactList}\item -struct sockaddr\-\_\-in \hyperlink{class_socket_ae4d80b83c327ed835b5f4575a499a400}{sock\-Addr} -\begin{DoxyCompactList}\small\item\em Estructura de dirección de socket. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Descripción detallada} -Clase del socket. - -Esta clase define un objeto con los métodos y atributos necesarios para realizar comunicación encriptada o en texto llano a través de un socket T\-C\-P/\-I\-P en un entorno U\-N\-I\-X abstrayendo la implementación de sockets y de encriptación al programador. - -\subsection{Documentación del constructor y destructor} -\hypertarget{class_socket_a7c3256c4fc6e2c603df73201049fae5a}{\index{Socket@{Socket}!Socket@{Socket}} -\index{Socket@{Socket}!Socket@{Socket}} -\subsubsection[{Socket}]{\setlength{\rightskip}{0pt plus 5cm}Socket\-::\-Socket ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}}\label{class_socket_a7c3256c4fc6e2c603df73201049fae5a} - - -Constructor de la clase \hyperlink{class_socket}{Socket}. - -Inicializa el file descriptor del socket y prepara la memoria donde se almacenarán las llaves públicas. - -\subsection{Documentación de las funciones miembro} -\hypertarget{class_socket_a25cdd79546b8e7e49f2195208ae6d00c}{\index{Socket@{Socket}!Accept@{Accept}} -\index{Accept@{Accept}!Socket@{Socket}} -\subsubsection[{Accept}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Accept ( -\begin{DoxyParamCaption} -\item[{{\bf Socket} \&}]{client\-Sock} -\end{DoxyParamCaption} -)}}\label{class_socket_a25cdd79546b8e7e49f2195208ae6d00c} - - -Método para aceptar conexiones. - -Este método bloquea el thread que lo ejecuta hasta que recibe una conexión entrante, que almacena como instancia de la clase \hyperlink{class_socket}{Socket} en la referencia proporcionada por argumento. -\begin{DoxyParams}{Parámetros} -{\em client\-Sock} & Instáncia de \hyperlink{class_socket}{Socket} que comunica con el cliente entrante \\ -\hline -\end{DoxyParams} -\hypertarget{class_socket_afdc52c70cf11911cc1a3c595a7849cf0}{\index{Socket@{Socket}!Bind@{Bind}} -\index{Bind@{Bind}!Socket@{Socket}} -\subsubsection[{Bind}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Bind ( -\begin{DoxyParamCaption} -\item[{string}]{address, } -\item[{int}]{port} -\end{DoxyParamCaption} -)}}\label{class_socket_afdc52c70cf11911cc1a3c595a7849cf0} - - -Método para hacer bind a una dirección y puerto. - -Este método asigna el socket a una dirección I\-P (y por tanto, a una interfaz de red en concreto) y un puerto, para que posteriormente actúe de servidor escuchando conexiones. -\begin{DoxyParams}{Parámetros} -{\em address} & Dirección I\-P asignada \\ -\hline -{\em port} & Puerto asignado \\ -\hline -\end{DoxyParams} -\hypertarget{class_socket_a4c8ced9a8ce58834191b3b4f2033b173}{\index{Socket@{Socket}!Close@{Close}} -\index{Close@{Close}!Socket@{Socket}} -\subsubsection[{Close}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Close ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}}\label{class_socket_a4c8ced9a8ce58834191b3b4f2033b173} - - -Método para cerrar sockets. - -Este método cierra el socket para que no se pueda escribir ni leer más en él, para liberarlo del kernel y terminar la conexión T\-C\-P. \hypertarget{class_socket_aa1d074c1aa400e8bca7c7da79b036abe}{\index{Socket@{Socket}!Connect@{Connect}} -\index{Connect@{Connect}!Socket@{Socket}} -\subsubsection[{Connect}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Connect ( -\begin{DoxyParamCaption} -\item[{string}]{hostname, } -\item[{int}]{port} -\end{DoxyParamCaption} -)}}\label{class_socket_aa1d074c1aa400e8bca7c7da79b036abe} - - -Método para efectuar conexiones. - -Este método sirve a los sockets que actúan como cliente para poder efectuar conexiones a otro socket que esté escuchando en la dirección y puerto especificados y atienda conexiones. -\begin{DoxyParams}{Parámetros} -{\em hostname} & Hostname al que conectarse \\ -\hline -{\em port} & Puerto al que conectarse \\ -\hline -\end{DoxyParams} -\hypertarget{class_socket_add736ccf41f102910a2b8ac5e77eb8b1}{\index{Socket@{Socket}!Create@{Create}} -\index{Create@{Create}!Socket@{Socket}} -\subsubsection[{Create}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Create ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}}\label{class_socket_add736ccf41f102910a2b8ac5e77eb8b1} - - -Método para crear sockets. - -Crea un file descriptor para un socket que por defecto no está conectado ni asignado a ninguna dirección. \hypertarget{class_socket_abc14da0faa1d00fe361eeede1b3cda4a}{\index{Socket@{Socket}!get\-Sock@{get\-Sock}} -\index{get\-Sock@{get\-Sock}!Socket@{Socket}} -\subsubsection[{get\-Sock}]{\setlength{\rightskip}{0pt plus 5cm}int Socket\-::get\-Sock ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}}\label{class_socket_abc14da0faa1d00fe361eeede1b3cda4a} - - -Getter para el file descriptor del socket. - -Este método devuelve el file descriptor del socket. \hypertarget{class_socket_a4d476d11854d7acb17b8d196c8171865}{\index{Socket@{Socket}!Listen@{Listen}} -\index{Listen@{Listen}!Socket@{Socket}} -\subsubsection[{Listen}]{\setlength{\rightskip}{0pt plus 5cm}void Socket\-::\-Listen ( -\begin{DoxyParamCaption} -\item[{int}]{backlog} -\end{DoxyParamCaption} -)}}\label{class_socket_a4d476d11854d7acb17b8d196c8171865} - - -Método para escuchar conexiones. - -Este método configura el socket para que se ponga en modo escucha y así pueda atender conexiones entrantes. -\begin{DoxyParams}{Parámetros} -{\em backlog} & Número máximo de conexiones {\bfseries en espera} \\ -\hline -\end{DoxyParams} -\hypertarget{class_socket_a5beab0c84c933510a53126f786cff6de}{\index{Socket@{Socket}!operator$<$$<$@{operator$<$$<$}} -\index{operator$<$$<$@{operator$<$$<$}!Socket@{Socket}} -\subsubsection[{operator$<$$<$}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Socket} \& Socket\-::operator$<$$<$ ( -\begin{DoxyParamCaption} -\item[{const string \&}]{text} -\end{DoxyParamCaption} -)}}\label{class_socket_a5beab0c84c933510a53126f786cff6de} - - -Método para enviar mensajes. - -Este método envía el mensaje que se le proporciona a través del \hyperlink{class_socket}{Socket} con o sin encriptación según las \hyperlink{howto_defines}{opciones de compilación} usando el \hyperlink{howto_proto}{protocolo} implementado. -\begin{DoxyParams}{Parámetros} -{\em text} & Mensaje a enviar \\ -\hline -\end{DoxyParams} -\hypertarget{class_socket_ab6b2dffea36c60c53f8d5e539f1cf000}{\index{Socket@{Socket}!operator$>$$>$@{operator$>$$>$}} -\index{operator$>$$>$@{operator$>$$>$}!Socket@{Socket}} -\subsubsection[{operator$>$$>$}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Socket} \& Socket\-::operator$>$$>$ ( -\begin{DoxyParamCaption} -\item[{std\-::string \&}]{text} -\end{DoxyParamCaption} -)}}\label{class_socket_ab6b2dffea36c60c53f8d5e539f1cf000} - - -Método para recibir mensajes. - -Este método recibe un mensaje de longitud arbitrária con o sin encriptación según las \hyperlink{howto_defines}{opciones de compilación} usando el \hyperlink{howto_proto}{protocolo} implementado. -\begin{DoxyParams}{Parámetros} -{\em text} & Mensaje a recibir \\ -\hline -\end{DoxyParams} -\hypertarget{class_socket_aa1a8b143bb2adf57934156d9e33b8611}{\index{Socket@{Socket}!Receive@{Receive}} -\index{Receive@{Receive}!Socket@{Socket}} -\subsubsection[{Receive}]{\setlength{\rightskip}{0pt plus 5cm}int Socket\-::\-Receive ( -\begin{DoxyParamCaption} -\item[{char $\ast$}]{buff, } -\item[{int}]{length} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_socket_aa1a8b143bb2adf57934156d9e33b8611} - - -Método para recibir un mensaje de longitud conocida. - -Este método se usa para recibir un mensaje de la longitud que se especifica por argumento y almacenarlo en el buffer proporcionado. - -{\itshape Este método garantiza que todo el mensaje se recibirá entero aunque la red no admita una longitud de paquete tan grande.} -\begin{DoxyParams}{Parámetros} -{\em buff} & Buffer donde se almacena el mensaje recibido \\ -\hline -{\em length} & Longitud del mensaje a recibir \\ -\hline -\end{DoxyParams} -\hypertarget{class_socket_a4c4ecb88d5587177899198861d29d3dd}{\index{Socket@{Socket}!Send@{Send}} -\index{Send@{Send}!Socket@{Socket}} -\subsubsection[{Send}]{\setlength{\rightskip}{0pt plus 5cm}int Socket\-::\-Send ( -\begin{DoxyParamCaption} -\item[{const char $\ast$}]{buff, } -\item[{int}]{length} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_socket_a4c4ecb88d5587177899198861d29d3dd} - - -Método para enviar un mensaje de longitud conocida. - -Este método se usa para enviar un mensaje de la longitud especifidada en el argumento y devuelve el número de bytes enviados. - -{\itshape Este método garantiza que todo el mensaje se enviará entero aunque la red no admita una longitud de paquete tan grande.} -\begin{DoxyParams}{Parámetros} -{\em buff} & Buffer con el mensaje a enviar \\ -\hline -{\em length} & Longitud del mensaje \\ -\hline -\end{DoxyParams} - - -\subsection{Documentación de los datos miembro} -\hypertarget{class_socket_a231ddf6e338a86640e26808b83efeaa1}{\index{Socket@{Socket}!sock@{sock}} -\index{sock@{sock}!Socket@{Socket}} -\subsubsection[{sock}]{\setlength{\rightskip}{0pt plus 5cm}int Socket\-::sock\hspace{0.3cm}{\ttfamily [private]}}}\label{class_socket_a231ddf6e338a86640e26808b83efeaa1} - - -Descriptor del fichero del socket. - -Esta variable contiene el file descriptor del socket abierto por el S\-O. \hypertarget{class_socket_ae4d80b83c327ed835b5f4575a499a400}{\index{Socket@{Socket}!sock\-Addr@{sock\-Addr}} -\index{sock\-Addr@{sock\-Addr}!Socket@{Socket}} -\subsubsection[{sock\-Addr}]{\setlength{\rightskip}{0pt plus 5cm}struct sockaddr\-\_\-in Socket\-::sock\-Addr\hspace{0.3cm}{\ttfamily [private]}}}\label{class_socket_ae4d80b83c327ed835b5f4575a499a400} - - -Estructura de dirección de socket. - -Este struct es usado por el S\-O para gestionar la dirección del socket abierto. - -La documentación para esta clase fue generada a partir de los siguientes ficheros\-:\begin{DoxyCompactItemize} -\item -/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\hyperlink{_socket_8h}{Socket.\-h}\item -/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/\hyperlink{_socket_8cpp}{Socket.\-cpp}\end{DoxyCompactItemize} diff --git a/Socket/doc/latex/class_socket_exception.tex b/Socket/doc/latex/class_socket_exception.tex deleted file mode 100644 index a24ae1e..0000000 --- a/Socket/doc/latex/class_socket_exception.tex +++ /dev/null @@ -1,86 +0,0 @@ -\hypertarget{class_socket_exception}{\section{Referencia de la Clase Socket\-Exception} -\label{class_socket_exception}\index{Socket\-Exception@{Socket\-Exception}} -} - - -Clase de Excepción de Sockets. - - - - -{\ttfamily \#include $<$Socket\-Exception.\-h$>$} - -\subsection*{Métodos públicos} -\begin{DoxyCompactItemize} -\item -\hyperlink{class_socket_exception_a06573084bad8aca1443281c0970fe033}{Socket\-Exception} (string m) -\begin{DoxyCompactList}\small\item\em Constructor de la clase. \end{DoxyCompactList}\item -\hyperlink{class_socket_exception_a659557c899329aea01977c980c4db9b9}{$\sim$\-Socket\-Exception} () -\item -string \hyperlink{class_socket_exception_ae160a594055812694ac93f7118c4af1c}{description} () -\begin{DoxyCompactList}\small\item\em Getter del atributo message. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Atributos privados} -\begin{DoxyCompactItemize} -\item -string \hyperlink{class_socket_exception_a43f3472f1433552059ffeb9a251a9b76}{message} -\begin{DoxyCompactList}\small\item\em Mensaje asociado a la excepción producida. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Descripción detallada} -Clase de Excepción de Sockets. - -Definición de las excepciones lanzadas por la librería de comunicación T\-C\-P/\-I\-P - -\subsection{Documentación del constructor y destructor} -\hypertarget{class_socket_exception_a06573084bad8aca1443281c0970fe033}{\index{Socket\-Exception@{Socket\-Exception}!Socket\-Exception@{Socket\-Exception}} -\index{Socket\-Exception@{Socket\-Exception}!SocketException@{Socket\-Exception}} -\subsubsection[{Socket\-Exception}]{\setlength{\rightskip}{0pt plus 5cm}Socket\-Exception\-::\-Socket\-Exception ( -\begin{DoxyParamCaption} -\item[{string}]{m} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_socket_exception_a06573084bad8aca1443281c0970fe033} - - -Constructor de la clase. - -Inicializa el mensaje -\begin{DoxyParams}{Parámetros} -{\em m} & Mensaje inicial \\ -\hline -\end{DoxyParams} -\hypertarget{class_socket_exception_a659557c899329aea01977c980c4db9b9}{\index{Socket\-Exception@{Socket\-Exception}!$\sim$\-Socket\-Exception@{$\sim$\-Socket\-Exception}} -\index{$\sim$\-Socket\-Exception@{$\sim$\-Socket\-Exception}!SocketException@{Socket\-Exception}} -\subsubsection[{$\sim$\-Socket\-Exception}]{\setlength{\rightskip}{0pt plus 5cm}Socket\-Exception\-::$\sim$\-Socket\-Exception ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_socket_exception_a659557c899329aea01977c980c4db9b9} - - -\subsection{Documentación de las funciones miembro} -\hypertarget{class_socket_exception_ae160a594055812694ac93f7118c4af1c}{\index{Socket\-Exception@{Socket\-Exception}!description@{description}} -\index{description@{description}!SocketException@{Socket\-Exception}} -\subsubsection[{description}]{\setlength{\rightskip}{0pt plus 5cm}string Socket\-Exception\-::description ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_socket_exception_ae160a594055812694ac93f7118c4af1c} - - -Getter del atributo message. - -Devuelve el mensaje asociado a la excepción producida - -\subsection{Documentación de los datos miembro} -\hypertarget{class_socket_exception_a43f3472f1433552059ffeb9a251a9b76}{\index{Socket\-Exception@{Socket\-Exception}!message@{message}} -\index{message@{message}!SocketException@{Socket\-Exception}} -\subsubsection[{message}]{\setlength{\rightskip}{0pt plus 5cm}string Socket\-Exception\-::message\hspace{0.3cm}{\ttfamily [private]}}}\label{class_socket_exception_a43f3472f1433552059ffeb9a251a9b76} - - -Mensaje asociado a la excepción producida. - - - -La documentación para esta clase fue generada a partir del siguiente fichero\-:\begin{DoxyCompactItemize} -\item -/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\hyperlink{_socket_exception_8h}{Socket\-Exception.\-h}\end{DoxyCompactItemize} diff --git a/Socket/doc/latex/client_8cpp.tex b/Socket/doc/latex/client_8cpp.tex deleted file mode 100644 index 664175c..0000000 --- a/Socket/doc/latex/client_8cpp.tex +++ /dev/null @@ -1,62 +0,0 @@ -\hypertarget{client_8cpp}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/client.cpp} -\label{client_8cpp}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/client.\-cpp@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/client.\-cpp}} -} - - -Fichero de implementación de un cliente. - - -{\ttfamily \#include \char`\"{}Socket.\-h\char`\"{}}\\* -{\ttfamily \#include $<$iostream$>$}\\* -{\ttfamily \#include \char`\"{}Socket\-Exception.\-h\char`\"{}}\\* -{\ttfamily \#include $<$sstream$>$}\\* -{\ttfamily \#include $<$signal.\-h$>$}\\* -{\ttfamily \#include $<$cstdlib$>$}\\* -{\ttfamily \#include $<$sys/time.\-h$>$}\\* -\subsection*{Funciones} -\begin{DoxyCompactItemize} -\item -void \hyperlink{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{exit\-Client} (int signal) -\begin{DoxyCompactList}\small\item\em Método para terminar el cliente. \end{DoxyCompactList}\item -int \hyperlink{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main} () -\begin{DoxyCompactList}\small\item\em Método principal del cliente. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Descripción detallada} -Fichero de implementación de un cliente. \begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -13/06/2013 -\end{DoxyDate} -En este fichero se implementa un cliente para poder usar con el servidor creado, usando la clase \hyperlink{class_socket}{Socket}. - -\subsection{Documentación de las funciones} -\hypertarget{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{\index{client.\-cpp@{client.\-cpp}!exit\-Client@{exit\-Client}} -\index{exit\-Client@{exit\-Client}!client.cpp@{client.\-cpp}} -\subsubsection[{exit\-Client}]{\setlength{\rightskip}{0pt plus 5cm}void exit\-Client ( -\begin{DoxyParamCaption} -\item[{int}]{signal} -\end{DoxyParamCaption} -)}}\label{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba} - - -Método para terminar el cliente. - -Este método se usa para terminar el cliente immediatamente en el caso que el servidor cierre la conexión de forma inesperada, capturando el signal S\-I\-G\-P\-I\-P\-E. -\begin{DoxyParams}{Parámetros} -{\em signal} & Parámetro que captura el signal recibido \\ -\hline -\end{DoxyParams} -\hypertarget{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{\index{client.\-cpp@{client.\-cpp}!main@{main}} -\index{main@{main}!client.cpp@{client.\-cpp}} -\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}}\label{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4} - - -Método principal del cliente. - -Este método inicializa el \hyperlink{class_socket}{Socket}, establece la conexión y realiza las acciones que se le hayan programado para comunicarse con el servidor. \ No newline at end of file diff --git a/Socket/doc/latex/client_8dox.tex b/Socket/doc/latex/client_8dox.tex deleted file mode 100644 index f7f6c8d..0000000 --- a/Socket/doc/latex/client_8dox.tex +++ /dev/null @@ -1,12 +0,0 @@ -\hypertarget{client_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/client.dox} -\label{client_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/client.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/client.\-dox}} -} - - -\subsection{Descripción detallada} -\begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -13/06/2013 -\end{DoxyDate} diff --git a/Socket/doc/latex/client_code.tex b/Socket/doc/latex/client_code.tex deleted file mode 100644 index 762254a..0000000 --- a/Socket/doc/latex/client_code.tex +++ /dev/null @@ -1,46 +0,0 @@ -Ejemplo de aplicación cliente - - -\begin{DoxyCode} -\textcolor{preprocessor}{#include "\hyperlink{_socket_8h}{Socket.h}"} -\textcolor{preprocessor}{#include } -\textcolor{preprocessor}{#include "\hyperlink{_socket_exception_8h}{SocketException.h}"} -\textcolor{preprocessor}{#include } -\textcolor{preprocessor}{#include } -\textcolor{preprocessor}{#include } -\textcolor{preprocessor}{#include } - -\textcolor{keyword}{using namespace }std; - -\textcolor{keywordtype}{void} \hyperlink{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{exitClient}(\textcolor{keywordtype}{int} signal) -\{ - cout << \textcolor{stringliteral}{"Server connection terminated unexpectedly"} << endl << \textcolor{stringliteral}{"Exiting"} << endl; - exit(-1); -\} - -\textcolor{keywordtype}{int} \hyperlink{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main}() -\{ - signal(SIGPIPE, \hyperlink{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{exitClient}); - signal(SIGINT, \hyperlink{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{exitClient}); - \hyperlink{class_socket}{Socket} s; - \textcolor{keywordtype}{string} send, recv, host; - \textcolor{keywordtype}{int} port; - s.\hyperlink{class_socket_add736ccf41f102910a2b8ac5e77eb8b1}{Create}(); - cout << \textcolor{stringliteral}{"Created socket"} << endl; - cout << \textcolor{stringliteral}{"Hostname: "}; - cin >> host; - cout << \textcolor{stringliteral}{"Port: "}; - cin >> port; - cin.ignore(); - s.\hyperlink{class_socket_aa1d074c1aa400e8bca7c7da79b036abe}{Connect}(host,port); - cout << \textcolor{stringliteral}{"Connected"} << endl; - \textcolor{keywordflow}{while}(\textcolor{keyword}{true}) - \{ - cout << \textcolor{stringliteral}{"> "}; - getline(cin,send); - s >> recv; - cout << \textcolor{stringliteral}{"Received: "} << recv << endl; - \} -\} -\end{DoxyCode} - \ No newline at end of file diff --git a/Socket/doc/latex/conf.tex b/Socket/doc/latex/conf.tex deleted file mode 100644 index 3151ee6..0000000 --- a/Socket/doc/latex/conf.tex +++ /dev/null @@ -1,22 +0,0 @@ -Descripción de la sintaxis y parámetros del fichero de configuración - -\begin{DoxyVerb} A continuación se detalla el uso del fichero de configuración del servidor. -

-\end{DoxyVerb} - \hypertarget{conf_sintax}{}\section{Sintáxis}\label{conf_sintax} -La sintaxis es muy sencilla\-: - -\begin{DoxyVerb}PARÁMETRO=VALOR \end{DoxyVerb} - \begin{DoxyVerb} donde pueden ser espacios, tabulaciones o saltos de línea. -
-\end{DoxyVerb} - \hypertarget{conf_params}{}\section{Parámetros}\label{conf_params} -A continuación se detallan los posibles parámetros y qué valores aceptan. \par - \hypertarget{conf_bind}{}\subsection{bind-\/ip}\label{conf_bind} -Contiene la dirección I\-P que será asigada al \hyperlink{class_socket}{Socket} del servidor, por tanto, la dirección donde escuchará conexiones. Acepta un string del tipo W.\-X.\-Y.\-Z donde W,X,Y,Z son números de 0 a 255. \hypertarget{conf_portnum}{}\subsection{port}\label{conf_portnum} -El puerto donde el servidor acepta conexiones. Acepta un número de 1 a 65535. \par - \par - \par - \hypertarget{conf_examples-conf}{}\section{Ejemplos}\label{conf_examples-conf} -{\ttfamily bind-\/ip = 127.\-0.\-0.\-1 \par -port = 3001 } \ No newline at end of file diff --git a/Socket/doc/latex/conf_8dox.tex b/Socket/doc/latex/conf_8dox.tex deleted file mode 100644 index b4a8abb..0000000 --- a/Socket/doc/latex/conf_8dox.tex +++ /dev/null @@ -1,12 +0,0 @@ -\hypertarget{conf_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/conf.dox} -\label{conf_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/conf.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/conf.\-dox}} -} - - -\subsection{Descripción detallada} -\begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -13/06/2013 -\end{DoxyDate} diff --git a/Socket/doc/latex/dir_09c6c7003a5a6c451627316e32d323da.tex b/Socket/doc/latex/dir_09c6c7003a5a6c451627316e32d323da.tex deleted file mode 100644 index 4e074f8..0000000 --- a/Socket/doc/latex/dir_09c6c7003a5a6c451627316e32d323da.tex +++ /dev/null @@ -1,19 +0,0 @@ -\hypertarget{dir_09c6c7003a5a6c451627316e32d323da}{\section{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src} -\label{dir_09c6c7003a5a6c451627316e32d323da}\index{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src@{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src}} -} -\subsection*{Directorios} -\begin{DoxyCompactItemize} -\item -directorio \hyperlink{dir_b94371269b479bae3e8fa897a2ece63e}{include} -\end{DoxyCompactItemize} -\subsection*{Archivos} -\begin{DoxyCompactItemize} -\item -archivo \hyperlink{client_8cpp}{client.\-cpp} -\begin{DoxyCompactList}\small\item\em Fichero de implementación de un cliente. \end{DoxyCompactList}\item -archivo \hyperlink{main__server_8cpp}{main\-\_\-server.\-cpp} -\begin{DoxyCompactList}\small\item\em Implementación del servidor. \end{DoxyCompactList}\item -archivo \hyperlink{server_8cpp}{server.\-cpp} -\begin{DoxyCompactList}\small\item\em Fichero de implementación de la clase \hyperlink{class_server}{Server}. \end{DoxyCompactList}\item -archivo \hyperlink{_socket_8cpp}{Socket.\-cpp} -\begin{DoxyCompactList}\small\item\em Fichero de implementación de la clase \hyperlink{class_socket}{Socket}. \end{DoxyCompactList}\end{DoxyCompactItemize} diff --git a/Socket/doc/latex/dir_75b82e7e4a5feb05200b9ad7adf06257.tex b/Socket/doc/latex/dir_75b82e7e4a5feb05200b9ad7adf06257.tex deleted file mode 100644 index 5fd4d99..0000000 --- a/Socket/doc/latex/dir_75b82e7e4a5feb05200b9ad7adf06257.tex +++ /dev/null @@ -1,8 +0,0 @@ -\hypertarget{dir_75b82e7e4a5feb05200b9ad7adf06257}{\section{Referencia del directorio /home} -\label{dir_75b82e7e4a5feb05200b9ad7adf06257}\index{Referencia del directorio /home@{Referencia del directorio /home}} -} -\subsection*{Directorios} -\begin{DoxyCompactItemize} -\item -directorio \hyperlink{dir_ade356989cf64bc7da597536eeab2615}{imanol} -\end{DoxyCompactItemize} diff --git a/Socket/doc/latex/dir_86dc413d07e0b16a37ceb0e2a17fed53.tex b/Socket/doc/latex/dir_86dc413d07e0b16a37ceb0e2a17fed53.tex deleted file mode 100644 index 9a82ee6..0000000 --- a/Socket/doc/latex/dir_86dc413d07e0b16a37ceb0e2a17fed53.tex +++ /dev/null @@ -1,8 +0,0 @@ -\hypertarget{dir_86dc413d07e0b16a37ceb0e2a17fed53}{\section{Referencia del directorio /home/imanol/devel/eclipse} -\label{dir_86dc413d07e0b16a37ceb0e2a17fed53}\index{Referencia del directorio /home/imanol/devel/eclipse@{Referencia del directorio /home/imanol/devel/eclipse}} -} -\subsection*{Directorios} -\begin{DoxyCompactItemize} -\item -directorio \hyperlink{dir_c63cc34e984e21a69fd262eeef6a5cbb}{P\-A\-D} -\end{DoxyCompactItemize} diff --git a/Socket/doc/latex/dir_8f7199732ad0be50edd1dbedbf9226de.tex b/Socket/doc/latex/dir_8f7199732ad0be50edd1dbedbf9226de.tex deleted file mode 100644 index 3256961..0000000 --- a/Socket/doc/latex/dir_8f7199732ad0be50edd1dbedbf9226de.tex +++ /dev/null @@ -1,8 +0,0 @@ -\hypertarget{dir_8f7199732ad0be50edd1dbedbf9226de}{\section{Referencia del directorio /home/imanol/devel} -\label{dir_8f7199732ad0be50edd1dbedbf9226de}\index{Referencia del directorio /home/imanol/devel@{Referencia del directorio /home/imanol/devel}} -} -\subsection*{Directorios} -\begin{DoxyCompactItemize} -\item -directorio \hyperlink{dir_86dc413d07e0b16a37ceb0e2a17fed53}{eclipse} -\end{DoxyCompactItemize} diff --git a/Socket/doc/latex/dir_ade356989cf64bc7da597536eeab2615.tex b/Socket/doc/latex/dir_ade356989cf64bc7da597536eeab2615.tex deleted file mode 100644 index 0cdb3f7..0000000 --- a/Socket/doc/latex/dir_ade356989cf64bc7da597536eeab2615.tex +++ /dev/null @@ -1,8 +0,0 @@ -\hypertarget{dir_ade356989cf64bc7da597536eeab2615}{\section{Referencia del directorio /home/imanol} -\label{dir_ade356989cf64bc7da597536eeab2615}\index{Referencia del directorio /home/imanol@{Referencia del directorio /home/imanol}} -} -\subsection*{Directorios} -\begin{DoxyCompactItemize} -\item -directorio \hyperlink{dir_8f7199732ad0be50edd1dbedbf9226de}{devel} -\end{DoxyCompactItemize} diff --git a/Socket/doc/latex/dir_b94371269b479bae3e8fa897a2ece63e.tex b/Socket/doc/latex/dir_b94371269b479bae3e8fa897a2ece63e.tex deleted file mode 100644 index 9094616..0000000 --- a/Socket/doc/latex/dir_b94371269b479bae3e8fa897a2ece63e.tex +++ /dev/null @@ -1,12 +0,0 @@ -\hypertarget{dir_b94371269b479bae3e8fa897a2ece63e}{\section{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include} -\label{dir_b94371269b479bae3e8fa897a2ece63e}\index{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include@{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include}} -} -\subsection*{Archivos} -\begin{DoxyCompactItemize} -\item -archivo \hyperlink{server_8h}{server.\-h} -\begin{DoxyCompactList}\small\item\em Header de la clase \hyperlink{class_server}{Server}. \end{DoxyCompactList}\item -archivo \hyperlink{_socket_8h}{Socket.\-h} -\begin{DoxyCompactList}\small\item\em Header de la clase \hyperlink{class_socket}{Socket}. \end{DoxyCompactList}\item -archivo \hyperlink{_socket_exception_8h}{Socket\-Exception.\-h} -\begin{DoxyCompactList}\small\item\em Header de excepción de Sockets. \end{DoxyCompactList}\end{DoxyCompactItemize} diff --git a/Socket/doc/latex/dir_c63cc34e984e21a69fd262eeef6a5cbb.tex b/Socket/doc/latex/dir_c63cc34e984e21a69fd262eeef6a5cbb.tex deleted file mode 100644 index 1c6d853..0000000 --- a/Socket/doc/latex/dir_c63cc34e984e21a69fd262eeef6a5cbb.tex +++ /dev/null @@ -1,8 +0,0 @@ -\hypertarget{dir_c63cc34e984e21a69fd262eeef6a5cbb}{\section{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D} -\label{dir_c63cc34e984e21a69fd262eeef6a5cbb}\index{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D@{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D}} -} -\subsection*{Directorios} -\begin{DoxyCompactItemize} -\item -directorio \hyperlink{dir_d340535e561321e2c4ccf1a3f2b14fb9}{Socket} -\end{DoxyCompactItemize} diff --git a/Socket/doc/latex/dir_d340535e561321e2c4ccf1a3f2b14fb9.tex b/Socket/doc/latex/dir_d340535e561321e2c4ccf1a3f2b14fb9.tex deleted file mode 100644 index 2afd033..0000000 --- a/Socket/doc/latex/dir_d340535e561321e2c4ccf1a3f2b14fb9.tex +++ /dev/null @@ -1,8 +0,0 @@ -\hypertarget{dir_d340535e561321e2c4ccf1a3f2b14fb9}{\section{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket} -\label{dir_d340535e561321e2c4ccf1a3f2b14fb9}\index{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket@{Referencia del directorio /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket}} -} -\subsection*{Directorios} -\begin{DoxyCompactItemize} -\item -directorio \hyperlink{dir_09c6c7003a5a6c451627316e32d323da}{src} -\end{DoxyCompactItemize} diff --git a/Socket/doc/latex/doxygen.sty b/Socket/doc/latex/doxygen.sty deleted file mode 100644 index b9babd2..0000000 --- a/Socket/doc/latex/doxygen.sty +++ /dev/null @@ -1,484 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{doxygen} - -% Packages used by this style file -\RequirePackage{alltt} -\RequirePackage{array} -\RequirePackage{calc} -\RequirePackage{color} -\RequirePackage{fancyhdr} -\RequirePackage{longtable} -\RequirePackage{verbatim} -\RequirePackage{ifthen} -\RequirePackage{xtab} -\RequirePackage{multirow} -\RequirePackage[table]{xcolor} - -% Use helvetica font instead of times roman -\RequirePackage{helvet} -\RequirePackage{sectsty} -\RequirePackage{tocloft} -\providecommand{\rmdefault}{phv} -\providecommand{\bfdefault}{bc} - - -% Setup fancy headings -\pagestyle{fancyplain} -\newcommand{\clearemptydoublepage}{% - \newpage{\pagestyle{empty}\cleardoublepage}% -} -\renewcommand{\chaptermark}[1]{% - \markboth{#1}{}% -} -\renewcommand{\sectionmark}[1]{% - \markright{\thesection\ #1}% -} -\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} -\fancyhead[CE]{\fancyplain{}{}} -\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} -\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} -\fancyhead[CO]{\fancyplain{}{}} -\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} -\fancyfoot[LE]{\fancyplain{}{}} -\fancyfoot[CE]{\fancyplain{}{}} -\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generado el Martes, 26 de Noviembre de 2013 11\-:34\-:23 para Socket por Doxygen }} -\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generado el Martes, 26 de Noviembre de 2013 11\-:34\-:23 para Socket por Doxygen }} -\fancyfoot[CO]{\fancyplain{}{}} -\fancyfoot[RO]{\fancyplain{}{}} -%---------- Internal commands used in this style file ---------------- - -\newcommand\tabfill[1]{% - \dimen@\linewidth% - \advance\dimen@\@totalleftmargin% - \advance\dimen@-\dimen\@curtab% - \parbox[t]\dimen@{\raggedright #1\ifhmode\strut\fi}% -} - -\newcommand{\ensurespace}[1]{% - \begingroup - \setlength{\dimen@}{#1}% - \vskip\z@\@plus\dimen@ - \penalty -100\vskip\z@\@plus -\dimen@ - \vskip\dimen@ - \penalty 9999% - \vskip -\dimen@ - \vskip\z@skip % hide the previous |\vskip| from |\addvspace| - \endgroup -} - -% Generic environment used by all paragraph-based environments defined -% below. Note that the command \title{...} needs to be defined inside -% those environments! -\newenvironment{DoxyDesc}[1]{% - \ensurespace{4\baselineskip}% - \begin{list}{}% - {% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -%---------- Commands used by doxygen LaTeX output generator ---------- - -% Used by
 ... 
-\newenvironment{DoxyPre}{% - \small% - \begin{alltt}% -}{% - \end{alltt}% - \normalsize% -} - -% Used by @code ... @endcode -\newenvironment{DoxyCode}{% - - -\begin{scriptsize}\begin{alltt}% -}{% -\end{alltt}\end{scriptsize}% -} - -% Used by @example, @include, @includelineno and @dontinclude -\newenvironment{DoxyCodeInclude}{% - \DoxyCode% -}{% - \endDoxyCode% -} - -% Used by @verbatim ... @endverbatim -\newenvironment{DoxyVerb}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @verbinclude -\newenvironment{DoxyVerbInclude}{% - \DoxyVerb% -}{% - \endDoxyVerb% -} - -% Used by numbered lists (using '-#' or
    ...
) -\newenvironment{DoxyEnumerate}{% - \enumerate% -}{% - \endenumerate% -} - -% Used by bullet lists (using '-', @li, @arg, or
    ...
) -\newenvironment{DoxyItemize}{% - \itemize% -}{% - \enditemize% -} - -% Used by description lists (using
...
) -\newenvironment{DoxyDescription}{% - \description% -}{% - \enddescription% -} - -% Used by @image, @dotfile, and @dot ... @enddot -% (only if caption is specified) -\newenvironment{DoxyImage}{% - \begin{figure}[H]% - \begin{center}% -}{% - \end{center}% - \end{figure}% -} - -% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc -% (only if no caption is specified) -\newenvironment{DoxyImageNoCaption}{% -}{% -} - -% Used by @attention -\newenvironment{DoxyAttention}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @author and @authors -\newenvironment{DoxyAuthor}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @date -\newenvironment{DoxyDate}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @invariant -\newenvironment{DoxyInvariant}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @note -\newenvironment{DoxyNote}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @post -\newenvironment{DoxyPostcond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @pre -\newenvironment{DoxyPrecond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @copyright -\newenvironment{DoxyCopyright}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @remark -\newenvironment{DoxyRemark}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @return -\newenvironment{DoxyReturn}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @since -\newenvironment{DoxySince}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @see -\newenvironment{DoxySeeAlso}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @version -\newenvironment{DoxyVersion}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @warning -\newenvironment{DoxyWarning}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @internal -\newenvironment{DoxyInternal}[1]{% - \paragraph*{#1}% -}{% -} - -% Used by @par and @paragraph -\newenvironment{DoxyParagraph}[1]{% - \begin{list}{}% - {% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -% Used by parameter lists -\newenvironment{DoxyParams}[2][]{% - \begin{DoxyDesc}{#2}% - \item[] \hspace{\fill} \vspace{-40pt}% - \settowidth{\labelwidth}{40pt}% - \setlength{\LTleft}{0pt}% - \setlength{\tabcolsep}{0.01\textwidth}% - \ifthenelse{\equal{#1}{}}% - {\begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.815\textwidth}|}}% - {\ifthenelse{\equal{#1}{1}}% - {\begin{longtable}{|>{\centering}p{0.10\textwidth}|% - >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.685\textwidth}|}}% - {\begin{longtable}{|>{\centering}p{0.10\textwidth}|% - >{\centering\hspace{0pt}}p{0.15\textwidth}|% - >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.515\textwidth}|}}% - }\hline% -}{% - \end{longtable}% - \end{DoxyDesc}% -} - -% Used for fields of simple structs -\newenvironment{DoxyFields}[1]{% - \begin{DoxyDesc}{#1}% - \item[] \hspace{\fill} \vspace{-40pt}% - \settowidth{\labelwidth}{40pt}% - \setlength{\LTleft}{0pt}% - \setlength{\tabcolsep}{0.01\textwidth}% - \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.15\textwidth}|% - p{0.635\textwidth}|}% - \hline% -}{% - \end{longtable}% - \end{DoxyDesc}% -} - -% is used for parameters within a detailed function description -\newenvironment{DoxyParamCaption}{% - \renewcommand{\item}[2][]{##1 {\em ##2}}% - }{% -} - -% Used by return value lists -\newenvironment{DoxyRetVals}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% - \item[] \hspace{\fill} \vspace{-25pt}% - \setlength{\tabcolsep}{0.01\textwidth}% - \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.705\textwidth}|}% - \hline% -}{% - \end{longtable}% - \end{description}% - \end{DoxyDesc}% -} - -% Used by exception lists -\newenvironment{DoxyExceptions}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% - \item[] \hspace{\fill} \vspace{-25pt}% - \definecolor{tableShade}{HTML}{F8F8F8}% - \rowcolors{1}{white}{tableShade}% - \arrayrulecolor{gray}% - \setlength{\tabcolsep}{0.01\textwidth}% - \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.705\textwidth}|}% - \hline% -}{% - \end{longtable}% - \end{description}% - \end{DoxyDesc}% -} - -% Used by template parameter lists -\newenvironment{DoxyTemplParams}[1]{% - \begin{DoxyDesc}{#1}% - \begin{description}% - \item[] \hspace{\fill} \vspace{-25pt}% - \definecolor{tableShade}{HTML}{F8F8F8}% - \rowcolors{1}{white}{tableShade}% - \arrayrulecolor{gray}% - \setlength{\tabcolsep}{0.01\textwidth}% - \begin{longtable}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.705\textwidth}|}% - \hline% -}{% - \end{longtable}% - \end{description}% - \end{DoxyDesc}% -} - -\newcommand{\doxyref}[3]{\textbf{#1} (\textnormal{#2}\,\pageref{#3})} -\newenvironment{DoxyCompactList} -{\begin{list}{}{ - \setlength{\leftmargin}{0.5cm} - \setlength{\itemsep}{0pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \renewcommand{\makelabel}{\hfill}}} -{\end{list}} -\newenvironment{DoxyCompactItemize} -{ - \begin{itemize} - \setlength{\itemsep}{-3pt} - \setlength{\parsep}{0pt} - \setlength{\topsep}{0pt} - \setlength{\partopsep}{0pt} -} -{\end{itemize}} -\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp} -\newlength{\tmplength} -\newenvironment{TabularC}[1] -{ -\setlength{\tmplength} - {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)} - \par\begin{xtabular*}{\linewidth} - {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|} -} -{\end{xtabular*}\par} -\newcommand{\entrylabel}[1]{ - {\parbox[b]{\labelwidth-4pt}{\makebox[0pt][l]{% - \usefont{OT1}{phv}{bc}{n}\color{darkgray}#1}\vspace{1.5\baselineskip}}}} -\newenvironment{Desc} -{\begin{list}{} - { - \settowidth{\labelwidth}{40pt} - \setlength{\leftmargin}{\labelwidth} - \setlength{\parsep}{0pt} - \setlength{\itemsep}{-4pt} - \renewcommand{\makelabel}{\entrylabel} - } -} -{\end{list}} -\newsavebox{\xrefbox} -\newlength{\xreflength} -\newcommand{\xreflabel}[1]{% - \sbox{\xrefbox}{#1}% - \setlength{\xreflength}{\wd\xrefbox}% - \ifthenelse{\xreflength>\labelwidth}{% - \begin{minipage}{\textwidth}% - \setlength{\parindent}{0pt}% - \hangindent=15pt\bfseries #1\vspace{1.2\itemsep}% - \end{minipage}% - }{% - \parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}% - }}% -\newenvironment{DoxyRefList}{% - \begin{list}{}{% - \setlength{\labelwidth}{10pt}% - \setlength{\leftmargin}{\labelwidth}% - \addtolength{\leftmargin}{\labelsep}% - \renewcommand{\makelabel}{\xreflabel}% - }% - }% -{\end{list}} -\newenvironment{DoxyRefDesc}[1] -{\begin{list}{}{% - \renewcommand\makelabel[1]{\textbf{##1}} - \settowidth\labelwidth{\makelabel{#1}} - \setlength\leftmargin{\labelwidth+\labelsep}}} -{\end{list}} -\newenvironment{Indent} - {\begin{list}{}{\setlength{\leftmargin}{0.5cm}} - \item[]\ignorespaces} - {\unskip\end{list}} -\setlength{\parindent}{0cm} -\setlength{\parskip}{0.2cm} -\addtocounter{secnumdepth}{2} -\usepackage[T1]{fontenc} -\makeatletter -\renewcommand{\paragraph}{\@startsection{paragraph}{4}{0ex}% - {-1.0ex}% - {1.0ex}% - {\usefont{OT1}{phv}{bc}{n}\color{darkgray}}} -\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{0ex}% - {-1.0ex}% - {1.0ex}% - {\usefont{OT1}{phv}{bc}{n}\color{darkgray}}} -\makeatother -\allsectionsfont{\usefont{OT1}{phv}{bc}{n}\selectfont\color{darkgray}} -\stepcounter{secnumdepth} -\stepcounter{tocdepth} -\definecolor{comment}{rgb}{0.5,0.0,0.0} -\definecolor{keyword}{rgb}{0.0,0.5,0.0} -\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} -\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} -\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} -\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} -\definecolor{charliteral}{rgb}{0.0,0.5,0.5} -\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} -\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} -\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} -\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} diff --git a/Socket/doc/latex/files.tex b/Socket/doc/latex/files.tex deleted file mode 100644 index 8eada11..0000000 --- a/Socket/doc/latex/files.tex +++ /dev/null @@ -1,10 +0,0 @@ -\section{Lista de archivos} -Lista de todos los archivos con descripciones breves\-:\begin{DoxyCompactList} -\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/\hyperlink{client_8cpp}{client.\-cpp} \\*Fichero de implementación de un cliente }{\pageref{client_8cpp}}{} -\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/\hyperlink{main__server_8cpp}{main\-\_\-server.\-cpp} \\*Implementación del servidor }{\pageref{main__server_8cpp}}{} -\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/\hyperlink{server_8cpp}{server.\-cpp} \\*Fichero de implementación de la clase \hyperlink{class_server}{Server} }{\pageref{server_8cpp}}{} -\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/\hyperlink{_socket_8cpp}{Socket.\-cpp} \\*Fichero de implementación de la clase \hyperlink{class_socket}{Socket} }{\pageref{_socket_8cpp}}{} -\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\hyperlink{server_8h}{server.\-h} \\*Header de la clase \hyperlink{class_server}{Server} }{\pageref{server_8h}}{} -\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\hyperlink{_socket_8h}{Socket.\-h} \\*Header de la clase \hyperlink{class_socket}{Socket} }{\pageref{_socket_8h}}{} -\item\contentsline{section}{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\hyperlink{_socket_exception_8h}{Socket\-Exception.\-h} \\*Header de excepción de Sockets }{\pageref{_socket_exception_8h}}{} -\end{DoxyCompactList} diff --git a/Socket/doc/latex/howto.tex b/Socket/doc/latex/howto.tex deleted file mode 100644 index 767d368..0000000 --- a/Socket/doc/latex/howto.tex +++ /dev/null @@ -1,59 +0,0 @@ -Descripción de funcionamiento y uso de la librería. - -\begin{DoxyVerb} A continuación se desglosan las instrucciones para el desarrollo con esta libería y su posterior uso. -

-\end{DoxyVerb} - \hypertarget{howto_proto}{}\section{Descripción del protocolo}\label{howto_proto} -En las comunicaciones con Sockets hay un problema, es fácil saber la longitud del mensaje que vas a enviar, pero cuesta saber la longitud del mensaje que deseas recibir, ya que la transmisión se puede detener por llegar al fin del mensaje o bien por que hay problemas en la red. - -Los sockets de U\-N\-I\-X nos dan una solución, que es usar llamadas no bloqueantes para recibir el mensaje, es decir\-: Si leo de un socket, y no he llenado el buffer donde guardo los datos que recibo de allí, la aplicación no se bloquea esperando recibir la suficiente cantidad de datos. A su vez, se usan llamadas a la función \href{http://linux.die.net/man/2/select}{\tt select()} para comprovar si hay datos disponibles a para leer o la conexión está terminada. - -Esto requiere uso de la forks e ir haciendo encuesta (polling) al socket, cosa que consume más recursos del sistema. - -Debido a la complejidad añadida que supone hacerlo por esta vía, ya que la librería usa threads que son más ligeros para el sistema y la memoria R\-A\-M; se ha optado por implementar un sencillísimo protocolo de comunicación que no supone gasto de computación y repercute de forma nímia en el rendimiento de la transferencia. - -\par - \hypertarget{howto_plain}{}\subsection{Modo en texto llano}\label{howto_plain} -Este modo transmite los carácteres de texto sin ningún tipo de encriptación, por lo tanto son totalmente visibles para cualquier agente intermedio. Sin embargo, el modo sin encriptación es más rápido y ofrece el doble de velocidad de transferencia aproximadamente. \par - \hypertarget{howto_send}{}\subsection{Envío/\-Recepción de mensajes}\label{howto_send} -El mensaje se transmite de la siguiente forma\-: - - -\begin{DoxyEnumerate} -\item Bob le quiere mandar a Alice un mensaje, primero primero pone el número de carácteres (bytes) que ocupa el mensaje en forma de string terminado con carácter N\-U\-L\-L ('\textbackslash{}0') y lo manda. -\item Bob transmite el mensaje íntegro. -\item Alice lee uno a uno los carácteres del socket hasta encontrar un carácter N\-U\-L\-L ('\textbackslash{}0'), entonces lee lo que ha recibido, que es la longitud del mensaje real. -\item Alice pasa a extraer los N bytes que ha leído que recibiría y obtiene el mensaje final. \par - \par - \par - -\end{DoxyEnumerate}\hypertarget{howto_compile}{}\section{Compilación}\label{howto_compile} -A continuación se detallan las opciones e instrucciones necesarias para compilar esta librería. \par - \hypertarget{howto_defines}{}\subsection{Opciones de compilación}\label{howto_defines} -Los siguientes \#defines establecen la configuración en tiempo de compilación -\begin{DoxyItemize} -\item R\-S\-A\-L\-E\-N\-G\-T\-H \-: La longitud de la llave R\-S\-A que se usará. -\item A\-E\-S\-L\-E\-N\-G\-T\-H \-: La longitud de la llave A\-E\-S que se usará. -\item \hyperlink{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd}{C\-O\-N\-F\-F\-I\-L\-E} \-: La ruta absoluta o relativa al fichero de configuración del servidor (véase\-: \hyperlink{conf}{Fichero de configuración}). -\item P\-U\-B\-L\-I\-C\-K\-E\-Y \-: La ruta absoluta o relativa a la llave pública R\-S\-A. Existe en \hyperlink{server_8h}{server.\-h} y \hyperlink{client_8cpp}{client.\-cpp} -\item P\-R\-I\-V\-A\-T\-E\-K\-E\-Y \-: La ruta absoluta o relativa a la llave pública R\-S\-A. Existe en \hyperlink{server_8h}{server.\-h} y \hyperlink{client_8cpp}{client.\-cpp} \par - -\end{DoxyItemize}\hypertarget{howto_flags}{}\subsection{Flags de compilación y librerías}\label{howto_flags} -Flags de compilación necesarios\-: -\begin{DoxyItemize} -\item -\/\-I/carpeta/con/cabeceras\-\_\-de/crypto++ -\/\-I/carpeta/con/cabeceras/de\-\_\-la/librería/\-Socket -\item -\/\-L/carpeta/con/la\-\_\-librería/crypto++ -\item -\/lcryptopp -\/lpthread -\end{DoxyItemize} - -Véase\-: makefile \par - \par - \par - \hypertarget{howto_examples}{}\section{Ejemplos}\label{howto_examples} -A continuación se detalla el código para programar una aplicación servidor cliente sencilla \par - \hypertarget{howto_server}{}\subsection{Programar un servidor}\label{howto_server} -Véase\-: \hyperlink{client_code}{Client} \par - \hypertarget{howto_client}{}\subsection{Programar un cliente}\label{howto_client} -Véase\-: \hyperlink{server_code}{Server} \par - \par - \ No newline at end of file diff --git a/Socket/doc/latex/howto_8dox.tex b/Socket/doc/latex/howto_8dox.tex deleted file mode 100644 index 15eb3fd..0000000 --- a/Socket/doc/latex/howto_8dox.tex +++ /dev/null @@ -1,12 +0,0 @@ -\hypertarget{howto_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/howto.dox} -\label{howto_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/howto.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/howto.\-dox}} -} - - -\subsection{Descripción detallada} -\begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -13/06/2013 -\end{DoxyDate} diff --git a/Socket/doc/latex/index.tex b/Socket/doc/latex/index.tex deleted file mode 100644 index 38ba912..0000000 --- a/Socket/doc/latex/index.tex +++ /dev/null @@ -1,14 +0,0 @@ -La librería \hyperlink{class_socket}{Socket} es una implementación de comunicación con Sockets T\-C\-P/\-I\-P en \href{http://linux.org}{\tt G\-N\-U/\-Linux}. - -El objetivo principal de esta librería es abstraer toda la capa de comunicación al programador, lo único que debe hacer es guardar los datos a enviar en un contenedor S\-T\-L del tipo \href{http://www.cplusplus.com/reference/string/string/}{\tt std\-::string} y enviarlo a una instancia debidamente incializada de la clase \hyperlink{class_socket}{Socket}. Este se encarga de inicializar los sockets, atender las conexiones o realizar nuevas, etc. - -Para más información, consultar el \hyperlink{howto}{H\-O\-W\-T\-O} \par -\par - - -\begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -11/06/2013 -\end{DoxyDate} diff --git a/Socket/doc/latex/main__server_8cpp.tex b/Socket/doc/latex/main__server_8cpp.tex deleted file mode 100644 index 407a9db..0000000 --- a/Socket/doc/latex/main__server_8cpp.tex +++ /dev/null @@ -1,155 +0,0 @@ -\hypertarget{main__server_8cpp}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/main\-\_\-server.cpp} -\label{main__server_8cpp}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/main\-\_\-server.\-cpp@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/main\-\_\-server.\-cpp}} -} - - -Implementación del servidor. - - -{\ttfamily \#include \char`\"{}server.\-h\char`\"{}}\\* -{\ttfamily \#include $<$sys/types.\-h$>$}\\* -{\ttfamily \#include $<$unistd.\-h$>$}\\* -{\ttfamily \#include $<$sstream$>$}\\* -\subsection*{Funciones} -\begin{DoxyCompactItemize} -\item -void \hyperlink{main__server_8cpp_ab99831172d1d4bca2c79bb37c7c062df}{kill\-Thread} (\hyperlink{structthread__args}{thread\-\_\-args} $\ast$t\-\_\-arg) -\begin{DoxyCompactList}\small\item\em Método de finalización de Threads. \end{DoxyCompactList}\item -void $\ast$ \hyperlink{main__server_8cpp_a7d13c650ec7a525ad17cabba4f371745}{Worker\-Thread} (void $\ast$args) -\begin{DoxyCompactList}\small\item\em Método gestión de conexiones. \end{DoxyCompactList}\item -void \hyperlink{main__server_8cpp_a5ee86dec2f1282750e7b1da928d45dbc}{stop\-Server} (int signal) -\begin{DoxyCompactList}\small\item\em Método de detención del servidor. \end{DoxyCompactList}\item -void \hyperlink{main__server_8cpp_aa6328bc358b87d3e11c3f460d6427c5b}{process\-Text} (string $\ast$str) -\begin{DoxyCompactList}\small\item\em Método auxiliar de procesado de texto. \end{DoxyCompactList}\item -bool \hyperlink{main__server_8cpp_a4f850f08d755a0d0ebe936b5b84975e3}{read\-Conf} (string $\ast$ip, int $\ast$port) -\begin{DoxyCompactList}\small\item\em Método de lectura de configuración. \end{DoxyCompactList}\item -int \hyperlink{main__server_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main} () -\begin{DoxyCompactList}\small\item\em Método principal del servidor. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Variables} -\begin{DoxyCompactItemize} -\item -\hyperlink{class_server}{Server} $\ast$ \hyperlink{main__server_8cpp_ab6b71e6574fcb2d2e0a5c2af08a2799f}{serv} -\begin{DoxyCompactList}\small\item\em Instancia de la clase \hyperlink{class_server}{Server}. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Descripción detallada} -Implementación del servidor. \begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -13/06/2013 -\end{DoxyDate} -En este fichero se implementa un servidor T\-C\-P/\-I\-P usando las clases \hyperlink{class_socket}{Socket} y \hyperlink{class_server}{Server}. - -\subsection{Documentación de las funciones} -\hypertarget{main__server_8cpp_ab99831172d1d4bca2c79bb37c7c062df}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!kill\-Thread@{kill\-Thread}} -\index{kill\-Thread@{kill\-Thread}!main_server.cpp@{main\-\_\-server.\-cpp}} -\subsubsection[{kill\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}void kill\-Thread ( -\begin{DoxyParamCaption} -\item[{{\bf thread\-\_\-args} $\ast$}]{t\-\_\-arg} -\end{DoxyParamCaption} -)}}\label{main__server_8cpp_ab99831172d1d4bca2c79bb37c7c062df} - - -Método de finalización de Threads. - -Éste método se ejecuta para liberar la memoria de los argumentos del thread y mandarlo a la pila de threads terminados. -\begin{DoxyParams}{Parámetros} -{\em t\-\_\-arg} & Puntero al struct que contiene los argumentos del thread \\ -\hline -\end{DoxyParams} -\hypertarget{main__server_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!main@{main}} -\index{main@{main}!main_server.cpp@{main\-\_\-server.\-cpp}} -\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}}\label{main__server_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4} - - -Método principal del servidor. - -Lee la configuración usando \hyperlink{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{read\-Conf()} y incializa el servidor. \hypertarget{main__server_8cpp_aa6328bc358b87d3e11c3f460d6427c5b}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!process\-Text@{process\-Text}} -\index{process\-Text@{process\-Text}!main_server.cpp@{main\-\_\-server.\-cpp}} -\subsubsection[{process\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void process\-Text ( -\begin{DoxyParamCaption} -\item[{string $\ast$}]{str} -\end{DoxyParamCaption} -)}}\label{main__server_8cpp_aa6328bc358b87d3e11c3f460d6427c5b} - - -Método auxiliar de procesado de texto. - -Éste método usa para procesar las entradas de texto del fichero de configuración para adaptarlas a un formato adecuado. - -{\itshape De momento se limita a eliminar whitespace (tabulaciones, saltos de línea y espacios).} -\begin{DoxyParams}{Parámetros} -{\em str} & Línea de texto a procesar \\ -\hline -\end{DoxyParams} -\hypertarget{main__server_8cpp_a4f850f08d755a0d0ebe936b5b84975e3}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!read\-Conf@{read\-Conf}} -\index{read\-Conf@{read\-Conf}!main_server.cpp@{main\-\_\-server.\-cpp}} -\subsubsection[{read\-Conf}]{\setlength{\rightskip}{0pt plus 5cm}bool read\-Conf ( -\begin{DoxyParamCaption} -\item[{string $\ast$}]{ip, } -\item[{int $\ast$}]{port} -\end{DoxyParamCaption} -)}}\label{main__server_8cpp_a4f850f08d755a0d0ebe936b5b84975e3} - - -Método de lectura de configuración. - -Éste método lee el fichero de configuración espeficado para obtener parámetros de configuración para el funcionamiento del servidor. -\begin{DoxyParams}{Parámetros} -{\em ip} & Puntero donde se almacena la I\-P leída \\ -\hline -{\em port} & Puntero donde se almacena el puerto leído \\ -\hline -\end{DoxyParams} -\hypertarget{main__server_8cpp_a5ee86dec2f1282750e7b1da928d45dbc}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!stop\-Server@{stop\-Server}} -\index{stop\-Server@{stop\-Server}!main_server.cpp@{main\-\_\-server.\-cpp}} -\subsubsection[{stop\-Server}]{\setlength{\rightskip}{0pt plus 5cm}void stop\-Server ( -\begin{DoxyParamCaption} -\item[{int}]{signal} -\end{DoxyParamCaption} -)}}\label{main__server_8cpp_a5ee86dec2f1282750e7b1da928d45dbc} - - -Método de detención del servidor. - -Este método detiene el servidor al recibir el signal S\-I\-G\-I\-N\-T del S\-O. -\begin{DoxyParams}{Parámetros} -{\em signal} & Parámetro que captura el signal recibido \\ -\hline -\end{DoxyParams} -\hypertarget{main__server_8cpp_a7d13c650ec7a525ad17cabba4f371745}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!Worker\-Thread@{Worker\-Thread}} -\index{Worker\-Thread@{Worker\-Thread}!main_server.cpp@{main\-\_\-server.\-cpp}} -\subsubsection[{Worker\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ Worker\-Thread ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{args} -\end{DoxyParamCaption} -)}}\label{main__server_8cpp_a7d13c650ec7a525ad17cabba4f371745} - - -Método gestión de conexiones. - -Éste método es el que los threads ejecutan al crearse, aquí es donde se define el comportamiento del servidor, ya que cada conexión se gestionará como aquí se detalla. - -{\itshape Por defecto, el comportamiento que lleva programado es el de un servidor \char`\"{}echo\char`\"{}, esperará que el cliente le envíe un mensaje y responderá con el mismo mensaje.} -\begin{DoxyParams}{Parámetros} -{\em args} & Puntero al struct de los argumentos del thread casteado a tipo void$\ast$ \\ -\hline -\end{DoxyParams} - - -\subsection{Documentación de las variables} -\hypertarget{main__server_8cpp_ab6b71e6574fcb2d2e0a5c2af08a2799f}{\index{main\-\_\-server.\-cpp@{main\-\_\-server.\-cpp}!serv@{serv}} -\index{serv@{serv}!main_server.cpp@{main\-\_\-server.\-cpp}} -\subsubsection[{serv}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Server}$\ast$ serv}}\label{main__server_8cpp_ab6b71e6574fcb2d2e0a5c2af08a2799f} - - -Instancia de la clase \hyperlink{class_server}{Server}. - -Esta variable contiene la instancia de la clase \hyperlink{class_server}{Server} que aquí se usa e inicializa. - -{\itshape Se trata de una variable global para poder así usarla en las funciones que reciban signals del S\-O.} \ No newline at end of file diff --git a/Socket/doc/latex/mainpage_8dox.tex b/Socket/doc/latex/mainpage_8dox.tex deleted file mode 100644 index 773c093..0000000 --- a/Socket/doc/latex/mainpage_8dox.tex +++ /dev/null @@ -1,3 +0,0 @@ -\hypertarget{mainpage_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/mainpage.dox} -\label{mainpage_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/mainpage.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/mainpage.\-dox}} -} diff --git a/Socket/doc/latex/makefile_8dox.tex b/Socket/doc/latex/makefile_8dox.tex deleted file mode 100644 index 38cd0cf..0000000 --- a/Socket/doc/latex/makefile_8dox.tex +++ /dev/null @@ -1,3 +0,0 @@ -\hypertarget{makefile_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/makefile.dox} -\label{makefile_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/makefile.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/makefile.\-dox}} -} diff --git a/Socket/doc/latex/refman.aux b/Socket/doc/latex/refman.aux deleted file mode 100644 index fa5f726..0000000 --- a/Socket/doc/latex/refman.aux +++ /dev/null @@ -1,323 +0,0 @@ -\relax -\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument} -\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined -\global\let\oldcontentsline\contentsline -\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} -\global\let\oldnewlabel\newlabel -\gdef\newlabel#1#2{\newlabelxx{#1}#2} -\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} -\AtEndDocument{\ifx\hyper@anchor\@undefined -\let\contentsline\oldcontentsline -\let\newlabel\oldnewlabel -\fi} -\fi} -\global\let\hyper@last\relax -\gdef\HyperFirstAtBeginDocument#1{#1} -\providecommand\HyField@AuxAddToFields[1]{} -\catcode`"\active -\catcode`<\active -\catcode`>\active -\@nameuse{es@quoting} -\select@language{spanish} -\@writefile{toc}{\select@language{spanish}} -\@writefile{lof}{\select@language{spanish}} -\@writefile{lot}{\select@language{spanish}} -\@writefile{toc}{\contentsline {chapter}{\numberline {1}P\IeC {\'a}gina principal}{1}{chapter.1}} -\@writefile{lof}{\addvspace {10\p@ }} -\@writefile{lot}{\addvspace {10\p@ }} -\newlabel{index}{{1}{1}{Página principal\relax }{chapter.1}{}} -\@writefile{toc}{\contentsline {chapter}{\numberline {2}Client}{3}{chapter.2}} -\@writefile{lof}{\addvspace {10\p@ }} -\@writefile{lot}{\addvspace {10\p@ }} -\newlabel{client_code}{{2}{3}{Client\relax }{chapter.2}{}} -\@writefile{toc}{\contentsline {chapter}{\numberline {3}Fichero de configuraci\IeC {\'o}n}{5}{chapter.3}} -\@writefile{lof}{\addvspace {10\p@ }} -\@writefile{lot}{\addvspace {10\p@ }} -\newlabel{conf}{{3}{5}{Fichero de configuración\relax }{chapter.3}{}} -\@writefile{toc}{\contentsline {section}{\numberline {3.1}Sint\IeC {\'a}xis}{5}{section.3.1}} -\newlabel{conf_sintax}{{3.1}{5}{Sintáxis\relax }{section.3.1}{}} -\@writefile{toc}{\contentsline {section}{\numberline {3.2}Par\IeC {\'a}metros}{5}{section.3.2}} -\newlabel{conf_params}{{3.2}{5}{Parámetros\relax }{section.3.2}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}bind-\/ip}{5}{subsection.3.2.1}} -\newlabel{conf_bind}{{3.2.1}{5}{bind-\/ip\relax }{subsection.3.2.1}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.2}port}{5}{subsection.3.2.2}} -\newlabel{conf_portnum}{{3.2.2}{5}{port\relax }{subsection.3.2.2}{}} -\@writefile{toc}{\contentsline {section}{\numberline {3.3}Ejemplos}{5}{section.3.3}} -\newlabel{conf_examples-conf}{{3.3}{5}{Ejemplos\relax }{section.3.3}{}} -\@writefile{toc}{\contentsline {chapter}{\numberline {4}H\discretionary {-}{}{}O\discretionary {-}{}{}W\discretionary {-}{}{}T\discretionary {-}{}{}O}{7}{chapter.4}} -\@writefile{lof}{\addvspace {10\p@ }} -\@writefile{lot}{\addvspace {10\p@ }} -\newlabel{howto}{{4}{7}{H\-O\-W\-T\-O\relax }{chapter.4}{}} -\@writefile{toc}{\contentsline {section}{\numberline {4.1}Descripci\IeC {\'o}n del protocolo}{7}{section.4.1}} -\newlabel{howto_proto}{{4.1}{7}{Descripción del protocolo\relax }{section.4.1}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.1}Modo en texto llano}{7}{subsection.4.1.1}} -\newlabel{howto_plain}{{4.1.1}{7}{Modo en texto llano\relax }{subsection.4.1.1}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.2}Env\IeC {\'\i }o/\discretionary {-}{}{}Recepci\IeC {\'o}n de mensajes}{7}{subsection.4.1.2}} -\newlabel{howto_send}{{4.1.2}{7}{Envío/\-Recepción de mensajes\relax }{subsection.4.1.2}{}} -\@writefile{toc}{\contentsline {section}{\numberline {4.2}Compilaci\IeC {\'o}n}{8}{section.4.2}} -\newlabel{howto_compile}{{4.2}{8}{Compilación\relax }{section.4.2}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.2.1}Opciones de compilaci\IeC {\'o}n}{8}{subsection.4.2.1}} -\newlabel{howto_defines}{{4.2.1}{8}{Opciones de compilación\relax }{subsection.4.2.1}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.2.2}Flags de compilaci\IeC {\'o}n y librer\IeC {\'\i }as}{8}{subsection.4.2.2}} -\newlabel{howto_flags}{{4.2.2}{8}{Flags de compilación y librerías\relax }{subsection.4.2.2}{}} -\@writefile{toc}{\contentsline {section}{\numberline {4.3}Ejemplos}{8}{section.4.3}} -\newlabel{howto_examples}{{4.3}{8}{Ejemplos\relax }{section.4.3}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}Programar un servidor}{8}{subsection.4.3.1}} -\newlabel{howto_server}{{4.3.1}{8}{Programar un servidor\relax }{subsection.4.3.1}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}Programar un cliente}{8}{subsection.4.3.2}} -\newlabel{howto_client}{{4.3.2}{8}{Programar un cliente\relax }{subsection.4.3.2}{}} -\@writefile{toc}{\contentsline {chapter}{\numberline {5}Server}{9}{chapter.5}} -\@writefile{lof}{\addvspace {10\p@ }} -\@writefile{lot}{\addvspace {10\p@ }} -\newlabel{server_code}{{5}{9}{Server\relax }{chapter.5}{}} -\@writefile{toc}{\contentsline {chapter}{\numberline {6}\IeC {\'I}ndice de clases}{11}{chapter.6}} -\@writefile{lof}{\addvspace {10\p@ }} -\@writefile{lot}{\addvspace {10\p@ }} -\@writefile{toc}{\contentsline {section}{\numberline {6.1}Lista de clases}{11}{section.6.1}} -\@writefile{toc}{\contentsline {chapter}{\numberline {7}Indice de archivos}{13}{chapter.7}} -\@writefile{lof}{\addvspace {10\p@ }} -\@writefile{lot}{\addvspace {10\p@ }} -\@writefile{toc}{\contentsline {section}{\numberline {7.1}Lista de archivos}{13}{section.7.1}} -\@writefile{toc}{\contentsline {chapter}{\numberline {8}Documentaci\IeC {\'o}n de las clases}{15}{chapter.8}} -\@writefile{lof}{\addvspace {10\p@ }} -\@writefile{lot}{\addvspace {10\p@ }} -\@writefile{toc}{\contentsline {section}{\numberline {8.1}Referencia de la Clase Server}{15}{section.8.1}} -\newlabel{class_server}{{8.1}{15}{Referencia de la Clase Server\relax }{section.8.1}{}} -\gdef \LT@i {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.1.1}Descripci\IeC {\'o}n detallada}{16}{subsection.8.1.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.1.2}Documentaci\IeC {\'o}n del constructor y destructor}{16}{subsection.8.1.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.2.1}Server}{16}{subsubsection.8.1.2.1}} -\newlabel{class_server_ad5ec9462b520e59f7ea831e157ee5e59}{{8.1.2.1}{16}{Server\relax }{subsubsection.8.1.2.1}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.1.3}Documentaci\IeC {\'o}n de las funciones miembro}{16}{subsection.8.1.3}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.3.1}free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M}{16}{subsubsection.8.1.3.1}} -\newlabel{class_server_a018bee9f1e342d9f349765187d89becd}{{8.1.3.1}{16}{free\-R\-A\-M\relax }{subsubsection.8.1.3.1}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.3.2}get\discretionary {-}{}{}N\discretionary {-}{}{}Workers}{16}{subsubsection.8.1.3.2}} -\newlabel{class_server_acf13ac1f7fc49f28c1b1fa76eab209ab}{{8.1.3.2}{16}{get\-N\-Workers\relax }{subsubsection.8.1.3.2}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.3.3}get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads}{16}{subsubsection.8.1.3.3}} -\newlabel{class_server_a0622813f3b675ab661d5f628cec03d30}{{8.1.3.3}{16}{get\-Started\-Threads\relax }{subsubsection.8.1.3.3}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.3.4}get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads}{16}{subsubsection.8.1.3.4}} -\newlabel{class_server_a81289d4e58dec18dd01e343c7f397c1e}{{8.1.3.4}{16}{get\-Stopped\-Threads\relax }{subsubsection.8.1.3.4}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.3.5}request\discretionary {-}{}{}Exit}{16}{subsubsection.8.1.3.5}} -\newlabel{class_server_a74769349252c1ad61717b156e42d61d3}{{8.1.3.5}{16}{request\-Exit\relax }{subsubsection.8.1.3.5}{}} -\gdef \LT@ii {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\gdef \LT@iii {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.3.6}set\discretionary {-}{}{}N\discretionary {-}{}{}Workers}{17}{subsubsection.8.1.3.6}} -\newlabel{class_server_a0090663c66f1f371f8b1aa87c5f49623}{{8.1.3.6}{17}{set\-N\-Workers\relax }{subsubsection.8.1.3.6}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.3.7}start\discretionary {-}{}{}Server}{17}{subsubsection.8.1.3.7}} -\newlabel{class_server_aef89851f83a9bbe4459c46b6c7906e1f}{{8.1.3.7}{17}{start\-Server\relax }{subsubsection.8.1.3.7}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.1.4}Documentaci\IeC {\'o}n de los datos miembro}{17}{subsection.8.1.4}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.4.1}n\discretionary {-}{}{}Workers}{17}{subsubsection.8.1.4.1}} -\newlabel{class_server_a690955b1e335072c061df67014a6e698}{{8.1.4.1}{17}{n\-Workers\relax }{subsubsection.8.1.4.1}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.4.2}shutdown\discretionary {-}{}{}Server}{17}{subsubsection.8.1.4.2}} -\newlabel{class_server_aa9231b38adc787954a13f04372de8ed2}{{8.1.4.2}{17}{shutdown\-Server\relax }{subsubsection.8.1.4.2}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.4.3}ss}{17}{subsubsection.8.1.4.3}} -\newlabel{class_server_af9e1a6848bdd627741b85e75777e3b45}{{8.1.4.3}{17}{ss\relax }{subsubsection.8.1.4.3}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.4.4}started\discretionary {-}{}{}Threads}{17}{subsubsection.8.1.4.4}} -\newlabel{class_server_a40fdc13e227f651943e0aa3757824396}{{8.1.4.4}{17}{started\-Threads\relax }{subsubsection.8.1.4.4}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.4.5}stopped\discretionary {-}{}{}Threads}{18}{subsubsection.8.1.4.5}} -\newlabel{class_server_a36a18616b526f3053a1036641a62cb0a}{{8.1.4.5}{18}{stopped\-Threads\relax }{subsubsection.8.1.4.5}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.1.4.6}worker\discretionary {-}{}{}I\discretionary {-}{}{}D}{18}{subsubsection.8.1.4.6}} -\newlabel{class_server_ae10d91b60157ccfcc06cc463e8443007}{{8.1.4.6}{18}{worker\-I\-D\relax }{subsubsection.8.1.4.6}{}} -\@writefile{toc}{\contentsline {section}{\numberline {8.2}Referencia de la Clase Socket}{18}{section.8.2}} -\newlabel{class_socket}{{8.2}{18}{Referencia de la Clase Socket\relax }{section.8.2}{}} -\gdef \LT@iv {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\gdef \LT@v {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.1}Descripci\IeC {\'o}n detallada}{19}{subsection.8.2.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.2}Documentaci\IeC {\'o}n del constructor y destructor}{19}{subsection.8.2.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.2.1}Socket}{19}{subsubsection.8.2.2.1}} -\newlabel{class_socket_a7c3256c4fc6e2c603df73201049fae5a}{{8.2.2.1}{19}{Socket\relax }{subsubsection.8.2.2.1}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.3}Documentaci\IeC {\'o}n de las funciones miembro}{19}{subsection.8.2.3}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.3.1}Accept}{19}{subsubsection.8.2.3.1}} -\newlabel{class_socket_a25cdd79546b8e7e49f2195208ae6d00c}{{8.2.3.1}{19}{Accept\relax }{subsubsection.8.2.3.1}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.3.2}Bind}{19}{subsubsection.8.2.3.2}} -\newlabel{class_socket_afdc52c70cf11911cc1a3c595a7849cf0}{{8.2.3.2}{19}{Bind\relax }{subsubsection.8.2.3.2}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.3.3}Close}{19}{subsubsection.8.2.3.3}} -\newlabel{class_socket_a4c8ced9a8ce58834191b3b4f2033b173}{{8.2.3.3}{19}{Close\relax }{subsubsection.8.2.3.3}{}} -\gdef \LT@vi {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\gdef \LT@vii {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\gdef \LT@viii {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\gdef \LT@ix {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.3.4}Connect}{20}{subsubsection.8.2.3.4}} -\newlabel{class_socket_aa1d074c1aa400e8bca7c7da79b036abe}{{8.2.3.4}{20}{Connect\relax }{subsubsection.8.2.3.4}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.3.5}Create}{20}{subsubsection.8.2.3.5}} -\newlabel{class_socket_add736ccf41f102910a2b8ac5e77eb8b1}{{8.2.3.5}{20}{Create\relax }{subsubsection.8.2.3.5}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.3.6}get\discretionary {-}{}{}Sock}{20}{subsubsection.8.2.3.6}} -\newlabel{class_socket_abc14da0faa1d00fe361eeede1b3cda4a}{{8.2.3.6}{20}{get\-Sock\relax }{subsubsection.8.2.3.6}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.3.7}Listen}{20}{subsubsection.8.2.3.7}} -\newlabel{class_socket_a4d476d11854d7acb17b8d196c8171865}{{8.2.3.7}{20}{Listen\relax }{subsubsection.8.2.3.7}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.3.8}operator$<$$<$}{20}{subsubsection.8.2.3.8}} -\newlabel{class_socket_a5beab0c84c933510a53126f786cff6de}{{8.2.3.8}{20}{operator$<$$<$\relax }{subsubsection.8.2.3.8}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.3.9}operator$>$$>$}{20}{subsubsection.8.2.3.9}} -\newlabel{class_socket_ab6b2dffea36c60c53f8d5e539f1cf000}{{8.2.3.9}{20}{operator$>$$>$\relax }{subsubsection.8.2.3.9}{}} -\gdef \LT@x {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\gdef \LT@xi {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.3.10}Receive}{21}{subsubsection.8.2.3.10}} -\newlabel{class_socket_aa1a8b143bb2adf57934156d9e33b8611}{{8.2.3.10}{21}{Receive\relax }{subsubsection.8.2.3.10}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.3.11}Send}{21}{subsubsection.8.2.3.11}} -\newlabel{class_socket_a4c4ecb88d5587177899198861d29d3dd}{{8.2.3.11}{21}{Send\relax }{subsubsection.8.2.3.11}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.4}Documentaci\IeC {\'o}n de los datos miembro}{21}{subsection.8.2.4}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.4.1}sock}{21}{subsubsection.8.2.4.1}} -\newlabel{class_socket_a231ddf6e338a86640e26808b83efeaa1}{{8.2.4.1}{21}{sock\relax }{subsubsection.8.2.4.1}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.2.4.2}sock\discretionary {-}{}{}Addr}{21}{subsubsection.8.2.4.2}} -\newlabel{class_socket_ae4d80b83c327ed835b5f4575a499a400}{{8.2.4.2}{21}{sock\-Addr\relax }{subsubsection.8.2.4.2}{}} -\@writefile{toc}{\contentsline {section}{\numberline {8.3}Referencia de la Clase Socket\discretionary {-}{}{}Exception}{21}{section.8.3}} -\newlabel{class_socket_exception}{{8.3}{21}{Referencia de la Clase Socket\-Exception\relax }{section.8.3}{}} -\gdef \LT@xii {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Descripci\IeC {\'o}n detallada}{22}{subsection.8.3.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}Documentaci\IeC {\'o}n del constructor y destructor}{22}{subsection.8.3.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.3.2.1}Socket\discretionary {-}{}{}Exception}{22}{subsubsection.8.3.2.1}} -\newlabel{class_socket_exception_a06573084bad8aca1443281c0970fe033}{{8.3.2.1}{22}{Socket\-Exception\relax }{subsubsection.8.3.2.1}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.3.2.2}$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception}{22}{subsubsection.8.3.2.2}} -\newlabel{class_socket_exception_a659557c899329aea01977c980c4db9b9}{{8.3.2.2}{22}{$\sim $\-Socket\-Exception\relax }{subsubsection.8.3.2.2}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.3}Documentaci\IeC {\'o}n de las funciones miembro}{22}{subsection.8.3.3}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.3.3.1}description}{22}{subsubsection.8.3.3.1}} -\newlabel{class_socket_exception_ae160a594055812694ac93f7118c4af1c}{{8.3.3.1}{22}{description\relax }{subsubsection.8.3.3.1}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.4}Documentaci\IeC {\'o}n de los datos miembro}{22}{subsection.8.3.4}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.3.4.1}message}{22}{subsubsection.8.3.4.1}} -\newlabel{class_socket_exception_a43f3472f1433552059ffeb9a251a9b76}{{8.3.4.1}{22}{message\relax }{subsubsection.8.3.4.1}{}} -\@writefile{toc}{\contentsline {section}{\numberline {8.4}Referencia de la Estructura thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}{22}{section.8.4}} -\newlabel{structthread__args}{{8.4}{22}{Referencia de la Estructura thread\-\_\-args\relax }{section.8.4}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.1}Descripci\IeC {\'o}n detallada}{23}{subsection.8.4.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {8.4.2}Documentaci\IeC {\'o}n de los datos miembro}{23}{subsection.8.4.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.4.2.1}condition}{23}{subsubsection.8.4.2.1}} -\newlabel{structthread__args_a96ee28beaed4175257db3d8794245f25}{{8.4.2.1}{23}{condition\relax }{subsubsection.8.4.2.1}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.4.2.2}id}{23}{subsubsection.8.4.2.2}} -\newlabel{structthread__args_a6322b3468fd88f8f49977a6439e9f352}{{8.4.2.2}{23}{id\relax }{subsubsection.8.4.2.2}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.4.2.3}mutex}{23}{subsubsection.8.4.2.3}} -\newlabel{structthread__args_ad5d64499f5f6e2df467c96b52a94c520}{{8.4.2.3}{23}{mutex\relax }{subsubsection.8.4.2.3}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.4.2.4}s}{24}{subsubsection.8.4.2.4}} -\newlabel{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{{8.4.2.4}{24}{s\relax }{subsubsection.8.4.2.4}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.4.2.5}serv}{24}{subsubsection.8.4.2.5}} -\newlabel{structthread__args_ab29508135b033282f374d0fb47028fbd}{{8.4.2.5}{24}{serv\relax }{subsubsection.8.4.2.5}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {8.4.2.6}thread}{24}{subsubsection.8.4.2.6}} -\newlabel{structthread__args_acdcd2db4307e5e75d5110067e196a70e}{{8.4.2.6}{24}{thread\relax }{subsubsection.8.4.2.6}{}} -\@writefile{toc}{\contentsline {chapter}{\numberline {9}Documentaci\IeC {\'o}n de archivos}{25}{chapter.9}} -\@writefile{lof}{\addvspace {10\p@ }} -\@writefile{lot}{\addvspace {10\p@ }} -\@writefile{toc}{\contentsline {section}{\numberline {9.1}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.cpp}{25}{section.9.1}} -\newlabel{client_8cpp}{{9.1}{25}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/client.cpp\relax }{section.9.1}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.1.1}Descripci\IeC {\'o}n detallada}{25}{subsection.9.1.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.1.2}Documentaci\IeC {\'o}n de las funciones}{25}{subsection.9.1.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.2.1}exit\discretionary {-}{}{}Client}{25}{subsubsection.9.1.2.1}} -\newlabel{client_8cpp_a00a6f7afcba6bb656a7b05c67efa42ba}{{9.1.2.1}{25}{exit\-Client\relax }{subsubsection.9.1.2.1}{}} -\gdef \LT@xiii {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.1.2.2}main}{26}{subsubsection.9.1.2.2}} -\newlabel{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{{9.1.2.2}{26}{main\relax }{subsubsection.9.1.2.2}{}} -\@writefile{toc}{\contentsline {section}{\numberline {9.2}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.dox}{26}{section.9.2}} -\newlabel{client_8dox}{{9.2}{26}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/client.dox\relax }{section.9.2}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.1}Descripci\IeC {\'o}n detallada}{26}{subsection.9.2.1}} -\@writefile{toc}{\contentsline {section}{\numberline {9.3}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/conf.dox}{26}{section.9.3}} -\newlabel{conf_8dox}{{9.3}{26}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/conf.dox\relax }{section.9.3}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}Descripci\IeC {\'o}n detallada}{26}{subsection.9.3.1}} -\@writefile{toc}{\contentsline {section}{\numberline {9.4}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/howto.dox}{26}{section.9.4}} -\newlabel{howto_8dox}{{9.4}{26}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/howto.dox\relax }{section.9.4}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}Descripci\IeC {\'o}n detallada}{26}{subsection.9.4.1}} -\@writefile{toc}{\contentsline {section}{\numberline {9.5}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/server.h}{27}{section.9.5}} -\newlabel{server_8h}{{9.5}{27}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/server.h\relax }{section.9.5}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.5.1}Descripci\IeC {\'o}n detallada}{27}{subsection.9.5.1}} -\gdef \LT@xiv {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\gdef \LT@xv {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\gdef \LT@xvi {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.5.2}Documentaci\IeC {\'o}n de los 'defines'}{28}{subsection.9.5.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.5.2.1}C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E}{28}{subsubsection.9.5.2.1}} -\newlabel{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd}{{9.5.2.1}{28}{C\-O\-N\-F\-F\-I\-L\-E\relax }{subsubsection.9.5.2.1}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.5.2.2}N}{28}{subsubsection.9.5.2.2}} -\newlabel{server_8h_a0240ac851181b84ac374872dc5434ee4}{{9.5.2.2}{28}{N\relax }{subsubsection.9.5.2.2}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.5.3}Documentaci\IeC {\'o}n de las funciones}{28}{subsection.9.5.3}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.5.3.1}kill\discretionary {-}{}{}Thread}{28}{subsubsection.9.5.3.1}} -\newlabel{server_8h_ab99831172d1d4bca2c79bb37c7c062df}{{9.5.3.1}{28}{kill\-Thread\relax }{subsubsection.9.5.3.1}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.5.3.2}process\discretionary {-}{}{}Text}{28}{subsubsection.9.5.3.2}} -\newlabel{server_8h_aa6328bc358b87d3e11c3f460d6427c5b}{{9.5.3.2}{28}{process\-Text\relax }{subsubsection.9.5.3.2}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.5.3.3}read\discretionary {-}{}{}Conf}{28}{subsubsection.9.5.3.3}} -\newlabel{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{{9.5.3.3}{28}{read\-Conf\relax }{subsubsection.9.5.3.3}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.5.3.4}Worker\discretionary {-}{}{}Thread}{28}{subsubsection.9.5.3.4}} -\newlabel{server_8h_a7d13c650ec7a525ad17cabba4f371745}{{9.5.3.4}{28}{Worker\-Thread\relax }{subsubsection.9.5.3.4}{}} -\gdef \LT@xvii {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\@writefile{toc}{\contentsline {section}{\numberline {9.6}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket.h}{29}{section.9.6}} -\newlabel{_socket_8h}{{9.6}{29}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\-Socket.h\relax }{section.9.6}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.6.1}Descripci\IeC {\'o}n detallada}{29}{subsection.9.6.1}} -\@writefile{toc}{\contentsline {section}{\numberline {9.7}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception.h}{29}{section.9.7}} -\newlabel{_socket_exception_8h}{{9.7}{29}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\-Socket\-Exception.h\relax }{section.9.7}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.7.1}Descripci\IeC {\'o}n detallada}{30}{subsection.9.7.1}} -\@writefile{toc}{\contentsline {section}{\numberline {9.8}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/main\discretionary {-}{}{}\_\discretionary {-}{}{}server.cpp}{30}{section.9.8}} -\newlabel{main__server_8cpp}{{9.8}{30}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/main\-\_\-server.cpp\relax }{section.9.8}{}} -\gdef \LT@xviii {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\gdef \LT@xix {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\gdef \LT@xx {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.1}Descripci\IeC {\'o}n detallada}{31}{subsection.9.8.1}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.2}Documentaci\IeC {\'o}n de las funciones}{31}{subsection.9.8.2}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.8.2.1}kill\discretionary {-}{}{}Thread}{31}{subsubsection.9.8.2.1}} -\newlabel{main__server_8cpp_ab99831172d1d4bca2c79bb37c7c062df}{{9.8.2.1}{31}{kill\-Thread\relax }{subsubsection.9.8.2.1}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.8.2.2}main}{31}{subsubsection.9.8.2.2}} -\newlabel{main__server_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{{9.8.2.2}{31}{main\relax }{subsubsection.9.8.2.2}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.8.2.3}process\discretionary {-}{}{}Text}{31}{subsubsection.9.8.2.3}} -\newlabel{main__server_8cpp_aa6328bc358b87d3e11c3f460d6427c5b}{{9.8.2.3}{31}{process\-Text\relax }{subsubsection.9.8.2.3}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.8.2.4}read\discretionary {-}{}{}Conf}{31}{subsubsection.9.8.2.4}} -\newlabel{main__server_8cpp_a4f850f08d755a0d0ebe936b5b84975e3}{{9.8.2.4}{31}{read\-Conf\relax }{subsubsection.9.8.2.4}{}} -\gdef \LT@xxi {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\gdef \LT@xxii {\LT@entry - {1}{78.18367pt}\LT@entry - {1}{380.5249pt}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.8.2.5}stop\discretionary {-}{}{}Server}{32}{subsubsection.9.8.2.5}} -\newlabel{main__server_8cpp_a5ee86dec2f1282750e7b1da928d45dbc}{{9.8.2.5}{32}{stop\-Server\relax }{subsubsection.9.8.2.5}{}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.8.2.6}Worker\discretionary {-}{}{}Thread}{32}{subsubsection.9.8.2.6}} -\newlabel{main__server_8cpp_a7d13c650ec7a525ad17cabba4f371745}{{9.8.2.6}{32}{Worker\-Thread\relax }{subsubsection.9.8.2.6}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.8.3}Documentaci\IeC {\'o}n de las variables}{32}{subsection.9.8.3}} -\@writefile{toc}{\contentsline {subsubsection}{\numberline {9.8.3.1}serv}{32}{subsubsection.9.8.3.1}} -\newlabel{main__server_8cpp_ab6b71e6574fcb2d2e0a5c2af08a2799f}{{9.8.3.1}{32}{serv\relax }{subsubsection.9.8.3.1}{}} -\@writefile{toc}{\contentsline {section}{\numberline {9.9}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/mainpage.dox}{32}{section.9.9}} -\newlabel{mainpage_8dox}{{9.9}{32}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/mainpage.dox\relax }{section.9.9}{}} -\@writefile{toc}{\contentsline {section}{\numberline {9.10}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/makefile.dox}{32}{section.9.10}} -\newlabel{makefile_8dox}{{9.10}{32}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/makefile.dox\relax }{section.9.10}{}} -\@writefile{toc}{\contentsline {section}{\numberline {9.11}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.cpp}{32}{section.9.11}} -\newlabel{server_8cpp}{{9.11}{32}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.cpp\relax }{section.9.11}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.11.1}Descripci\IeC {\'o}n detallada}{32}{subsection.9.11.1}} -\@writefile{toc}{\contentsline {section}{\numberline {9.12}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.dox}{33}{section.9.12}} -\newlabel{server_8dox}{{9.12}{33}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.dox\relax }{section.9.12}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.12.1}Descripci\IeC {\'o}n detallada}{33}{subsection.9.12.1}} -\@writefile{toc}{\contentsline {section}{\numberline {9.13}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/\discretionary {-}{}{}Socket.cpp}{33}{section.9.13}} -\newlabel{_socket_8cpp}{{9.13}{33}{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/\-Socket.cpp\relax }{section.9.13}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {9.13.1}Descripci\IeC {\'o}n detallada}{33}{subsection.9.13.1}} -\@writefile{toc}{\contentsline {part}{\IeC {\'I}ndice}{33}{subsection.9.13.1}} diff --git a/Socket/doc/latex/refman.idx b/Socket/doc/latex/refman.idx deleted file mode 100644 index cc39b49..0000000 --- a/Socket/doc/latex/refman.idx +++ /dev/null @@ -1,123 +0,0 @@ -\indexentry{Server@{Server}|hyperpage}{15} -\indexentry{Server@{Server}!Server@{Server}|hyperpage}{16} -\indexentry{Server@{Server}!Server@{Server}|hyperpage}{16} -\indexentry{Server@{Server}!free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M@{free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M}|hyperpage}{16} -\indexentry{free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M@{free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M}!Server@{Server}|hyperpage}{16} -\indexentry{Server@{Server}!get\discretionary {-}{}{}N\discretionary {-}{}{}Workers@{get\discretionary {-}{}{}N\discretionary {-}{}{}Workers}|hyperpage}{16} -\indexentry{get\discretionary {-}{}{}N\discretionary {-}{}{}Workers@{get\discretionary {-}{}{}N\discretionary {-}{}{}Workers}!Server@{Server}|hyperpage}{16} -\indexentry{Server@{Server}!get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads@{get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads}|hyperpage}{16} -\indexentry{get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads@{get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads}!Server@{Server}|hyperpage}{16} -\indexentry{Server@{Server}!get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads@{get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads}|hyperpage}{16} -\indexentry{get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads@{get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads}!Server@{Server}|hyperpage}{16} -\indexentry{Server@{Server}!request\discretionary {-}{}{}Exit@{request\discretionary {-}{}{}Exit}|hyperpage}{16} -\indexentry{request\discretionary {-}{}{}Exit@{request\discretionary {-}{}{}Exit}!Server@{Server}|hyperpage}{16} -\indexentry{Server@{Server}!set\discretionary {-}{}{}N\discretionary {-}{}{}Workers@{set\discretionary {-}{}{}N\discretionary {-}{}{}Workers}|hyperpage}{17} -\indexentry{set\discretionary {-}{}{}N\discretionary {-}{}{}Workers@{set\discretionary {-}{}{}N\discretionary {-}{}{}Workers}!Server@{Server}|hyperpage}{17} -\indexentry{Server@{Server}!start\discretionary {-}{}{}Server@{start\discretionary {-}{}{}Server}|hyperpage}{17} -\indexentry{start\discretionary {-}{}{}Server@{start\discretionary {-}{}{}Server}!Server@{Server}|hyperpage}{17} -\indexentry{Server@{Server}!n\discretionary {-}{}{}Workers@{n\discretionary {-}{}{}Workers}|hyperpage}{17} -\indexentry{n\discretionary {-}{}{}Workers@{n\discretionary {-}{}{}Workers}!Server@{Server}|hyperpage}{17} -\indexentry{Server@{Server}!shutdown\discretionary {-}{}{}Server@{shutdown\discretionary {-}{}{}Server}|hyperpage}{17} -\indexentry{shutdown\discretionary {-}{}{}Server@{shutdown\discretionary {-}{}{}Server}!Server@{Server}|hyperpage}{17} -\indexentry{Server@{Server}!ss@{ss}|hyperpage}{17} -\indexentry{ss@{ss}!Server@{Server}|hyperpage}{17} -\indexentry{Server@{Server}!started\discretionary {-}{}{}Threads@{started\discretionary {-}{}{}Threads}|hyperpage}{17} -\indexentry{started\discretionary {-}{}{}Threads@{started\discretionary {-}{}{}Threads}!Server@{Server}|hyperpage}{17} -\indexentry{Server@{Server}!stopped\discretionary {-}{}{}Threads@{stopped\discretionary {-}{}{}Threads}|hyperpage}{17} -\indexentry{stopped\discretionary {-}{}{}Threads@{stopped\discretionary {-}{}{}Threads}!Server@{Server}|hyperpage}{17} -\indexentry{Server@{Server}!worker\discretionary {-}{}{}I\discretionary {-}{}{}D@{worker\discretionary {-}{}{}I\discretionary {-}{}{}D}|hyperpage}{18} -\indexentry{worker\discretionary {-}{}{}I\discretionary {-}{}{}D@{worker\discretionary {-}{}{}I\discretionary {-}{}{}D}!Server@{Server}|hyperpage}{18} -\indexentry{Socket@{Socket}|hyperpage}{18} -\indexentry{Socket@{Socket}!Socket@{Socket}|hyperpage}{19} -\indexentry{Socket@{Socket}!Socket@{Socket}|hyperpage}{19} -\indexentry{Socket@{Socket}!Accept@{Accept}|hyperpage}{19} -\indexentry{Accept@{Accept}!Socket@{Socket}|hyperpage}{19} -\indexentry{Socket@{Socket}!Bind@{Bind}|hyperpage}{19} -\indexentry{Bind@{Bind}!Socket@{Socket}|hyperpage}{19} -\indexentry{Socket@{Socket}!Close@{Close}|hyperpage}{19} -\indexentry{Close@{Close}!Socket@{Socket}|hyperpage}{19} -\indexentry{Socket@{Socket}!Connect@{Connect}|hyperpage}{19} -\indexentry{Connect@{Connect}!Socket@{Socket}|hyperpage}{19} -\indexentry{Socket@{Socket}!Create@{Create}|hyperpage}{20} -\indexentry{Create@{Create}!Socket@{Socket}|hyperpage}{20} -\indexentry{Socket@{Socket}!get\discretionary {-}{}{}Sock@{get\discretionary {-}{}{}Sock}|hyperpage}{20} -\indexentry{get\discretionary {-}{}{}Sock@{get\discretionary {-}{}{}Sock}!Socket@{Socket}|hyperpage}{20} -\indexentry{Socket@{Socket}!Listen@{Listen}|hyperpage}{20} -\indexentry{Listen@{Listen}!Socket@{Socket}|hyperpage}{20} -\indexentry{Socket@{Socket}!operator$<$$<$@{operator$<$$<$}|hyperpage}{20} -\indexentry{operator$<$$<$@{operator$<$$<$}!Socket@{Socket}|hyperpage}{20} -\indexentry{Socket@{Socket}!operator$>$$>$@{operator$>$$>$}|hyperpage}{20} -\indexentry{operator$>$$>$@{operator$>$$>$}!Socket@{Socket}|hyperpage}{20} -\indexentry{Socket@{Socket}!Receive@{Receive}|hyperpage}{20} -\indexentry{Receive@{Receive}!Socket@{Socket}|hyperpage}{20} -\indexentry{Socket@{Socket}!Send@{Send}|hyperpage}{21} -\indexentry{Send@{Send}!Socket@{Socket}|hyperpage}{21} -\indexentry{Socket@{Socket}!sock@{sock}|hyperpage}{21} -\indexentry{sock@{sock}!Socket@{Socket}|hyperpage}{21} -\indexentry{Socket@{Socket}!sock\discretionary {-}{}{}Addr@{sock\discretionary {-}{}{}Addr}|hyperpage}{21} -\indexentry{sock\discretionary {-}{}{}Addr@{sock\discretionary {-}{}{}Addr}!Socket@{Socket}|hyperpage}{21} -\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}|hyperpage}{21} -\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}!Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}|hyperpage}{22} -\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}!SocketException@{Socket\discretionary {-}{}{}Exception}|hyperpage}{22} -\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}!$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception@{$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception}|hyperpage}{22} -\indexentry{$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception@{$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception}!SocketException@{Socket\discretionary {-}{}{}Exception}|hyperpage}{22} -\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}!description@{description}|hyperpage}{22} -\indexentry{description@{description}!SocketException@{Socket\discretionary {-}{}{}Exception}|hyperpage}{22} -\indexentry{Socket\discretionary {-}{}{}Exception@{Socket\discretionary {-}{}{}Exception}!message@{message}|hyperpage}{22} -\indexentry{message@{message}!SocketException@{Socket\discretionary {-}{}{}Exception}|hyperpage}{22} -\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{22} -\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!condition@{condition}|hyperpage}{23} -\indexentry{condition@{condition}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{23} -\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!id@{id}|hyperpage}{23} -\indexentry{id@{id}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{23} -\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!mutex@{mutex}|hyperpage}{23} -\indexentry{mutex@{mutex}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{23} -\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!s@{s}|hyperpage}{23} -\indexentry{s@{s}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{23} -\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!serv@{serv}|hyperpage}{24} -\indexentry{serv@{serv}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{24} -\indexentry{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}!thread@{thread}|hyperpage}{24} -\indexentry{thread@{thread}!thread_args@{thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}|hyperpage}{24} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.\discretionary {-}{}{}cpp@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.\discretionary {-}{}{}cpp}|hyperpage}{25} -\indexentry{client.\discretionary {-}{}{}cpp@{client.\discretionary {-}{}{}cpp}!exit\discretionary {-}{}{}Client@{exit\discretionary {-}{}{}Client}|hyperpage}{25} -\indexentry{exit\discretionary {-}{}{}Client@{exit\discretionary {-}{}{}Client}!client.cpp@{client.\discretionary {-}{}{}cpp}|hyperpage}{25} -\indexentry{client.\discretionary {-}{}{}cpp@{client.\discretionary {-}{}{}cpp}!main@{main}|hyperpage}{26} -\indexentry{main@{main}!client.cpp@{client.\discretionary {-}{}{}cpp}|hyperpage}{26} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.\discretionary {-}{}{}dox@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.\discretionary {-}{}{}dox}|hyperpage}{26} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/conf.\discretionary {-}{}{}dox@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/conf.\discretionary {-}{}{}dox}|hyperpage}{26} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/howto.\discretionary {-}{}{}dox@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/howto.\discretionary {-}{}{}dox}|hyperpage}{26} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/server.\discretionary {-}{}{}h@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/server.\discretionary {-}{}{}h}|hyperpage}{27} -\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E@{C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E}|hyperpage}{28} -\indexentry{C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E@{C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{28} -\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!N@{N}|hyperpage}{28} -\indexentry{N@{N}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{28} -\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!kill\discretionary {-}{}{}Thread@{kill\discretionary {-}{}{}Thread}|hyperpage}{28} -\indexentry{kill\discretionary {-}{}{}Thread@{kill\discretionary {-}{}{}Thread}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{28} -\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!process\discretionary {-}{}{}Text@{process\discretionary {-}{}{}Text}|hyperpage}{28} -\indexentry{process\discretionary {-}{}{}Text@{process\discretionary {-}{}{}Text}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{28} -\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!read\discretionary {-}{}{}Conf@{read\discretionary {-}{}{}Conf}|hyperpage}{28} -\indexentry{read\discretionary {-}{}{}Conf@{read\discretionary {-}{}{}Conf}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{28} -\indexentry{server.\discretionary {-}{}{}h@{server.\discretionary {-}{}{}h}!Worker\discretionary {-}{}{}Thread@{Worker\discretionary {-}{}{}Thread}|hyperpage}{28} -\indexentry{Worker\discretionary {-}{}{}Thread@{Worker\discretionary {-}{}{}Thread}!server.h@{server.\discretionary {-}{}{}h}|hyperpage}{28} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket.\discretionary {-}{}{}h@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket.\discretionary {-}{}{}h}|hyperpage}{29} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception.\discretionary {-}{}{}h@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception.\discretionary {-}{}{}h}|hyperpage}{29} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}|hyperpage}{30} -\indexentry{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}!kill\discretionary {-}{}{}Thread@{kill\discretionary {-}{}{}Thread}|hyperpage}{31} -\indexentry{kill\discretionary {-}{}{}Thread@{kill\discretionary {-}{}{}Thread}!main_server.cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}|hyperpage}{31} -\indexentry{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}!main@{main}|hyperpage}{31} -\indexentry{main@{main}!main_server.cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}|hyperpage}{31} -\indexentry{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}!process\discretionary {-}{}{}Text@{process\discretionary {-}{}{}Text}|hyperpage}{31} -\indexentry{process\discretionary {-}{}{}Text@{process\discretionary {-}{}{}Text}!main_server.cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}|hyperpage}{31} -\indexentry{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}!read\discretionary {-}{}{}Conf@{read\discretionary {-}{}{}Conf}|hyperpage}{31} -\indexentry{read\discretionary {-}{}{}Conf@{read\discretionary {-}{}{}Conf}!main_server.cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}|hyperpage}{31} -\indexentry{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}!stop\discretionary {-}{}{}Server@{stop\discretionary {-}{}{}Server}|hyperpage}{32} -\indexentry{stop\discretionary {-}{}{}Server@{stop\discretionary {-}{}{}Server}!main_server.cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}|hyperpage}{32} -\indexentry{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}!Worker\discretionary {-}{}{}Thread@{Worker\discretionary {-}{}{}Thread}|hyperpage}{32} -\indexentry{Worker\discretionary {-}{}{}Thread@{Worker\discretionary {-}{}{}Thread}!main_server.cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}|hyperpage}{32} -\indexentry{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}!serv@{serv}|hyperpage}{32} -\indexentry{serv@{serv}!main_server.cpp@{main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}|hyperpage}{32} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/mainpage.\discretionary {-}{}{}dox@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/mainpage.\discretionary {-}{}{}dox}|hyperpage}{32} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/makefile.\discretionary {-}{}{}dox@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/makefile.\discretionary {-}{}{}dox}|hyperpage}{32} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.\discretionary {-}{}{}cpp@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.\discretionary {-}{}{}cpp}|hyperpage}{32} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.\discretionary {-}{}{}dox@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.\discretionary {-}{}{}dox}|hyperpage}{33} -\indexentry{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/\discretionary {-}{}{}Socket.\discretionary {-}{}{}cpp@{/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/\discretionary {-}{}{}Socket.\discretionary {-}{}{}cpp}|hyperpage}{33} diff --git a/Socket/doc/latex/refman.ilg b/Socket/doc/latex/refman.ilg deleted file mode 100644 index 12a029f..0000000 --- a/Socket/doc/latex/refman.ilg +++ /dev/null @@ -1,6 +0,0 @@ -This is makeindex, version 2.15 [TeX Live 2012] (kpathsea + Thai support). -Scanning input file refman.idx....done (123 entries accepted, 0 rejected). -Sorting entries....done (914 comparisons). -Generating output file refman.ind....done (261 lines written, 0 warnings). -Output written in refman.ind. -Transcript written in refman.ilg. diff --git a/Socket/doc/latex/refman.ind b/Socket/doc/latex/refman.ind deleted file mode 100644 index 1722f8d..0000000 --- a/Socket/doc/latex/refman.ind +++ /dev/null @@ -1,261 +0,0 @@ -\begin{theindex} - - \item {$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception} - \subitem {Socket\discretionary {-}{}{}Exception}, \hyperpage{22} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/\discretionary {-}{}{}Socket.\discretionary {-}{}{}cpp}, - \hyperpage{33} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.\discretionary {-}{}{}cpp}, - \hyperpage{25} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.\discretionary {-}{}{}dox}, - \hyperpage{26} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/conf.\discretionary {-}{}{}dox}, - \hyperpage{26} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/howto.\discretionary {-}{}{}dox}, - \hyperpage{26} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket.\discretionary {-}{}{}h}, - \hyperpage{29} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception.\discretionary {-}{}{}h}, - \hyperpage{29} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/server.\discretionary {-}{}{}h}, - \hyperpage{27} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}, - \hyperpage{30} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/mainpage.\discretionary {-}{}{}dox}, - \hyperpage{32} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/makefile.\discretionary {-}{}{}dox}, - \hyperpage{32} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.\discretionary {-}{}{}cpp}, - \hyperpage{32} - \item {/home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.\discretionary {-}{}{}dox}, - \hyperpage{33} - - \indexspace - - \item {Accept} - \subitem {Socket}, \hyperpage{19} - - \indexspace - - \item {Bind} - \subitem {Socket}, \hyperpage{19} - - \indexspace - - \item {C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E} - \subitem {server.\discretionary {-}{}{}h}, \hyperpage{28} - \item {client.\discretionary {-}{}{}cpp} - \subitem {exit\discretionary {-}{}{}Client}, \hyperpage{25} - \subitem {main}, \hyperpage{26} - \item {Close} - \subitem {Socket}, \hyperpage{19} - \item {condition} - \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, - \hyperpage{23} - \item {Connect} - \subitem {Socket}, \hyperpage{19} - \item {Create} - \subitem {Socket}, \hyperpage{20} - - \indexspace - - \item {description} - \subitem {Socket\discretionary {-}{}{}Exception}, \hyperpage{22} - - \indexspace - - \item {exit\discretionary {-}{}{}Client} - \subitem {client.\discretionary {-}{}{}cpp}, \hyperpage{25} - - \indexspace - - \item {free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M} - \subitem {Server}, \hyperpage{16} - - \indexspace - - \item {get\discretionary {-}{}{}N\discretionary {-}{}{}Workers} - \subitem {Server}, \hyperpage{16} - \item {get\discretionary {-}{}{}Sock} - \subitem {Socket}, \hyperpage{20} - \item {get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads} - \subitem {Server}, \hyperpage{16} - \item {get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads} - \subitem {Server}, \hyperpage{16} - - \indexspace - - \item {id} - \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, - \hyperpage{23} - - \indexspace - - \item {kill\discretionary {-}{}{}Thread} - \subitem {main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}, - \hyperpage{31} - \subitem {server.\discretionary {-}{}{}h}, \hyperpage{28} - - \indexspace - - \item {Listen} - \subitem {Socket}, \hyperpage{20} - - \indexspace - - \item {main} - \subitem {client.\discretionary {-}{}{}cpp}, \hyperpage{26} - \subitem {main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}, - \hyperpage{31} - \item {main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp} - \subitem {kill\discretionary {-}{}{}Thread}, \hyperpage{31} - \subitem {main}, \hyperpage{31} - \subitem {process\discretionary {-}{}{}Text}, \hyperpage{31} - \subitem {read\discretionary {-}{}{}Conf}, \hyperpage{31} - \subitem {serv}, \hyperpage{32} - \subitem {stop\discretionary {-}{}{}Server}, \hyperpage{32} - \subitem {Worker\discretionary {-}{}{}Thread}, \hyperpage{32} - \item {message} - \subitem {Socket\discretionary {-}{}{}Exception}, \hyperpage{22} - \item {mutex} - \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, - \hyperpage{23} - - \indexspace - - \item {N} - \subitem {server.\discretionary {-}{}{}h}, \hyperpage{28} - \item {n\discretionary {-}{}{}Workers} - \subitem {Server}, \hyperpage{17} - - \indexspace - - \item {operator$<$$<$} - \subitem {Socket}, \hyperpage{20} - \item {operator$>$$>$} - \subitem {Socket}, \hyperpage{20} - - \indexspace - - \item {process\discretionary {-}{}{}Text} - \subitem {main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}, - \hyperpage{31} - \subitem {server.\discretionary {-}{}{}h}, \hyperpage{28} - - \indexspace - - \item {read\discretionary {-}{}{}Conf} - \subitem {main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}, - \hyperpage{31} - \subitem {server.\discretionary {-}{}{}h}, \hyperpage{28} - \item {Receive} - \subitem {Socket}, \hyperpage{20} - \item {request\discretionary {-}{}{}Exit} - \subitem {Server}, \hyperpage{16} - - \indexspace - - \item {s} - \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, - \hyperpage{23} - \item {Send} - \subitem {Socket}, \hyperpage{21} - \item {serv} - \subitem {main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}, - \hyperpage{32} - \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, - \hyperpage{24} - \item {Server}, \hyperpage{15} - \subitem {free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M}, - \hyperpage{16} - \subitem {get\discretionary {-}{}{}N\discretionary {-}{}{}Workers}, - \hyperpage{16} - \subitem {get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads}, - \hyperpage{16} - \subitem {get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads}, - \hyperpage{16} - \subitem {n\discretionary {-}{}{}Workers}, \hyperpage{17} - \subitem {request\discretionary {-}{}{}Exit}, \hyperpage{16} - \subitem {Server}, \hyperpage{16} - \subitem {set\discretionary {-}{}{}N\discretionary {-}{}{}Workers}, - \hyperpage{17} - \subitem {shutdown\discretionary {-}{}{}Server}, \hyperpage{17} - \subitem {ss}, \hyperpage{17} - \subitem {start\discretionary {-}{}{}Server}, \hyperpage{17} - \subitem {started\discretionary {-}{}{}Threads}, \hyperpage{17} - \subitem {stopped\discretionary {-}{}{}Threads}, \hyperpage{17} - \subitem {worker\discretionary {-}{}{}I\discretionary {-}{}{}D}, - \hyperpage{18} - \item {server.\discretionary {-}{}{}h} - \subitem {C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E}, - \hyperpage{28} - \subitem {kill\discretionary {-}{}{}Thread}, \hyperpage{28} - \subitem {N}, \hyperpage{28} - \subitem {process\discretionary {-}{}{}Text}, \hyperpage{28} - \subitem {read\discretionary {-}{}{}Conf}, \hyperpage{28} - \subitem {Worker\discretionary {-}{}{}Thread}, \hyperpage{28} - \item {set\discretionary {-}{}{}N\discretionary {-}{}{}Workers} - \subitem {Server}, \hyperpage{17} - \item {shutdown\discretionary {-}{}{}Server} - \subitem {Server}, \hyperpage{17} - \item {sock} - \subitem {Socket}, \hyperpage{21} - \item {sock\discretionary {-}{}{}Addr} - \subitem {Socket}, \hyperpage{21} - \item {Socket}, \hyperpage{18} - \subitem {Accept}, \hyperpage{19} - \subitem {Bind}, \hyperpage{19} - \subitem {Close}, \hyperpage{19} - \subitem {Connect}, \hyperpage{19} - \subitem {Create}, \hyperpage{20} - \subitem {get\discretionary {-}{}{}Sock}, \hyperpage{20} - \subitem {Listen}, \hyperpage{20} - \subitem {operator$<$$<$}, \hyperpage{20} - \subitem {operator$>$$>$}, \hyperpage{20} - \subitem {Receive}, \hyperpage{20} - \subitem {Send}, \hyperpage{21} - \subitem {sock}, \hyperpage{21} - \subitem {sock\discretionary {-}{}{}Addr}, \hyperpage{21} - \subitem {Socket}, \hyperpage{19} - \item {Socket\discretionary {-}{}{}Exception}, \hyperpage{21} - \subitem {$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception}, - \hyperpage{22} - \subitem {description}, \hyperpage{22} - \subitem {message}, \hyperpage{22} - \subitem {Socket\discretionary {-}{}{}Exception}, \hyperpage{22} - \subitem {Socket\discretionary {-}{}{}Exception}, \hyperpage{22} - \item {ss} - \subitem {Server}, \hyperpage{17} - \item {start\discretionary {-}{}{}Server} - \subitem {Server}, \hyperpage{17} - \item {started\discretionary {-}{}{}Threads} - \subitem {Server}, \hyperpage{17} - \item {stop\discretionary {-}{}{}Server} - \subitem {main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}, - \hyperpage{32} - \item {stopped\discretionary {-}{}{}Threads} - \subitem {Server}, \hyperpage{17} - - \indexspace - - \item {thread} - \subitem {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, - \hyperpage{24} - \item {thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}, - \hyperpage{22} - \subitem {condition}, \hyperpage{23} - \subitem {id}, \hyperpage{23} - \subitem {mutex}, \hyperpage{23} - \subitem {s}, \hyperpage{23} - \subitem {serv}, \hyperpage{24} - \subitem {thread}, \hyperpage{24} - - \indexspace - - \item {worker\discretionary {-}{}{}I\discretionary {-}{}{}D} - \subitem {Server}, \hyperpage{18} - \item {Worker\discretionary {-}{}{}Thread} - \subitem {main\discretionary {-}{}{}\_\discretionary {-}{}{}server.\discretionary {-}{}{}cpp}, - \hyperpage{32} - \subitem {server.\discretionary {-}{}{}h}, \hyperpage{28} - -\end{theindex} diff --git a/Socket/doc/latex/refman.log b/Socket/doc/latex/refman.log deleted file mode 100644 index 0ba7b4d..0000000 --- a/Socket/doc/latex/refman.log +++ /dev/null @@ -1,1603 +0,0 @@ -This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) (format=pdflatex 2013.7.29) 26 NOV 2013 11:34 -entering extended mode - restricted \write18 enabled. - %&-line parsing enabled. -**refman -(./refman.tex -LaTeX2e <2011/06/27> -Babel and hyphenation patterns for english, dumylang, nohyphenation, lo -aded. -(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls -Document Class: book 2007/10/19 v1.4h Standard LaTeX document class -(/usr/share/texlive/texmf-dist/tex/latex/base/bk10.clo -File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) -) -\c@part=\count79 -\c@chapter=\count80 -\c@section=\count81 -\c@subsection=\count82 -\c@subsubsection=\count83 -\c@paragraph=\count84 -\c@subparagraph=\count85 -\c@figure=\count86 -\c@table=\count87 -\abovecaptionskip=\skip41 -\belowcaptionskip=\skip42 -\bibindent=\dimen102 -) -(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty -Package: geometry 2010/09/12 v5.6 Page Geometry - -(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty -Package: keyval 1999/03/16 v1.13 key=value parser (DPC) -\KV@toks@=\toks14 -) -(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty -Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO) -Package ifpdf Info: pdfTeX in PDF mode is detected. -) -(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty -Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO) -Package ifvtex Info: VTeX not detected. -) -(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty -Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional -) -\Gm@cnth=\count88 -\Gm@cntv=\count89 -\c@Gm@tempcnt=\count90 -\Gm@bindingoffset=\dimen103 -\Gm@wd@mp=\dimen104 -\Gm@odd@mp=\dimen105 -\Gm@even@mp=\dimen106 -\Gm@layoutwidth=\dimen107 -\Gm@layoutheight=\dimen108 -\Gm@layouthoffset=\dimen109 -\Gm@layoutvoffset=\dimen110 -\Gm@dimlist=\toks15 -) -(/usr/share/texlive/texmf-dist/tex/latex/base/makeidx.sty -Package: makeidx 2000/03/29 v1.0m Standard LaTeX package -) -(/usr/share/texlive/texmf-dist/tex/latex/natbib/natbib.sty -Package: natbib 2010/09/13 8.31b (PWD, AO) -\bibhang=\skip43 -\bibsep=\skip44 -LaTeX Info: Redefining \cite on input line 694. -\c@NAT@ctr=\count91 -) -(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty -Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) - -(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty -Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) - -(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty -Package: trig 1999/03/16 v1.09 sin cos tan (DPC) -) -(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg -File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live -) -Package graphics Info: Driver file: pdftex.def on input line 91. - -(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def -File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX - -(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty -Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) -) -(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty -Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) -) -\Gread@gobject=\count92 -)) -\Gin@req@height=\dimen111 -\Gin@req@width=\dimen112 -) -(/usr/share/texlive/texmf-dist/tex/latex/tools/multicol.sty -Package: multicol 2011/06/27 v1.7a multicolumn formatting (FMi) -\c@tracingmulticols=\count93 -\mult@box=\box26 -\multicol@leftmargin=\dimen113 -\c@unbalance=\count94 -\c@collectmore=\count95 -\doublecol@number=\count96 -\multicoltolerance=\count97 -\multicolpretolerance=\count98 -\full@width=\dimen114 -\page@free=\dimen115 -\premulticols=\dimen116 -\postmulticols=\dimen117 -\multicolsep=\skip45 -\multicolbaselineskip=\skip46 -\partial@page=\box27 -\last@line=\box28 -\mult@rightbox=\box29 -\mult@grightbox=\box30 -\mult@gfirstbox=\box31 -\mult@firstbox=\box32 -\@tempa=\box33 -\@tempa=\box34 -\@tempa=\box35 -\@tempa=\box36 -\@tempa=\box37 -\@tempa=\box38 -\@tempa=\box39 -\@tempa=\box40 -\@tempa=\box41 -\@tempa=\box42 -\@tempa=\box43 -\@tempa=\box44 -\@tempa=\box45 -\@tempa=\box46 -\@tempa=\box47 -\@tempa=\box48 -\@tempa=\box49 -\c@columnbadness=\count99 -\c@finalcolumnbadness=\count100 -\last@try=\dimen118 -\multicolovershoot=\dimen119 -\multicolundershoot=\dimen120 -\mult@nat@firstbox=\box50 -\colbreak@box=\box51 -\multicol@sort@counter=\count101 -) -(/usr/share/texlive/texmf-dist/tex/latex/float/float.sty -Package: float 2001/11/08 v1.3d Float enhancements (AL) -\c@float@type=\count102 -\float@exts=\toks16 -\float@box=\box52 -\@float@everytoks=\toks17 -\@floatcapt=\box53 -) -(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.sty -\lst@mode=\count103 -\lst@gtempboxa=\box54 -\lst@token=\toks18 -\lst@length=\count104 -\lst@currlwidth=\dimen121 -\lst@column=\count105 -\lst@pos=\count106 -\lst@lostspace=\dimen122 -\lst@width=\dimen123 -\lst@newlines=\count107 -\lst@lineno=\count108 -\lst@maxwidth=\dimen124 - -(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty -File: lstmisc.sty 2007/02/22 1.4 (Carsten Heinz) -\c@lstnumber=\count109 -\lst@skipnumbers=\count110 -\lst@framebox=\box55 -) -(/usr/share/texlive/texmf-dist/tex/latex/listings/listings.cfg -File: listings.cfg 2007/02/22 1.4 listings configuration -)) -Package: listings 2007/02/22 1.4 (Carsten Heinz) - -(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty -Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC) - -(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg -File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive -) -Package color Info: Driver file: pdftex.def on input line 130. -) -(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty -Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) -) -(/usr/share/texmf/tex/latex/xcolor/xcolor.sty -Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK) - -(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg -File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive -) -Package xcolor Info: Driver file: pdftex.def on input line 225. - -(/usr/share/texlive/texmf-dist/tex/latex/colortbl/colortbl.sty -Package: colortbl 2012/02/13 v1.0a Color table columns (DPC) - -(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty -Package: array 2008/09/09 v2.4c Tabular extension package (FMi) -\col@sep=\dimen125 -\extrarowheight=\dimen126 -\NC@list=\toks19 -\extratabsurround=\skip47 -\backup@length=\skip48 -) -\everycr=\toks20 -\minrowclearance=\skip49 -) -LaTeX Info: Redefining \color on input line 702. -\rownum=\count111 -Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337. -Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341. -Package xcolor Info: Model `RGB' extended on input line 1353. -Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355. -Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356. -Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357. -Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358. -Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359. -Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360. -) -(/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty -Package: textcomp 2005/09/27 v1.99g Standard LaTeX package -Package textcomp Info: Sub-encoding information: -(textcomp) 5 = only ISO-Adobe without \textcurrency -(textcomp) 4 = 5 + \texteuro -(textcomp) 3 = 4 + \textohm -(textcomp) 2 = 3 + \textestimated + \textcurrency -(textcomp) 1 = TS1 - \textcircled - \t -(textcomp) 0 = TS1 (full) -(textcomp) Font families with sub-encoding setting implement -(textcomp) only a restricted character set as indicated. -(textcomp) Family '?' is the default used for unknown fonts. -(textcomp) See the documentation for details. -Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 71. - -(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.def -File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file -) -LaTeX Info: Redefining \oldstylenums on input line 266. -Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 281. -Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 282. -Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 283. -Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line 284. -Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line 285. -Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line 286. -Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line 287. -Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line 288. -Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line 289. -Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line 290. -Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line 291. -Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line 292. -Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line 293. -Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line 294. -Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line 295. -Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line 296. -Package textcomp Info: Setting put sub-encoding to TS1/5 on input line 297. -Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line 298. -Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line 299. -Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line 300. -Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line 301. -Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line 302. -Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input line 303. -Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input line 304. - -Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 305. -Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line 306. -Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line 307. -Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line 308. -Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line 309. -Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line 310. -Package textcomp Info: Setting lmr sub-encoding to TS1/0 on input line 311. -Package textcomp Info: Setting lmdh sub-encoding to TS1/0 on input line 312. -Package textcomp Info: Setting lmss sub-encoding to TS1/0 on input line 313. -Package textcomp Info: Setting lmssq sub-encoding to TS1/0 on input line 314. -Package textcomp Info: Setting lmvtt sub-encoding to TS1/0 on input line 315. -Package textcomp Info: Setting qhv sub-encoding to TS1/0 on input line 316. -Package textcomp Info: Setting qag sub-encoding to TS1/0 on input line 317. -Package textcomp Info: Setting qbk sub-encoding to TS1/0 on input line 318. -Package textcomp Info: Setting qcr sub-encoding to TS1/0 on input line 319. -Package textcomp Info: Setting qcs sub-encoding to TS1/0 on input line 320. -Package textcomp Info: Setting qpl sub-encoding to TS1/0 on input line 321. -Package textcomp Info: Setting qtm sub-encoding to TS1/0 on input line 322. -Package textcomp Info: Setting qzc sub-encoding to TS1/0 on input line 323. -Package textcomp Info: Setting qhvc sub-encoding to TS1/0 on input line 324. -Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line 325. -Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line 326. -Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line 327. -Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line 328. -Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line 329. -Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line 330. -Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line 331. -Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line 332. -Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line 333. -Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 334. -Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line 335. -Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line 336. -Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 337. -Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 338. -Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 339. -Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 340. -) -(/usr/share/texlive/texmf-dist/tex/latex/base/alltt.sty -Package: alltt 1997/06/16 v2.0g defines alltt environment -) -(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty -Package: hyperref 2012/05/13 v6.82q Hypertext links for LaTeX - -(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty -Package: hobsub-hyperref 2012/05/28 v1.13 Bundle oberdiek, subset hyperref (HO) - - -(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty -Package: hobsub-generic 2012/05/28 v1.13 Bundle oberdiek, subset generic (HO) -Package: hobsub 2012/05/28 v1.13 Construct package bundles (HO) -Package hobsub Info: Skipping package `infwarerr' (already loaded). -Package hobsub Info: Skipping package `ltxcmds' (already loaded). -Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO) -Package ifluatex Info: LuaTeX not detected. -Package hobsub Info: Skipping package `ifvtex' (already loaded). -Package: intcalc 2007/09/27 v1.1 Expandable calculations with integers (HO) -Package hobsub Info: Skipping package `ifpdf' (already loaded). -Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) -Package etexcmds Info: Could not find \expanded. -(etexcmds) That can mean that you are not using pdfTeX 1.50 or -(etexcmds) that some package has redefined \expanded. -(etexcmds) In the latter case, load this package earlier. -Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO) -Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO) -Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO -) -Package pdftexcmds Info: LuaTeX not detected. -Package pdftexcmds Info: \pdf@primitive is available. -Package pdftexcmds Info: \pdf@ifprimitive is available. -Package pdftexcmds Info: \pdfdraftmode found. -Package: pdfescape 2011/11/25 v1.13 Implements pdfTeX's escape features (HO) -Package: bigintcalc 2012/04/08 v1.3 Expandable calculations on big integers (HO -) -Package: bitset 2011/01/30 v1.1 Handle bit-vector datatype (HO) -Package: uniquecounter 2011/01/30 v1.2 Provide unlimited unique counter (HO) -) -Package hobsub Info: Skipping package `hobsub' (already loaded). -Package: letltxmacro 2010/09/02 v1.4 Let assignment for LaTeX macros (HO) -Package: hopatch 2012/05/28 v1.2 Wrapper for package hooks (HO) -Package: xcolor-patch 2011/01/30 xcolor patch -Package: atveryend 2011/06/30 v1.8 Hooks at the very end of document (HO) -Package atveryend Info: \enddocument detected (standard20110627). -Package: atbegshi 2011/10/05 v1.16 At begin shipout hook (HO) -Package: refcount 2011/10/16 v3.4 Data extraction from label references (HO) -Package: hycolor 2011/01/30 v1.7 Color options for hyperref/bookmark (HO) -) -(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty -Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO) -) -\@linkdim=\dimen127 -\Hy@linkcounter=\count112 -\Hy@pagecounter=\count113 - -(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def -File: pd1enc.def 2012/05/13 v6.82q Hyperref: PDFDocEncoding definition (HO) -) -\Hy@SavedSpaceFactor=\count114 - -(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg -File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive -) -Package hyperref Info: Option `colorlinks' set `true' on input line 3941. -Package hyperref Info: Option `unicode' set `true' on input line 3941. - -(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def -File: puenc.def 2012/05/13 v6.82q Hyperref: PDF Unicode definition (HO) -) -Package hyperref Info: Hyper figures OFF on input line 4062. -Package hyperref Info: Link nesting OFF on input line 4067. -Package hyperref Info: Hyper index ON on input line 4070. -Package hyperref Info: Plain pages OFF on input line 4077. -Package hyperref Info: Backreferencing ON on input line 4080. -Package hyperref Info: Implicit mode ON; LaTeX internals redefined. -Package hyperref Info: Bookmarks ON on input line 4300. - -(/usr/share/texlive/texmf-dist/tex/latex/hyperref/backref.sty -Package: backref 2010/08/30 v1.36 Bibliographical back referencing - -(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty -Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO) -Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2 -82. -)) -\c@Hy@tempcnt=\count115 - -(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty -\Urlmuskip=\muskip10 -Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc. -) -LaTeX Info: Redefining \url on input line 4653. -\Fld@menulength=\count116 -\Field@Width=\dimen128 -\Fld@charsize=\dimen129 -Package hyperref Info: Hyper figures OFF on input line 5773. -Package hyperref Info: Link nesting OFF on input line 5778. -Package hyperref Info: Hyper index ON on input line 5781. -Package hyperref Info: backreferencing ON on input line 5786. -Package hyperref Info: Link coloring ON on input line 5791. -Package hyperref Info: Link coloring with OCG OFF on input line 5798. -Package hyperref Info: PDF/A mode OFF on input line 5803. -LaTeX Info: Redefining \ref on input line 5843. -LaTeX Info: Redefining \pageref on input line 5847. -\Hy@abspage=\count117 -\c@Item=\count118 -\c@Hfootnote=\count119 -) - -Package hyperref Message: Driver: hpdftex. - -(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def -File: hpdftex.def 2012/05/13 v6.82q Hyperref driver for pdfTeX -\Fld@listcount=\count120 -\c@bookmark@seq@number=\count121 -\Hy@SectionHShift=\skip50 -) -(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty -Package: inputenc 2008/03/30 v1.1d Input encoding file -\inpenc@prehook=\toks21 -\inpenc@posthook=\toks22 - -(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def -File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc -Now handling font encoding OML ... -... no UTF-8 mapping file for font encoding OML -Now handling font encoding T1 ... -... processing UTF-8 mapping file for font encoding T1 - -(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu -File: t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc - defining Unicode char U+00A1 (decimal 161) - defining Unicode char U+00A3 (decimal 163) - defining Unicode char U+00AB (decimal 171) - defining Unicode char U+00BB (decimal 187) - defining Unicode char U+00BF (decimal 191) - defining Unicode char U+00C0 (decimal 192) - defining Unicode char U+00C1 (decimal 193) - defining Unicode char U+00C2 (decimal 194) - defining Unicode char U+00C3 (decimal 195) - defining Unicode char U+00C4 (decimal 196) - defining Unicode char U+00C5 (decimal 197) - defining Unicode char U+00C6 (decimal 198) - defining Unicode char U+00C7 (decimal 199) - defining Unicode char U+00C8 (decimal 200) - defining Unicode char U+00C9 (decimal 201) - defining Unicode char U+00CA (decimal 202) - defining Unicode char U+00CB (decimal 203) - defining Unicode char U+00CC (decimal 204) - defining Unicode char U+00CD (decimal 205) - defining Unicode char U+00CE (decimal 206) - defining Unicode char U+00CF (decimal 207) - defining Unicode char U+00D0 (decimal 208) - defining Unicode char U+00D1 (decimal 209) - defining Unicode char U+00D2 (decimal 210) - defining Unicode char U+00D3 (decimal 211) - defining Unicode char U+00D4 (decimal 212) - defining Unicode char U+00D5 (decimal 213) - defining Unicode char U+00D6 (decimal 214) - defining Unicode char U+00D8 (decimal 216) - defining Unicode char U+00D9 (decimal 217) - defining Unicode char U+00DA (decimal 218) - defining Unicode char U+00DB (decimal 219) - defining Unicode char U+00DC (decimal 220) - defining Unicode char U+00DD (decimal 221) - defining Unicode char U+00DE (decimal 222) - defining Unicode char U+00DF (decimal 223) - defining Unicode char U+00E0 (decimal 224) - defining Unicode char U+00E1 (decimal 225) - defining Unicode char U+00E2 (decimal 226) - defining Unicode char U+00E3 (decimal 227) - defining Unicode char U+00E4 (decimal 228) - defining Unicode char U+00E5 (decimal 229) - defining Unicode char U+00E6 (decimal 230) - defining Unicode char U+00E7 (decimal 231) - defining Unicode char U+00E8 (decimal 232) - defining Unicode char U+00E9 (decimal 233) - defining Unicode char U+00EA (decimal 234) - defining Unicode char U+00EB (decimal 235) - defining Unicode char U+00EC (decimal 236) - defining Unicode char U+00ED (decimal 237) - defining Unicode char U+00EE (decimal 238) - defining Unicode char U+00EF (decimal 239) - defining Unicode char U+00F0 (decimal 240) - defining Unicode char U+00F1 (decimal 241) - defining Unicode char U+00F2 (decimal 242) - defining Unicode char U+00F3 (decimal 243) - defining Unicode char U+00F4 (decimal 244) - defining Unicode char U+00F5 (decimal 245) - defining Unicode char U+00F6 (decimal 246) - defining Unicode char U+00F8 (decimal 248) - defining Unicode char U+00F9 (decimal 249) - defining Unicode char U+00FA (decimal 250) - defining Unicode char U+00FB (decimal 251) - defining Unicode char U+00FC (decimal 252) - defining Unicode char U+00FD (decimal 253) - defining Unicode char U+00FE (decimal 254) - defining Unicode char U+00FF (decimal 255) - defining Unicode char U+0102 (decimal 258) - defining Unicode char U+0103 (decimal 259) - defining Unicode char U+0104 (decimal 260) - defining Unicode char U+0105 (decimal 261) - defining Unicode char U+0106 (decimal 262) - defining Unicode char U+0107 (decimal 263) - defining Unicode char U+010C (decimal 268) - defining Unicode char U+010D (decimal 269) - defining Unicode char U+010E (decimal 270) - defining Unicode char U+010F (decimal 271) - defining Unicode char U+0110 (decimal 272) - defining Unicode char U+0111 (decimal 273) - defining Unicode char U+0118 (decimal 280) - defining Unicode char U+0119 (decimal 281) - defining Unicode char U+011A (decimal 282) - defining Unicode char U+011B (decimal 283) - defining Unicode char U+011E (decimal 286) - defining Unicode char U+011F (decimal 287) - defining Unicode char U+0130 (decimal 304) - defining Unicode char U+0131 (decimal 305) - defining Unicode char U+0132 (decimal 306) - defining Unicode char U+0133 (decimal 307) - defining Unicode char U+0139 (decimal 313) - defining Unicode char U+013A (decimal 314) - defining Unicode char U+013D (decimal 317) - defining Unicode char U+013E (decimal 318) - defining Unicode char U+0141 (decimal 321) - defining Unicode char U+0142 (decimal 322) - defining Unicode char U+0143 (decimal 323) - defining Unicode char U+0144 (decimal 324) - defining Unicode char U+0147 (decimal 327) - defining Unicode char U+0148 (decimal 328) - defining Unicode char U+014A (decimal 330) - defining Unicode char U+014B (decimal 331) - defining Unicode char U+0150 (decimal 336) - defining Unicode char U+0151 (decimal 337) - defining Unicode char U+0152 (decimal 338) - defining Unicode char U+0153 (decimal 339) - defining Unicode char U+0154 (decimal 340) - defining Unicode char U+0155 (decimal 341) - defining Unicode char U+0158 (decimal 344) - defining Unicode char U+0159 (decimal 345) - defining Unicode char U+015A (decimal 346) - defining Unicode char U+015B (decimal 347) - defining Unicode char U+015E (decimal 350) - defining Unicode char U+015F (decimal 351) - defining Unicode char U+0160 (decimal 352) - defining Unicode char U+0161 (decimal 353) - defining Unicode char U+0162 (decimal 354) - defining Unicode char U+0163 (decimal 355) - defining Unicode char U+0164 (decimal 356) - defining Unicode char U+0165 (decimal 357) - defining Unicode char U+016E (decimal 366) - defining Unicode char U+016F (decimal 367) - defining Unicode char U+0170 (decimal 368) - defining Unicode char U+0171 (decimal 369) - defining Unicode char U+0178 (decimal 376) - defining Unicode char U+0179 (decimal 377) - defining Unicode char U+017A (decimal 378) - defining Unicode char U+017B (decimal 379) - defining Unicode char U+017C (decimal 380) - defining Unicode char U+017D (decimal 381) - defining Unicode char U+017E (decimal 382) - defining Unicode char U+200C (decimal 8204) - defining Unicode char U+2013 (decimal 8211) - defining Unicode char U+2014 (decimal 8212) - defining Unicode char U+2018 (decimal 8216) - defining Unicode char U+2019 (decimal 8217) - defining Unicode char U+201A (decimal 8218) - defining Unicode char U+201C (decimal 8220) - defining Unicode char U+201D (decimal 8221) - defining Unicode char U+201E (decimal 8222) - defining Unicode char U+2030 (decimal 8240) - defining Unicode char U+2031 (decimal 8241) - defining Unicode char U+2039 (decimal 8249) - defining Unicode char U+203A (decimal 8250) - defining Unicode char U+2423 (decimal 9251) -) -Now handling font encoding OT1 ... -... processing UTF-8 mapping file for font encoding OT1 - -(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu -File: ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc - defining Unicode char U+00A1 (decimal 161) - defining Unicode char U+00A3 (decimal 163) - defining Unicode char U+00B8 (decimal 184) - defining Unicode char U+00BF (decimal 191) - defining Unicode char U+00C5 (decimal 197) - defining Unicode char U+00C6 (decimal 198) - defining Unicode char U+00D8 (decimal 216) - defining Unicode char U+00DF (decimal 223) - defining Unicode char U+00E6 (decimal 230) - defining Unicode char U+00EC (decimal 236) - defining Unicode char U+00ED (decimal 237) - defining Unicode char U+00EE (decimal 238) - defining Unicode char U+00EF (decimal 239) - defining Unicode char U+00F8 (decimal 248) - defining Unicode char U+0131 (decimal 305) - defining Unicode char U+0141 (decimal 321) - defining Unicode char U+0142 (decimal 322) - defining Unicode char U+0152 (decimal 338) - defining Unicode char U+0153 (decimal 339) - defining Unicode char U+2013 (decimal 8211) - defining Unicode char U+2014 (decimal 8212) - defining Unicode char U+2018 (decimal 8216) - defining Unicode char U+2019 (decimal 8217) - defining Unicode char U+201C (decimal 8220) - defining Unicode char U+201D (decimal 8221) -) -Now handling font encoding OMS ... -... processing UTF-8 mapping file for font encoding OMS - -(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu -File: omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc - defining Unicode char U+00A7 (decimal 167) - defining Unicode char U+00B6 (decimal 182) - defining Unicode char U+00B7 (decimal 183) - defining Unicode char U+2020 (decimal 8224) - defining Unicode char U+2021 (decimal 8225) - defining Unicode char U+2022 (decimal 8226) -) -Now handling font encoding OMX ... -... no UTF-8 mapping file for font encoding OMX -Now handling font encoding U ... -... no UTF-8 mapping file for font encoding U -Now handling font encoding TS1 ... -... processing UTF-8 mapping file for font encoding TS1 - -(/usr/share/texlive/texmf-dist/tex/latex/base/ts1enc.dfu -File: ts1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc - defining Unicode char U+00A2 (decimal 162) - defining Unicode char U+00A3 (decimal 163) - defining Unicode char U+00A4 (decimal 164) - defining Unicode char U+00A5 (decimal 165) - defining Unicode char U+00A6 (decimal 166) - defining Unicode char U+00A7 (decimal 167) - defining Unicode char U+00A8 (decimal 168) - defining Unicode char U+00A9 (decimal 169) - defining Unicode char U+00AA (decimal 170) - defining Unicode char U+00AC (decimal 172) - defining Unicode char U+00AE (decimal 174) - defining Unicode char U+00AF (decimal 175) - defining Unicode char U+00B0 (decimal 176) - defining Unicode char U+00B1 (decimal 177) - defining Unicode char U+00B2 (decimal 178) - defining Unicode char U+00B3 (decimal 179) - defining Unicode char U+00B4 (decimal 180) - defining Unicode char U+00B5 (decimal 181) - defining Unicode char U+00B6 (decimal 182) - defining Unicode char U+00B7 (decimal 183) - defining Unicode char U+00B9 (decimal 185) - defining Unicode char U+00BA (decimal 186) - defining Unicode char U+00BC (decimal 188) - defining Unicode char U+00BD (decimal 189) - defining Unicode char U+00BE (decimal 190) - defining Unicode char U+00D7 (decimal 215) - defining Unicode char U+00F7 (decimal 247) - defining Unicode char U+0192 (decimal 402) - defining Unicode char U+02C7 (decimal 711) - defining Unicode char U+02D8 (decimal 728) - defining Unicode char U+02DD (decimal 733) - defining Unicode char U+0E3F (decimal 3647) - defining Unicode char U+2016 (decimal 8214) - defining Unicode char U+2020 (decimal 8224) - defining Unicode char U+2021 (decimal 8225) - defining Unicode char U+2022 (decimal 8226) - defining Unicode char U+2030 (decimal 8240) - defining Unicode char U+2031 (decimal 8241) - defining Unicode char U+203B (decimal 8251) - defining Unicode char U+203D (decimal 8253) - defining Unicode char U+2044 (decimal 8260) - defining Unicode char U+204E (decimal 8270) - defining Unicode char U+2052 (decimal 8274) - defining Unicode char U+20A1 (decimal 8353) - defining Unicode char U+20A4 (decimal 8356) - defining Unicode char U+20A6 (decimal 8358) - defining Unicode char U+20A9 (decimal 8361) - defining Unicode char U+20AB (decimal 8363) - defining Unicode char U+20AC (decimal 8364) - defining Unicode char U+20B1 (decimal 8369) - defining Unicode char U+2103 (decimal 8451) - defining Unicode char U+2116 (decimal 8470) - defining Unicode char U+2117 (decimal 8471) - defining Unicode char U+211E (decimal 8478) - defining Unicode char U+2120 (decimal 8480) - defining Unicode char U+2122 (decimal 8482) - defining Unicode char U+2126 (decimal 8486) - defining Unicode char U+2127 (decimal 8487) - defining Unicode char U+212E (decimal 8494) - defining Unicode char U+2190 (decimal 8592) - defining Unicode char U+2191 (decimal 8593) - defining Unicode char U+2192 (decimal 8594) - defining Unicode char U+2193 (decimal 8595) - defining Unicode char U+2329 (decimal 9001) - defining Unicode char U+232A (decimal 9002) - defining Unicode char U+2422 (decimal 9250) - defining Unicode char U+25E6 (decimal 9702) - defining Unicode char U+25EF (decimal 9711) - defining Unicode char U+266A (decimal 9834) -) -Now handling font encoding PD1 ... -... no UTF-8 mapping file for font encoding PD1 -Now handling font encoding PU ... -... no UTF-8 mapping file for font encoding PU - defining Unicode char U+00A9 (decimal 169) - defining Unicode char U+00AA (decimal 170) - defining Unicode char U+00AE (decimal 174) - defining Unicode char U+00BA (decimal 186) - defining Unicode char U+02C6 (decimal 710) - defining Unicode char U+02DC (decimal 732) - defining Unicode char U+200C (decimal 8204) - defining Unicode char U+2026 (decimal 8230) - defining Unicode char U+2122 (decimal 8482) - defining Unicode char U+2423 (decimal 9251) -)) -(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty -Package: babel 2008/07/08 v3.8m The Babel package - -(/usr/share/texlive/texmf-dist/tex/generic/babel/spanish.ldf -Language: spanish.ldf 2011/10/06 v5.0k Spanish support from the babel system - -(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def -File: babel.def 2008/07/08 v3.8m Babel common definitions -\babel@savecnt=\count122 -\U@D=\dimen130 -) - -Package babel Warning: No hyphenation patterns were loaded for -(babel) the language `Spanish' -(babel) I will use the patterns loaded for \language=0 instead. - -\l@spanish = a dialect from \language0 -\es@datefmt=\count123 -\es@quottoks=\toks23 -\es@quotdepth=\count124 -Package babel Info: Making " an active character on input line 496. -Package babel Info: Making . an active character on input line 599. -Package babel Info: Making < an active character on input line 644. -Package babel Info: Making > an active character on input line 644. -)) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/mathptmx.sty -Package: mathptmx 2005/04/12 PSNFSS-v9.2a Times w/ Math, improved (SPQR, WaS) -LaTeX Font Info: Redeclaring symbol font `operators' on input line 28. -LaTeX Font Info: Overwriting symbol font `operators' in version `normal' -(Font) OT1/cmr/m/n --> OT1/ztmcm/m/n on input line 28. -LaTeX Font Info: Overwriting symbol font `operators' in version `bold' -(Font) OT1/cmr/bx/n --> OT1/ztmcm/m/n on input line 28. -LaTeX Font Info: Redeclaring symbol font `letters' on input line 29. -LaTeX Font Info: Overwriting symbol font `letters' in version `normal' -(Font) OML/cmm/m/it --> OML/ztmcm/m/it on input line 29. -LaTeX Font Info: Overwriting symbol font `letters' in version `bold' -(Font) OML/cmm/b/it --> OML/ztmcm/m/it on input line 29. -LaTeX Font Info: Redeclaring symbol font `symbols' on input line 30. -LaTeX Font Info: Overwriting symbol font `symbols' in version `normal' -(Font) OMS/cmsy/m/n --> OMS/ztmcm/m/n on input line 30. -LaTeX Font Info: Overwriting symbol font `symbols' in version `bold' -(Font) OMS/cmsy/b/n --> OMS/ztmcm/m/n on input line 30. -LaTeX Font Info: Redeclaring symbol font `largesymbols' on input line 31. -LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal' -(Font) OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31. -LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold' -(Font) OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31. -\symbold=\mathgroup4 -\symitalic=\mathgroup5 -LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 34. -LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal' -(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34. -LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold' -(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34. -LaTeX Font Info: Redeclaring math alphabet \mathit on input line 35. -LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal' -(Font) OT1/cmr/m/it --> OT1/ptm/m/it on input line 35. -LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' -(Font) OT1/cmr/bx/it --> OT1/ptm/m/it on input line 35. -LaTeX Info: Redefining \hbar on input line 50. -) -(/usr/share/texlive/texmf-dist/tex/latex/psnfss/helvet.sty -Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS) -) -(/usr/share/texlive/texmf-dist/tex/latex/psnfss/courier.sty -Package: courier 2005/04/12 PSNFSS-v9.2a (WaS) -) -(/usr/share/texlive/texmf-dist/tex/latex/sectsty/sectsty.sty -Package: sectsty 2002/02/25 v2.0.2 Commands to change all sectional heading sty -les -) -(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty -Package: amssymb 2009/06/22 v3.00 - -(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty -Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support -\@emptytoks=\toks24 -\symAMSa=\mathgroup6 -\symAMSb=\mathgroup7 -LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' -(Font) U/euf/m/n --> U/euf/b/n on input line 96. -)) -(/usr/share/texlive/texmf-dist/tex/latex/tocloft/tocloft.sty -Package: tocloft 2010/10/13 v2.3e parameterised ToC, etc., typesetting -Package tocloft Info: The document has chapter divisions on input line 43. -\cftparskip=\skip51 -\cftbeforetoctitleskip=\skip52 -\cftaftertoctitleskip=\skip53 -\cftbeforepartskip=\skip54 -\cftpartnumwidth=\skip55 -\cftpartindent=\skip56 -\cftbeforechapskip=\skip57 -\cftchapindent=\skip58 -\cftchapnumwidth=\skip59 -\cftbeforesecskip=\skip60 -\cftsecindent=\skip61 -\cftsecnumwidth=\skip62 -\cftbeforesubsecskip=\skip63 -\cftsubsecindent=\skip64 -\cftsubsecnumwidth=\skip65 -\cftbeforesubsubsecskip=\skip66 -\cftsubsubsecindent=\skip67 -\cftsubsubsecnumwidth=\skip68 -\cftbeforeparaskip=\skip69 -\cftparaindent=\skip70 -\cftparanumwidth=\skip71 -\cftbeforesubparaskip=\skip72 -\cftsubparaindent=\skip73 -\cftsubparanumwidth=\skip74 -\cftbeforeloftitleskip=\skip75 -\cftafterloftitleskip=\skip76 -\cftbeforefigskip=\skip77 -\cftfigindent=\skip78 -\cftfignumwidth=\skip79 -\c@lofdepth=\count125 -\c@lotdepth=\count126 -\cftbeforelottitleskip=\skip80 -\cftafterlottitleskip=\skip81 -\cftbeforetabskip=\skip82 -\cfttabindent=\skip83 -\cfttabnumwidth=\skip84 -) (./doxygen.sty -Package: doxygen - -(/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty -Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ) -\calc@Acount=\count127 -\calc@Bcount=\count128 -\calc@Adimen=\dimen131 -\calc@Bdimen=\dimen132 -\calc@Askip=\skip85 -\calc@Bskip=\skip86 -LaTeX Info: Redefining \setlength on input line 76. -LaTeX Info: Redefining \addtolength on input line 77. -\calc@Ccount=\count129 -\calc@Cskip=\skip87 -) -(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty -\fancy@headwidth=\skip88 -\f@ncyO@elh=\skip89 -\f@ncyO@erh=\skip90 -\f@ncyO@olh=\skip91 -\f@ncyO@orh=\skip92 -\f@ncyO@elf=\skip93 -\f@ncyO@erf=\skip94 -\f@ncyO@olf=\skip95 -\f@ncyO@orf=\skip96 -) -(/usr/share/texlive/texmf-dist/tex/latex/tools/longtable.sty -Package: longtable 2004/02/01 v4.11 Multi-page Table package (DPC) -\LTleft=\skip97 -\LTright=\skip98 -\LTpre=\skip99 -\LTpost=\skip100 -\LTchunksize=\count130 -\LTcapwidth=\dimen133 -\LT@head=\box56 -\LT@firsthead=\box57 -\LT@foot=\box58 -\LT@lastfoot=\box59 -\LT@cols=\count131 -\LT@rows=\count132 -\c@LT@tables=\count133 -\c@LT@chunks=\count134 -\LT@p@ftn=\toks25 -) -(/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty -Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements -\every@verbatim=\toks26 -\verbatim@line=\toks27 -\verbatim@in@stream=\read1 -) -(/usr/share/texlive/texmf-dist/tex/latex/xtab/xtab.sty -Package: xtab 2011/07/31 v2.3f Extended supertabular package -\c@tracingst=\count135 -\PWSTcapht=\dimen134 -\ST@wd=\dimen135 -\ST@rightskip=\skip101 -\ST@leftskip=\skip102 -\ST@parfillskip=\skip103 -\c@PWSTtable=\count136 -\PWSTlastpage=\count137 -\PWSTpenultimate=\count138 -\PWSTcurpage=\count139 -\PWSTtempc=\count140 -\PWSTlines=\count141 -\PWST@lastht=\dimen136 -\PWST@generalht=\dimen137 -\PWST@ht=\dimen138 -\ST@pageleft=\dimen139 -\ST@headht=\dimen140 -\ST@tailht=\dimen141 -\ST@pagesofar=\dimen142 -\ST@pboxht=\dimen143 -\ST@lineht=\dimen144 -\ST@stretchht=\dimen145 -\ST@prevht=\dimen146 -\ST@toadd=\dimen147 -\ST@dimen=\dimen148 -\ST@pbox=\box60 -) -(/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty -\bigstrutjot=\dimen149 -) -\tmplength=\skip104 -\xrefbox=\box61 -\xreflength=\skip105 - -(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty -Package: fontenc 2005/09/27 v1.99g Standard LaTeX package - -(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def -File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file -LaTeX Font Info: Redeclaring font encoding T1 on input line 43. -))) -(/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty -File: lstlang1.sty 2004/09/05 1.3 listings language file -) -(/usr/share/texlive/texmf-dist/tex/latex/listings/lstlang1.sty -File: lstlang1.sty 2004/09/05 1.3 listings language file -) -(/usr/share/texlive/texmf-dist/tex/latex/listings/lstmisc.sty -File: lstmisc.sty 2007/02/22 1.4 (Carsten Heinz) -) -\@indexfile=\write3 -\openout3 = `refman.idx'. - - -Writing index file refman.idx -(./refman.aux -LaTeX Info: Redefining \. on input line 21. -LaTeX Info: Redefining \% on input line 21. -) -\openout1 = `refman.aux'. - -LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 49. -LaTeX Font Info: ... okay on input line 49. -LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 49. -LaTeX Font Info: ... okay on input line 49. -LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 49. -LaTeX Font Info: ... okay on input line 49. -LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 49. -LaTeX Font Info: ... okay on input line 49. -LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 49. -LaTeX Font Info: ... okay on input line 49. -LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 49. -LaTeX Font Info: ... okay on input line 49. -LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 49. -LaTeX Font Info: Try loading font information for TS1+cmr on input line 49. - (/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd -File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions -) -LaTeX Font Info: ... okay on input line 49. -LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 49. -LaTeX Font Info: ... okay on input line 49. -LaTeX Font Info: Checking defaults for PU/pdf/m/n on input line 49. -LaTeX Font Info: ... okay on input line 49. -LaTeX Font Info: Try loading font information for T1+phv on input line 49. - -(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd -File: t1phv.fd 2001/06/04 scalable font definitions for T1/phv. -) -LaTeX Font Info: Font shape `T1/phv/m/n' will be -(Font) scaled to size 8.99994pt on input line 49. - -*geometry* driver: auto-detecting -*geometry* detected driver: pdftex -*geometry* verbose mode - [ preamble ] result: -* driver: pdftex -* paper: a4paper -* layout: -* layoutoffset:(h,v)=(0.0pt,0.0pt) -* modes: twoside -* h-part:(L,W,R)=(71.13188pt, 455.24411pt, 71.13188pt) -* v-part:(T,H,B)=(71.13188pt, 702.78308pt, 71.13188pt) -* \paperwidth=597.50787pt -* \paperheight=845.04684pt -* \textwidth=455.24411pt -* \textheight=702.78308pt -* \oddsidemargin=-1.1381pt -* \evensidemargin=-1.1381pt -* \topmargin=-31.2056pt -* \headheight=12.0pt -* \headsep=18.06749pt -* \topskip=10.0pt -* \footskip=25.29494pt -* \marginparwidth=125.0pt -* \marginparsep=7.0pt -* \columnsep=10.0pt -* \skip\footins=9.0pt plus 4.0pt minus 2.0pt -* \hoffset=0.0pt -* \voffset=0.0pt -* \mag=1000 -* \@twocolumnfalse -* \@twosidetrue -* \@mparswitchtrue -* \@reversemarginfalse -* (1in=72.27pt=25.4mm, 1cm=28.453pt) - -(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii -[Loading MPS to PDF converter (version 2006.09.02).] -\scratchcounter=\count142 -\scratchdimen=\dimen150 -\scratchbox=\box62 -\nofMPsegments=\count143 -\nofMParguments=\count144 -\everyMPshowfont=\toks28 -\MPscratchCnt=\count145 -\MPscratchDim=\dimen151 -\MPnumerator=\count146 -\makeMPintoPDFobject=\count147 -\everyMPtoPDFconversion=\toks29 -) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty -Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf - -(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty -Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO) -) -Package grfext Info: Graphics extension search list: -(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE -G,.JBIG2,.JB2,.eps] -(grfext) \AppendGraphicsExtensions on input line 452. - -(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg -File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv -e -)) -\c@lstlisting=\count148 -\AtBeginShipoutBox=\box63 -Package backref Info: ** backref set up for natbib ** on input line 49. -Package hyperref Info: Link coloring ON on input line 49. - -(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty -Package: nameref 2010/04/30 v2.40 Cross-referencing by name of section - -(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty -Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO) -) -\c@section@level=\count149 -) -LaTeX Info: Redefining \ref on input line 49. -LaTeX Info: Redefining \pageref on input line 49. -LaTeX Info: Redefining \nameref on input line 49. - -(./refman.out) (./refman.out) -\@outlinefile=\write4 -\openout4 = `refman.out'. - -LaTeX Info: Redefining \. on input line 49. -LaTeX Info: Redefining \% on input line 49. -\big@size=\dimen152 -Package hyperref Info: Option `pageanchor' set `false' on input line 50. -LaTeX Font Info: Font shape `T1/phv/m/n' will be -(Font) scaled to size 12.9599pt on input line 54. -LaTeX Font Info: Font shape `T1/phv/m/n' will be -(Font) scaled to size 10.79993pt on input line 56. -LaTeX Font Info: Font shape `T1/phv/m/n' will be -(Font) scaled to size 8.09995pt on input line 58. - [1 - - -{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2 - -] -LaTeX Font Info: Font shape `T1/phv/m/n' will be -(Font) scaled to size 22.39185pt on input line 63. -LaTeX Font Info: Font shape `T1/phv/bx/n' in size <24.88> not available -(Font) Font shape `T1/phv/b/n' tried instead on input line 63. -LaTeX Font Info: Font shape `T1/phv/b/n' will be -(Font) scaled to size 22.39185pt on input line 63. -LaTeX Font Info: Try loading font information for OT1+phv on input line 63. - (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1phv.fd -File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv. -) -LaTeX Font Info: Font shape `OT1/phv/bc/n' will be -(Font) scaled to size 22.39185pt on input line 63. - -(./refman.toc -LaTeX Info: Redefining \. on input line 1. -LaTeX Info: Redefining \% on input line 1. -LaTeX Font Info: Font shape `T1/phv/bx/n' in size <10> not available -(Font) Font shape `T1/phv/b/n' tried instead on input line 2. -LaTeX Font Info: Font shape `T1/phv/b/n' will be -(Font) scaled to size 8.99994pt on input line 2. -LaTeX Font Info: Try loading font information for OT1+ztmcm on input line 2. - - (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ztmcm.fd -File: ot1ztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OT1/ztmcm. -) -LaTeX Font Info: Try loading font information for OML+ztmcm on input line 2. - - -(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omlztmcm.fd -File: omlztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OML/ztmcm. -) -LaTeX Font Info: Try loading font information for OMS+ztmcm on input line 2. - - -(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omsztmcm.fd -File: omsztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMS/ztmcm. -) -LaTeX Font Info: Try loading font information for OMX+ztmcm on input line 2. - - -(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omxztmcm.fd -File: omxztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMX/ztmcm. -) -LaTeX Font Info: Try loading font information for OT1+ptm on input line 2. - -(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ptm.fd -File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm. -) -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <10> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 2. -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7.4> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 2. -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <6> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 2. - [1 - -] -LaTeX Font Info: Font shape `T1/phv/bx/sc' in size <10> not available -(Font) Font shape `T1/phv/b/sc' tried instead on input line 70. -LaTeX Font Info: Font shape `T1/phv/b/sc' will be -(Font) scaled to size 8.99994pt on input line 70. -LaTeX Info: Redefining \. on input line 70. -LaTeX Info: Redefining \% on input line 70. -LaTeX Font Info: Font shape `T1/phv/bx/n' in size <7> not available -(Font) Font shape `T1/phv/b/n' tried instead on input line 70. -LaTeX Font Info: Font shape `T1/phv/b/n' will be -(Font) scaled to size 6.29996pt on input line 70. - [2] -LaTeX Info: Redefining \. on input line 109. -LaTeX Info: Redefining \% on input line 109. - [3] -LaTeX Font Info: Font shape `T1/phv/bx/n' in size <12> not available -(Font) Font shape `T1/phv/b/n' tried instead on input line 127. -LaTeX Font Info: Font shape `T1/phv/b/n' will be -(Font) scaled to size 10.79993pt on input line 127. -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <12> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 127. -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <9> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 127. -LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available -(Font) Font shape `OT1/ptm/b/n' tried instead on input line 127. -) -\tf@toc=\write5 -\openout5 = `refman.toc'. - -LaTeX Info: Redefining \. on input line 64. -LaTeX Info: Redefining \% on input line 64. - -[4] -Package hyperref Info: Option `pageanchor' set `true' on input line 66. - -Cap\'{\i }tulo 1. -LaTeX Font Info: Font shape `T1/phv/m/n' will be -(Font) scaled to size 18.66588pt on input line 67. -LaTeX Font Info: Font shape `T1/phv/bx/n' in size <20.74> not available -(Font) Font shape `T1/phv/b/n' tried instead on input line 67. -LaTeX Font Info: Font shape `T1/phv/b/n' will be -(Font) scaled to size 18.66588pt on input line 67. -LaTeX Font Info: Font shape `OT1/phv/bc/n' will be -(Font) scaled to size 18.66588pt on input line 67. -(./index.tex -LaTeX Font Info: Try loading font information for T1+pcr on input line 1. - (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pcr.fd -File: t1pcr.fd 2001/06/04 font definitions for T1/pcr. -) -LaTeX Font Info: Font shape `OT1/phv/bc/n' will be -(Font) scaled to size 8.99994pt on input line 9. -) -[1 - - -] -LaTeX Info: Redefining \. on input line 69. -LaTeX Info: Redefining \% on input line 69. - [2 - -] -Cap\'{\i }tulo 2. -(./client_code.tex -LaTeX Font Info: Font shape `T1/phv/m/n' will be -(Font) scaled to size 6.29996pt on input line 4. -) [3] -LaTeX Info: Redefining \. on input line 73. -LaTeX Info: Redefining \% on input line 73. - [4 - -] -Cap\'{\i }tulo 3. -(./conf.tex -LaTeX Font Info: Font shape `T1/phv/m/n' will be -(Font) scaled to size 7.19995pt on input line 3. -LaTeX Font Info: Font shape `T1/phv/bx/n' in size <14.4> not available -(Font) Font shape `T1/phv/b/n' tried instead on input line 6. -LaTeX Font Info: Font shape `T1/phv/b/n' will be -(Font) scaled to size 12.9599pt on input line 6. -LaTeX Font Info: Font shape `OT1/phv/bc/n' will be -(Font) scaled to size 12.9599pt on input line 6. -LaTeX Font Info: Font shape `OT1/phv/bc/n' will be -(Font) scaled to size 10.79993pt on input line 15. -) [5] -LaTeX Info: Redefining \. on input line 77. -LaTeX Info: Redefining \% on input line 77. - [6 - -] -Cap\'{\i }tulo 4. -(./howto.tex -Overfull \hbox (48.75621pt too wide) in paragraph at lines 3--3 -[] \T1/pcr/m/n/8 A continuacin se desglosan las instrucciones para el desar -rollo con esta libera y su posterior uso. - [] - -[7]) -LaTeX Info: Redefining \. on input line 81. -LaTeX Info: Redefining \% on input line 81. - [8] -Cap\'{\i }tulo 5. -(./server_code.tex [9 - -]) -LaTeX Info: Redefining \. on input line 85. -LaTeX Info: Redefining \% on input line 85. - [10] -Cap\'{\i }tulo 6. -(./annotated.tex) [11 - -] -LaTeX Info: Redefining \. on input line 87. -LaTeX Info: Redefining \% on input line 87. - [12 - -] -Cap\'{\i }tulo 7. -(./files.tex) [13] -LaTeX Info: Redefining \. on input line 89. -LaTeX Info: Redefining \% on input line 89. - [14 - -] -Cap\'{\i }tulo 8. -(./class_server.tex -LaTeX Font Info: Font shape `T1/phv/m/it' in size <9> not available -(Font) Font shape `T1/phv/m/sl' tried instead on input line 17. -LaTeX Font Info: Font shape `T1/phv/m/sl' will be -(Font) scaled to size 8.09995pt on input line 17. - [15] -LaTeX Font Info: Try loading font information for OT1+pcr on input line 61. - -(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1pcr.fd -File: ot1pcr.fd 2001/06/04 font definitions for OT1/pcr. -) - -LaTeX Font Warning: Font shape `OT1/pcr/bc/n' undefined -(Font) using `OT1/pcr/m/n' instead on input line 61. - -LaTeX Font Info: Font shape `OT1/phv/bc/it' in size <10> not available -(Font) Font shape `OT1/phv/bc/sl' tried instead on input line 75. -LaTeX Font Info: Font shape `OT1/phv/bc/sl' will be -(Font) scaled to size 8.99994pt on input line 75. -LaTeX Font Info: Font shape `T1/phv/m/it' in size <10> not available -(Font) Font shape `T1/phv/m/sl' tried instead on input line 82. -LaTeX Font Info: Font shape `T1/phv/m/sl' will be -(Font) scaled to size 8.99994pt on input line 82. - -Underfull \vbox (badness 10000) detected at line 84 - [] - -LaTeX Info: Redefining \. on input line 135. -LaTeX Info: Redefining \% on input line 135. -[16] -Underfull \vbox (badness 10000) detected at line 144 - [] - - -Underfull \vbox (badness 10000) detected at line 163 - [] - -LaTeX Info: Redefining \. on input line 199. -LaTeX Info: Redefining \% on input line 199. -[17]) (./class_socket.tex -LaTeX Info: Redefining \. on input line 43. -LaTeX Info: Redefining \% on input line 43. - [18] -Underfull \vbox (badness 10000) detected at line 87 - [] - - -Underfull \vbox (badness 10000) detected at line 106 - [] - -LaTeX Info: Redefining \. on input line 130. -LaTeX Info: Redefining \% on input line 130. -[19] -Underfull \vbox (badness 10000) detected at line 136 - [] - - -Underfull \vbox (badness 10000) detected at line 174 - [] - - -Package hyperref Warning: Token not allowed in a PDF string (Unicode): -(hyperref) removing `math shift' on input line 181. - - -Package hyperref Warning: Token not allowed in a PDF string (Unicode): -(hyperref) removing `math shift' on input line 181. - - -Package hyperref Warning: Token not allowed in a PDF string (Unicode): -(hyperref) removing `math shift' on input line 181. - - -Package hyperref Warning: Token not allowed in a PDF string (Unicode): -(hyperref) removing `math shift' on input line 181. - - -Underfull \vbox (badness 10000) detected at line 190 - [] - - -Package hyperref Warning: Token not allowed in a PDF string (Unicode): -(hyperref) removing `math shift' on input line 197. - - -Package hyperref Warning: Token not allowed in a PDF string (Unicode): -(hyperref) removing `math shift' on input line 197. - - -Package hyperref Warning: Token not allowed in a PDF string (Unicode): -(hyperref) removing `math shift' on input line 197. - - -Package hyperref Warning: Token not allowed in a PDF string (Unicode): -(hyperref) removing `math shift' on input line 197. - - -Underfull \vbox (badness 10000) detected at line 206 - [] - -LaTeX Info: Redefining \. on input line 219. -LaTeX Info: Redefining \% on input line 219. -[20] -Underfull \vbox (badness 10000) detected at line 227 - [] - - -Underfull \vbox (badness 10000) detected at line 248 - [] - -) (./class_socket_exception.tex -LaTeX Info: Redefining \. on input line 17. -LaTeX Info: Redefining \% on input line 17. - [21] -Underfull \vbox (badness 10000) detected at line 50 - [] - - -Package hyperref Warning: Token not allowed in a PDF string (Unicode): -(hyperref) removing `math shift' on input line 57. - - -Package hyperref Warning: Token not allowed in a PDF string (Unicode): -(hyperref) removing `\sim' on input line 57. - - -Package hyperref Warning: Token not allowed in a PDF string (Unicode): -(hyperref) removing `math shift' on input line 57. - -) (./structthread__args.tex -LaTeX Info: Redefining \. on input line 17. -LaTeX Info: Redefining \% on input line 17. - [22] -LaTeX Info: Redefining \. on input line 74. -LaTeX Info: Redefining \% on input line 74. - [23]) -LaTeX Info: Redefining \. on input line 94. -LaTeX Info: Redefining \% on input line 94. - [24] -Cap\'{\i }tulo 9. -(./client_8cpp.tex -Underfull \hbox (badness 10000) in paragraph at lines 9--16 - - [] - -[25 - -] -Underfull \vbox (badness 10000) detected at line 50 - [] - -) (./client_8dox.tex) (./conf_8dox.tex) (./howto_8dox.tex) (./server_8h.tex -Underfull \hbox (badness 10000) in paragraph at lines 9--16 - - [] - -LaTeX Info: Redefining \. on input line 16. -LaTeX Info: Redefining \% on input line 16. -[26] -LaTeX Info: Redefining \. on input line 60. -LaTeX Info: Redefining \% on input line 60. - [27] -Underfull \vbox (badness 10000) detected at line 85 - [] - - -Underfull \vbox (badness 10000) detected at line 103 - [] - - -Underfull \vbox (badness 10000) detected at line 122 - [] - -LaTeX Info: Redefining \. on input line 135. -LaTeX Info: Redefining \% on input line 135. -[28] -Underfull \vbox (badness 10000) detected at line 140 - [] - -) (./_socket_8h.tex -Underfull \hbox (badness 10000) in paragraph at lines 9--17 - - [] - -) (./_socket_exception_8h.tex -Underfull \hbox (badness 10000) in paragraph at lines 9--10 - - [] - -LaTeX Info: Redefining \. on input line 14. -LaTeX Info: Redefining \% on input line 14. -[29]) (./main__server_8cpp.tex -Underfull \hbox (badness 10000) in paragraph at lines 9--13 - - [] - -LaTeX Info: Redefining \. on input line 36. -LaTeX Info: Redefining \% on input line 36. -[30] -Underfull \vbox (badness 10000) detected at line 60 - [] - - -Underfull \vbox (badness 10000) detected at line 89 - [] - - -Underfull \vbox (badness 10000) detected at line 108 - [] - - -Underfull \vbox (badness 10000) has occurred while \output is active [] - -LaTeX Info: Redefining \. on input line 115. -LaTeX Info: Redefining \% on input line 115. - [31] -Underfull \vbox (badness 10000) detected at line 124 - [] - - -Underfull \vbox (badness 10000) detected at line 142 - [] - -) (./mainpage_8dox.tex) (./makefile_8dox.tex) (./server_8cpp.tex -Underfull \hbox (badness 10000) in paragraph at lines 9--10 - - [] - -LaTeX Info: Redefining \. on input line 16. -LaTeX Info: Redefining \% on input line 16. -[32]) (./server_8dox.tex) (./_socket_8cpp.tex -Underfull \hbox (badness 10000) in paragraph at lines 9--15 - - [] - -) (./refman.ind -LaTeX Info: Redefining \. on input line 1. -LaTeX Info: Redefining \% on input line 1. - [33] -Underfull \hbox (badness 10000) in paragraph at lines 5--7 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/-Socket.-cpp, - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 7--9 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/client.-cpp, - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 9--11 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/client.-dox, - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 11--13 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/conf.-dox, - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 13--15 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/howto.-dox, - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 15--17 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/include/- - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 17--19 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/include/- - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 21--23 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/main-_- - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 23--25 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/mainpage.- - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 25--27 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/makefile.- - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 27--29 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/server.-cpp, - [] - - -Underfull \hbox (badness 10000) in paragraph at lines 29--31 -[]\T1/phv/m/n/10 /home/imanol/devel/eclipse/-P-A-D/-Socket/src/server.-dox, - [] - -[34 - -] -LaTeX Info: Redefining \. on input line 261. -LaTeX Info: Redefining \% on input line 261. - [35]) -Package atveryend Info: Empty hook `BeforeClearDocument' on input line 110. -Package atveryend Info: Empty hook `AfterLastShipout' on input line 110. - (./refman.aux -LaTeX Info: Redefining \. on input line 21. -LaTeX Info: Redefining \% on input line 21. -) -Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 110. -Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 110. -Package rerunfilecheck Info: File `refman.out' has not changed. -(rerunfilecheck) Checksum: BCC17486C13AB70B63B91546403B62CF;22776. - - -LaTeX Font Warning: Some font shapes were not available, defaults substituted. - -Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 110. - ) -Here is how much of TeX's memory you used: - 12632 strings out of 495059 - 176734 string characters out of 3182030 - 295523 words of memory out of 3000000 - 15229 multiletter control sequences out of 15000+200000 - 80897 words of font info for 114 fonts, out of 3000000 for 9000 - 14 hyphenation exceptions out of 8191 - 41i,13n,58p,590b,625s stack positions out of 5000i,500n,10000p,200000b,50000s -{/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc} -Output written on refman.pdf (41 pages, 177142 bytes). -PDF statistics: - 1370 PDF objects out of 1440 (max. 8388607) - 1305 compressed objects within 14 object streams - 293 named destinations out of 1000 (max. 500000) - 1009 words of extra memory for PDF output out of 10000 (max. 10000000) - diff --git a/Socket/doc/latex/refman.out b/Socket/doc/latex/refman.out deleted file mode 100644 index f05a5d0..0000000 --- a/Socket/doc/latex/refman.out +++ /dev/null @@ -1,126 +0,0 @@ -\BOOKMARK [0][-]{chapter.1}{\376\377\000P\000\341\000g\000i\000n\000a\000\040\000p\000r\000i\000n\000c\000i\000p\000a\000l}{}% 1 -\BOOKMARK [0][-]{chapter.2}{\376\377\000C\000l\000i\000e\000n\000t}{}% 2 -\BOOKMARK [0][-]{chapter.3}{\376\377\000F\000i\000c\000h\000e\000r\000o\000\040\000d\000e\000\040\000c\000o\000n\000f\000i\000g\000u\000r\000a\000c\000i\000\363\000n}{}% 3 -\BOOKMARK [1][-]{section.3.1}{\376\377\000S\000i\000n\000t\000\341\000x\000i\000s}{chapter.3}% 4 -\BOOKMARK [1][-]{section.3.2}{\376\377\000P\000a\000r\000\341\000m\000e\000t\000r\000o\000s}{chapter.3}% 5 -\BOOKMARK [2][-]{subsection.3.2.1}{\376\377\000b\000i\000n\000d\000-\000i\000p}{section.3.2}% 6 -\BOOKMARK [2][-]{subsection.3.2.2}{\376\377\000p\000o\000r\000t}{section.3.2}% 7 -\BOOKMARK [1][-]{section.3.3}{\376\377\000E\000j\000e\000m\000p\000l\000o\000s}{chapter.3}% 8 -\BOOKMARK [0][-]{chapter.4}{\376\377\000H\000O\000W\000T\000O}{}% 9 -\BOOKMARK [1][-]{section.4.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000l\000\040\000p\000r\000o\000t\000o\000c\000o\000l\000o}{chapter.4}% 10 -\BOOKMARK [2][-]{subsection.4.1.1}{\376\377\000M\000o\000d\000o\000\040\000e\000n\000\040\000t\000e\000x\000t\000o\000\040\000l\000l\000a\000n\000o}{section.4.1}% 11 -\BOOKMARK [2][-]{subsection.4.1.2}{\376\377\000E\000n\000v\000\355\000o\000/\000R\000e\000c\000e\000p\000c\000i\000\363\000n\000\040\000d\000e\000\040\000m\000e\000n\000s\000a\000j\000e\000s}{section.4.1}% 12 -\BOOKMARK [1][-]{section.4.2}{\376\377\000C\000o\000m\000p\000i\000l\000a\000c\000i\000\363\000n}{chapter.4}% 13 -\BOOKMARK [2][-]{subsection.4.2.1}{\376\377\000O\000p\000c\000i\000o\000n\000e\000s\000\040\000d\000e\000\040\000c\000o\000m\000p\000i\000l\000a\000c\000i\000\363\000n}{section.4.2}% 14 -\BOOKMARK [2][-]{subsection.4.2.2}{\376\377\000F\000l\000a\000g\000s\000\040\000d\000e\000\040\000c\000o\000m\000p\000i\000l\000a\000c\000i\000\363\000n\000\040\000y\000\040\000l\000i\000b\000r\000e\000r\000\355\000a\000s}{section.4.2}% 15 -\BOOKMARK [1][-]{section.4.3}{\376\377\000E\000j\000e\000m\000p\000l\000o\000s}{chapter.4}% 16 -\BOOKMARK [2][-]{subsection.4.3.1}{\376\377\000P\000r\000o\000g\000r\000a\000m\000a\000r\000\040\000u\000n\000\040\000s\000e\000r\000v\000i\000d\000o\000r}{section.4.3}% 17 -\BOOKMARK [2][-]{subsection.4.3.2}{\376\377\000P\000r\000o\000g\000r\000a\000m\000a\000r\000\040\000u\000n\000\040\000c\000l\000i\000e\000n\000t\000e}{section.4.3}% 18 -\BOOKMARK [0][-]{chapter.5}{\376\377\000S\000e\000r\000v\000e\000r}{}% 19 -\BOOKMARK [0][-]{chapter.6}{\376\377\000\315\000n\000d\000i\000c\000e\000\040\000d\000e\000\040\000c\000l\000a\000s\000e\000s}{}% 20 -\BOOKMARK [1][-]{section.6.1}{\376\377\000L\000i\000s\000t\000a\000\040\000d\000e\000\040\000c\000l\000a\000s\000e\000s}{chapter.6}% 21 -\BOOKMARK [0][-]{chapter.7}{\376\377\000I\000n\000d\000i\000c\000e\000\040\000d\000e\000\040\000a\000r\000c\000h\000i\000v\000o\000s}{}% 22 -\BOOKMARK [1][-]{section.7.1}{\376\377\000L\000i\000s\000t\000a\000\040\000d\000e\000\040\000a\000r\000c\000h\000i\000v\000o\000s}{chapter.7}% 23 -\BOOKMARK [0][-]{chapter.8}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000c\000l\000a\000s\000e\000s}{}% 24 -\BOOKMARK [1][-]{section.8.1}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000\040\000l\000a\000\040\000C\000l\000a\000s\000e\000\040\000S\000e\000r\000v\000e\000r}{chapter.8}% 25 -\BOOKMARK [2][-]{subsection.8.1.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.8.1}% 26 -\BOOKMARK [2][-]{subsection.8.1.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000l\000\040\000c\000o\000n\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000y\000\040\000d\000e\000s\000t\000r\000u\000c\000t\000o\000r}{section.8.1}% 27 -\BOOKMARK [3][-]{subsubsection.8.1.2.1}{\376\377\000S\000e\000r\000v\000e\000r}{subsection.8.1.2}% 28 -\BOOKMARK [2][-]{subsection.8.1.3}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000f\000u\000n\000c\000i\000o\000n\000e\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.8.1}% 29 -\BOOKMARK [3][-]{subsubsection.8.1.3.1}{\376\377\000f\000r\000e\000e\000R\000A\000M}{subsection.8.1.3}% 30 -\BOOKMARK [3][-]{subsubsection.8.1.3.2}{\376\377\000g\000e\000t\000N\000W\000o\000r\000k\000e\000r\000s}{subsection.8.1.3}% 31 -\BOOKMARK [3][-]{subsubsection.8.1.3.3}{\376\377\000g\000e\000t\000S\000t\000a\000r\000t\000e\000d\000T\000h\000r\000e\000a\000d\000s}{subsection.8.1.3}% 32 -\BOOKMARK [3][-]{subsubsection.8.1.3.4}{\376\377\000g\000e\000t\000S\000t\000o\000p\000p\000e\000d\000T\000h\000r\000e\000a\000d\000s}{subsection.8.1.3}% 33 -\BOOKMARK [3][-]{subsubsection.8.1.3.5}{\376\377\000r\000e\000q\000u\000e\000s\000t\000E\000x\000i\000t}{subsection.8.1.3}% 34 -\BOOKMARK [3][-]{subsubsection.8.1.3.6}{\376\377\000s\000e\000t\000N\000W\000o\000r\000k\000e\000r\000s}{subsection.8.1.3}% 35 -\BOOKMARK [3][-]{subsubsection.8.1.3.7}{\376\377\000s\000t\000a\000r\000t\000S\000e\000r\000v\000e\000r}{subsection.8.1.3}% 36 -\BOOKMARK [2][-]{subsection.8.1.4}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000o\000s\000\040\000d\000a\000t\000o\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.8.1}% 37 -\BOOKMARK [3][-]{subsubsection.8.1.4.1}{\376\377\000n\000W\000o\000r\000k\000e\000r\000s}{subsection.8.1.4}% 38 -\BOOKMARK [3][-]{subsubsection.8.1.4.2}{\376\377\000s\000h\000u\000t\000d\000o\000w\000n\000S\000e\000r\000v\000e\000r}{subsection.8.1.4}% 39 -\BOOKMARK [3][-]{subsubsection.8.1.4.3}{\376\377\000s\000s}{subsection.8.1.4}% 40 -\BOOKMARK [3][-]{subsubsection.8.1.4.4}{\376\377\000s\000t\000a\000r\000t\000e\000d\000T\000h\000r\000e\000a\000d\000s}{subsection.8.1.4}% 41 -\BOOKMARK [3][-]{subsubsection.8.1.4.5}{\376\377\000s\000t\000o\000p\000p\000e\000d\000T\000h\000r\000e\000a\000d\000s}{subsection.8.1.4}% 42 -\BOOKMARK [3][-]{subsubsection.8.1.4.6}{\376\377\000w\000o\000r\000k\000e\000r\000I\000D}{subsection.8.1.4}% 43 -\BOOKMARK [1][-]{section.8.2}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000\040\000l\000a\000\040\000C\000l\000a\000s\000e\000\040\000S\000o\000c\000k\000e\000t}{chapter.8}% 44 -\BOOKMARK [2][-]{subsection.8.2.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.8.2}% 45 -\BOOKMARK [2][-]{subsection.8.2.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000l\000\040\000c\000o\000n\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000y\000\040\000d\000e\000s\000t\000r\000u\000c\000t\000o\000r}{section.8.2}% 46 -\BOOKMARK [3][-]{subsubsection.8.2.2.1}{\376\377\000S\000o\000c\000k\000e\000t}{subsection.8.2.2}% 47 -\BOOKMARK [2][-]{subsection.8.2.3}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000f\000u\000n\000c\000i\000o\000n\000e\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.8.2}% 48 -\BOOKMARK [3][-]{subsubsection.8.2.3.1}{\376\377\000A\000c\000c\000e\000p\000t}{subsection.8.2.3}% 49 -\BOOKMARK [3][-]{subsubsection.8.2.3.2}{\376\377\000B\000i\000n\000d}{subsection.8.2.3}% 50 -\BOOKMARK [3][-]{subsubsection.8.2.3.3}{\376\377\000C\000l\000o\000s\000e}{subsection.8.2.3}% 51 -\BOOKMARK [3][-]{subsubsection.8.2.3.4}{\376\377\000C\000o\000n\000n\000e\000c\000t}{subsection.8.2.3}% 52 -\BOOKMARK [3][-]{subsubsection.8.2.3.5}{\376\377\000C\000r\000e\000a\000t\000e}{subsection.8.2.3}% 53 -\BOOKMARK [3][-]{subsubsection.8.2.3.6}{\376\377\000g\000e\000t\000S\000o\000c\000k}{subsection.8.2.3}% 54 -\BOOKMARK [3][-]{subsubsection.8.2.3.7}{\376\377\000L\000i\000s\000t\000e\000n}{subsection.8.2.3}% 55 -\BOOKMARK [3][-]{subsubsection.8.2.3.8}{\376\377\000o\000p\000e\000r\000a\000t\000o\000r\000<\000<}{subsection.8.2.3}% 56 -\BOOKMARK [3][-]{subsubsection.8.2.3.9}{\376\377\000o\000p\000e\000r\000a\000t\000o\000r\000>\000>}{subsection.8.2.3}% 57 -\BOOKMARK [3][-]{subsubsection.8.2.3.10}{\376\377\000R\000e\000c\000e\000i\000v\000e}{subsection.8.2.3}% 58 -\BOOKMARK [3][-]{subsubsection.8.2.3.11}{\376\377\000S\000e\000n\000d}{subsection.8.2.3}% 59 -\BOOKMARK [2][-]{subsection.8.2.4}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000o\000s\000\040\000d\000a\000t\000o\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.8.2}% 60 -\BOOKMARK [3][-]{subsubsection.8.2.4.1}{\376\377\000s\000o\000c\000k}{subsection.8.2.4}% 61 -\BOOKMARK [3][-]{subsubsection.8.2.4.2}{\376\377\000s\000o\000c\000k\000A\000d\000d\000r}{subsection.8.2.4}% 62 -\BOOKMARK [1][-]{section.8.3}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000\040\000l\000a\000\040\000C\000l\000a\000s\000e\000\040\000S\000o\000c\000k\000e\000t\000E\000x\000c\000e\000p\000t\000i\000o\000n}{chapter.8}% 63 -\BOOKMARK [2][-]{subsection.8.3.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.8.3}% 64 -\BOOKMARK [2][-]{subsection.8.3.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000l\000\040\000c\000o\000n\000s\000t\000r\000u\000c\000t\000o\000r\000\040\000y\000\040\000d\000e\000s\000t\000r\000u\000c\000t\000o\000r}{section.8.3}% 65 -\BOOKMARK [3][-]{subsubsection.8.3.2.1}{\376\377\000S\000o\000c\000k\000e\000t\000E\000x\000c\000e\000p\000t\000i\000o\000n}{subsection.8.3.2}% 66 -\BOOKMARK [3][-]{subsubsection.8.3.2.2}{\376\377\000S\000o\000c\000k\000e\000t\000E\000x\000c\000e\000p\000t\000i\000o\000n}{subsection.8.3.2}% 67 -\BOOKMARK [2][-]{subsection.8.3.3}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000f\000u\000n\000c\000i\000o\000n\000e\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.8.3}% 68 -\BOOKMARK [3][-]{subsubsection.8.3.3.1}{\376\377\000d\000e\000s\000c\000r\000i\000p\000t\000i\000o\000n}{subsection.8.3.3}% 69 -\BOOKMARK [2][-]{subsection.8.3.4}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000o\000s\000\040\000d\000a\000t\000o\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.8.3}% 70 -\BOOKMARK [3][-]{subsubsection.8.3.4.1}{\376\377\000m\000e\000s\000s\000a\000g\000e}{subsection.8.3.4}% 71 -\BOOKMARK [1][-]{section.8.4}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000\040\000l\000a\000\040\000E\000s\000t\000r\000u\000c\000t\000u\000r\000a\000\040\000t\000h\000r\000e\000a\000d\000\137\000a\000r\000g\000s}{chapter.8}% 72 -\BOOKMARK [2][-]{subsection.8.4.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.8.4}% 73 -\BOOKMARK [2][-]{subsection.8.4.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000o\000s\000\040\000d\000a\000t\000o\000s\000\040\000m\000i\000e\000m\000b\000r\000o}{section.8.4}% 74 -\BOOKMARK [3][-]{subsubsection.8.4.2.1}{\376\377\000c\000o\000n\000d\000i\000t\000i\000o\000n}{subsection.8.4.2}% 75 -\BOOKMARK [3][-]{subsubsection.8.4.2.2}{\376\377\000i\000d}{subsection.8.4.2}% 76 -\BOOKMARK [3][-]{subsubsection.8.4.2.3}{\376\377\000m\000u\000t\000e\000x}{subsection.8.4.2}% 77 -\BOOKMARK [3][-]{subsubsection.8.4.2.4}{\376\377\000s}{subsection.8.4.2}% 78 -\BOOKMARK [3][-]{subsubsection.8.4.2.5}{\376\377\000s\000e\000r\000v}{subsection.8.4.2}% 79 -\BOOKMARK [3][-]{subsubsection.8.4.2.6}{\376\377\000t\000h\000r\000e\000a\000d}{subsection.8.4.2}% 80 -\BOOKMARK [0][-]{chapter.9}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000a\000r\000c\000h\000i\000v\000o\000s}{}% 81 -\BOOKMARK [1][-]{section.9.1}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000c\000l\000i\000e\000n\000t\000.\000c\000p\000p}{chapter.9}% 82 -\BOOKMARK [2][-]{subsection.9.1.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.9.1}% 83 -\BOOKMARK [2][-]{subsection.9.1.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000f\000u\000n\000c\000i\000o\000n\000e\000s}{section.9.1}% 84 -\BOOKMARK [3][-]{subsubsection.9.1.2.1}{\376\377\000e\000x\000i\000t\000C\000l\000i\000e\000n\000t}{subsection.9.1.2}% 85 -\BOOKMARK [3][-]{subsubsection.9.1.2.2}{\376\377\000m\000a\000i\000n}{subsection.9.1.2}% 86 -\BOOKMARK [1][-]{section.9.2}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000c\000l\000i\000e\000n\000t\000.\000d\000o\000x}{chapter.9}% 87 -\BOOKMARK [2][-]{subsection.9.2.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.9.2}% 88 -\BOOKMARK [1][-]{section.9.3}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000c\000o\000n\000f\000.\000d\000o\000x}{chapter.9}% 89 -\BOOKMARK [2][-]{subsection.9.3.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.9.3}% 90 -\BOOKMARK [1][-]{section.9.4}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000h\000o\000w\000t\000o\000.\000d\000o\000x}{chapter.9}% 91 -\BOOKMARK [2][-]{subsection.9.4.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.9.4}% 92 -\BOOKMARK [1][-]{section.9.5}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000i\000n\000c\000l\000u\000d\000e\000/\000s\000e\000r\000v\000e\000r\000.\000h}{chapter.9}% 93 -\BOOKMARK [2][-]{subsection.9.5.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.9.5}% 94 -\BOOKMARK [2][-]{subsection.9.5.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000o\000s\000\040\000'\000d\000e\000f\000i\000n\000e\000s\000'}{section.9.5}% 95 -\BOOKMARK [3][-]{subsubsection.9.5.2.1}{\376\377\000C\000O\000N\000F\000F\000I\000L\000E}{subsection.9.5.2}% 96 -\BOOKMARK [3][-]{subsubsection.9.5.2.2}{\376\377\000N}{subsection.9.5.2}% 97 -\BOOKMARK [2][-]{subsection.9.5.3}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000f\000u\000n\000c\000i\000o\000n\000e\000s}{section.9.5}% 98 -\BOOKMARK [3][-]{subsubsection.9.5.3.1}{\376\377\000k\000i\000l\000l\000T\000h\000r\000e\000a\000d}{subsection.9.5.3}% 99 -\BOOKMARK [3][-]{subsubsection.9.5.3.2}{\376\377\000p\000r\000o\000c\000e\000s\000s\000T\000e\000x\000t}{subsection.9.5.3}% 100 -\BOOKMARK [3][-]{subsubsection.9.5.3.3}{\376\377\000r\000e\000a\000d\000C\000o\000n\000f}{subsection.9.5.3}% 101 -\BOOKMARK [3][-]{subsubsection.9.5.3.4}{\376\377\000W\000o\000r\000k\000e\000r\000T\000h\000r\000e\000a\000d}{subsection.9.5.3}% 102 -\BOOKMARK [1][-]{section.9.6}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000i\000n\000c\000l\000u\000d\000e\000/\000S\000o\000c\000k\000e\000t\000.\000h}{chapter.9}% 103 -\BOOKMARK [2][-]{subsection.9.6.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.9.6}% 104 -\BOOKMARK [1][-]{section.9.7}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000i\000n\000c\000l\000u\000d\000e\000/\000S\000o\000c\000k\000e\000t\000E\000x\000c\000e\000p\000t\000i\000o\000n\000.\000h}{chapter.9}% 105 -\BOOKMARK [2][-]{subsection.9.7.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.9.7}% 106 -\BOOKMARK [1][-]{section.9.8}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000m\000a\000i\000n\000\137\000s\000e\000r\000v\000e\000r\000.\000c\000p\000p}{chapter.9}% 107 -\BOOKMARK [2][-]{subsection.9.8.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.9.8}% 108 -\BOOKMARK [2][-]{subsection.9.8.2}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000f\000u\000n\000c\000i\000o\000n\000e\000s}{section.9.8}% 109 -\BOOKMARK [3][-]{subsubsection.9.8.2.1}{\376\377\000k\000i\000l\000l\000T\000h\000r\000e\000a\000d}{subsection.9.8.2}% 110 -\BOOKMARK [3][-]{subsubsection.9.8.2.2}{\376\377\000m\000a\000i\000n}{subsection.9.8.2}% 111 -\BOOKMARK [3][-]{subsubsection.9.8.2.3}{\376\377\000p\000r\000o\000c\000e\000s\000s\000T\000e\000x\000t}{subsection.9.8.2}% 112 -\BOOKMARK [3][-]{subsubsection.9.8.2.4}{\376\377\000r\000e\000a\000d\000C\000o\000n\000f}{subsection.9.8.2}% 113 -\BOOKMARK [3][-]{subsubsection.9.8.2.5}{\376\377\000s\000t\000o\000p\000S\000e\000r\000v\000e\000r}{subsection.9.8.2}% 114 -\BOOKMARK [3][-]{subsubsection.9.8.2.6}{\376\377\000W\000o\000r\000k\000e\000r\000T\000h\000r\000e\000a\000d}{subsection.9.8.2}% 115 -\BOOKMARK [2][-]{subsection.9.8.3}{\376\377\000D\000o\000c\000u\000m\000e\000n\000t\000a\000c\000i\000\363\000n\000\040\000d\000e\000\040\000l\000a\000s\000\040\000v\000a\000r\000i\000a\000b\000l\000e\000s}{section.9.8}% 116 -\BOOKMARK [3][-]{subsubsection.9.8.3.1}{\376\377\000s\000e\000r\000v}{subsection.9.8.3}% 117 -\BOOKMARK [1][-]{section.9.9}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000m\000a\000i\000n\000p\000a\000g\000e\000.\000d\000o\000x}{chapter.9}% 118 -\BOOKMARK [1][-]{section.9.10}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000m\000a\000k\000e\000f\000i\000l\000e\000.\000d\000o\000x}{chapter.9}% 119 -\BOOKMARK [1][-]{section.9.11}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000s\000e\000r\000v\000e\000r\000.\000c\000p\000p}{chapter.9}% 120 -\BOOKMARK [2][-]{subsection.9.11.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.9.11}% 121 -\BOOKMARK [1][-]{section.9.12}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000s\000e\000r\000v\000e\000r\000.\000d\000o\000x}{chapter.9}% 122 -\BOOKMARK [2][-]{subsection.9.12.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.9.12}% 123 -\BOOKMARK [1][-]{section.9.13}{\376\377\000R\000e\000f\000e\000r\000e\000n\000c\000i\000a\000\040\000d\000e\000l\000\040\000A\000r\000c\000h\000i\000v\000o\000\040\000/\000h\000o\000m\000e\000/\000i\000m\000a\000n\000o\000l\000/\000d\000e\000v\000e\000l\000/\000e\000c\000l\000i\000p\000s\000e\000/\000P\000A\000D\000/\000S\000o\000c\000k\000e\000t\000/\000s\000r\000c\000/\000S\000o\000c\000k\000e\000t\000.\000c\000p\000p}{chapter.9}% 124 -\BOOKMARK [2][-]{subsection.9.13.1}{\376\377\000D\000e\000s\000c\000r\000i\000p\000c\000i\000\363\000n\000\040\000d\000e\000t\000a\000l\000l\000a\000d\000a}{section.9.13}% 125 -\BOOKMARK [-1][-]{subsection.9.13.1}{\376\377\000\315\000n\000d\000i\000c\000e}{}% 126 diff --git a/Socket/doc/latex/refman.pdf b/Socket/doc/latex/refman.pdf deleted file mode 100644 index 2cc0251..0000000 Binary files a/Socket/doc/latex/refman.pdf and /dev/null differ diff --git a/Socket/doc/latex/refman.tex b/Socket/doc/latex/refman.tex deleted file mode 100644 index d1dde8d..0000000 --- a/Socket/doc/latex/refman.tex +++ /dev/null @@ -1,110 +0,0 @@ -\documentclass{book} -\usepackage[a4paper,top=2.5cm,bottom=2.5cm,left=2.5cm,right=2.5cm]{geometry} -\usepackage{makeidx} -\usepackage{natbib} -\usepackage{graphicx} -\usepackage{multicol} -\usepackage{float} -\usepackage{listings} -\usepackage{color} -\usepackage{ifthen} -\usepackage[table]{xcolor} -\usepackage{textcomp} -\usepackage{alltt} -\usepackage{ifpdf} -\ifpdf -\usepackage[pdftex, - pagebackref=true, - colorlinks=true, - linkcolor=blue, - unicode - ]{hyperref} -\else -\usepackage[ps2pdf, - pagebackref=true, - colorlinks=true, - linkcolor=blue, - unicode - ]{hyperref} -\usepackage{pspicture} -\fi -\usepackage[utf8]{inputenc} -\usepackage[spanish]{babel} -\usepackage{mathptmx} -\usepackage[scaled=.90]{helvet} -\usepackage{courier} -\usepackage{sectsty} -\usepackage{amssymb} -\usepackage[titles]{tocloft} -\usepackage{doxygen} -\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left } -\makeindex -\setcounter{tocdepth}{3} -\renewcommand{\footrulewidth}{0.4pt} -\renewcommand{\familydefault}{\sfdefault} -\hfuzz=15pt -\setlength{\emergencystretch}{15pt} -\hbadness=750 -\tolerance=750 -\begin{document} -\hypersetup{pageanchor=false,citecolor=blue} -\begin{titlepage} -\vspace*{7cm} -\begin{center} -{\Large Socket }\\ -\vspace*{1cm} -{\large Generado por Doxygen 1.8.3.1}\\ -\vspace*{0.5cm} -{\small Martes, 26 de Noviembre de 2013 11:34:23}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\pagenumbering{roman} -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} -\hypersetup{pageanchor=true,citecolor=blue} -\chapter{Página principal} -\label{index}\hypertarget{index}{}\input{index} -\chapter{Client} -\label{client_code} -\hypertarget{client_code}{} -\input{client_code} -\chapter{Fichero de configuración} -\label{conf} -\hypertarget{conf}{} -\input{conf} -\chapter{H\-O\-W\-T\-O} -\label{howto} -\hypertarget{howto}{} -\input{howto} -\chapter{Server} -\label{server_code} -\hypertarget{server_code}{} -\input{server_code} -\chapter{Índice de clases} -\input{annotated} -\chapter{Indice de archivos} -\input{files} -\chapter{Documentación de las clases} -\input{class_server} -\input{class_socket} -\input{class_socket_exception} -\input{structthread__args} -\chapter{Documentación de archivos} -\input{client_8cpp} -\input{client_8dox} -\input{conf_8dox} -\input{howto_8dox} -\input{server_8h} -\input{_socket_8h} -\input{_socket_exception_8h} -\input{main__server_8cpp} -\input{mainpage_8dox} -\input{makefile_8dox} -\input{server_8cpp} -\input{server_8dox} -\input{_socket_8cpp} -\addcontentsline{toc}{part}{Índice} -\printindex -\end{document} diff --git a/Socket/doc/latex/refman.toc b/Socket/doc/latex/refman.toc deleted file mode 100644 index f3008fd..0000000 --- a/Socket/doc/latex/refman.toc +++ /dev/null @@ -1,127 +0,0 @@ -\select@language {spanish} -\contentsline {chapter}{\numberline {1}P\IeC {\'a}gina principal}{1}{chapter.1} -\contentsline {chapter}{\numberline {2}Client}{3}{chapter.2} -\contentsline {chapter}{\numberline {3}Fichero de configuraci\IeC {\'o}n}{5}{chapter.3} -\contentsline {section}{\numberline {3.1}Sint\IeC {\'a}xis}{5}{section.3.1} -\contentsline {section}{\numberline {3.2}Par\IeC {\'a}metros}{5}{section.3.2} -\contentsline {subsection}{\numberline {3.2.1}bind-\/ip}{5}{subsection.3.2.1} -\contentsline {subsection}{\numberline {3.2.2}port}{5}{subsection.3.2.2} -\contentsline {section}{\numberline {3.3}Ejemplos}{5}{section.3.3} -\contentsline {chapter}{\numberline {4}H\discretionary {-}{}{}O\discretionary {-}{}{}W\discretionary {-}{}{}T\discretionary {-}{}{}O}{7}{chapter.4} -\contentsline {section}{\numberline {4.1}Descripci\IeC {\'o}n del protocolo}{7}{section.4.1} -\contentsline {subsection}{\numberline {4.1.1}Modo en texto llano}{7}{subsection.4.1.1} -\contentsline {subsection}{\numberline {4.1.2}Env\IeC {\'\i }o/\discretionary {-}{}{}Recepci\IeC {\'o}n de mensajes}{7}{subsection.4.1.2} -\contentsline {section}{\numberline {4.2}Compilaci\IeC {\'o}n}{8}{section.4.2} -\contentsline {subsection}{\numberline {4.2.1}Opciones de compilaci\IeC {\'o}n}{8}{subsection.4.2.1} -\contentsline {subsection}{\numberline {4.2.2}Flags de compilaci\IeC {\'o}n y librer\IeC {\'\i }as}{8}{subsection.4.2.2} -\contentsline {section}{\numberline {4.3}Ejemplos}{8}{section.4.3} -\contentsline {subsection}{\numberline {4.3.1}Programar un servidor}{8}{subsection.4.3.1} -\contentsline {subsection}{\numberline {4.3.2}Programar un cliente}{8}{subsection.4.3.2} -\contentsline {chapter}{\numberline {5}Server}{9}{chapter.5} -\contentsline {chapter}{\numberline {6}\IeC {\'I}ndice de clases}{11}{chapter.6} -\contentsline {section}{\numberline {6.1}Lista de clases}{11}{section.6.1} -\contentsline {chapter}{\numberline {7}Indice de archivos}{13}{chapter.7} -\contentsline {section}{\numberline {7.1}Lista de archivos}{13}{section.7.1} -\contentsline {chapter}{\numberline {8}Documentaci\IeC {\'o}n de las clases}{15}{chapter.8} -\contentsline {section}{\numberline {8.1}Referencia de la Clase Server}{15}{section.8.1} -\contentsline {subsection}{\numberline {8.1.1}Descripci\IeC {\'o}n detallada}{16}{subsection.8.1.1} -\contentsline {subsection}{\numberline {8.1.2}Documentaci\IeC {\'o}n del constructor y destructor}{16}{subsection.8.1.2} -\contentsline {subsubsection}{\numberline {8.1.2.1}Server}{16}{subsubsection.8.1.2.1} -\contentsline {subsection}{\numberline {8.1.3}Documentaci\IeC {\'o}n de las funciones miembro}{16}{subsection.8.1.3} -\contentsline {subsubsection}{\numberline {8.1.3.1}free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M}{16}{subsubsection.8.1.3.1} -\contentsline {subsubsection}{\numberline {8.1.3.2}get\discretionary {-}{}{}N\discretionary {-}{}{}Workers}{16}{subsubsection.8.1.3.2} -\contentsline {subsubsection}{\numberline {8.1.3.3}get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads}{16}{subsubsection.8.1.3.3} -\contentsline {subsubsection}{\numberline {8.1.3.4}get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads}{16}{subsubsection.8.1.3.4} -\contentsline {subsubsection}{\numberline {8.1.3.5}request\discretionary {-}{}{}Exit}{16}{subsubsection.8.1.3.5} -\contentsline {subsubsection}{\numberline {8.1.3.6}set\discretionary {-}{}{}N\discretionary {-}{}{}Workers}{17}{subsubsection.8.1.3.6} -\contentsline {subsubsection}{\numberline {8.1.3.7}start\discretionary {-}{}{}Server}{17}{subsubsection.8.1.3.7} -\contentsline {subsection}{\numberline {8.1.4}Documentaci\IeC {\'o}n de los datos miembro}{17}{subsection.8.1.4} -\contentsline {subsubsection}{\numberline {8.1.4.1}n\discretionary {-}{}{}Workers}{17}{subsubsection.8.1.4.1} -\contentsline {subsubsection}{\numberline {8.1.4.2}shutdown\discretionary {-}{}{}Server}{17}{subsubsection.8.1.4.2} -\contentsline {subsubsection}{\numberline {8.1.4.3}ss}{17}{subsubsection.8.1.4.3} -\contentsline {subsubsection}{\numberline {8.1.4.4}started\discretionary {-}{}{}Threads}{17}{subsubsection.8.1.4.4} -\contentsline {subsubsection}{\numberline {8.1.4.5}stopped\discretionary {-}{}{}Threads}{18}{subsubsection.8.1.4.5} -\contentsline {subsubsection}{\numberline {8.1.4.6}worker\discretionary {-}{}{}I\discretionary {-}{}{}D}{18}{subsubsection.8.1.4.6} -\contentsline {section}{\numberline {8.2}Referencia de la Clase Socket}{18}{section.8.2} -\contentsline {subsection}{\numberline {8.2.1}Descripci\IeC {\'o}n detallada}{19}{subsection.8.2.1} -\contentsline {subsection}{\numberline {8.2.2}Documentaci\IeC {\'o}n del constructor y destructor}{19}{subsection.8.2.2} -\contentsline {subsubsection}{\numberline {8.2.2.1}Socket}{19}{subsubsection.8.2.2.1} -\contentsline {subsection}{\numberline {8.2.3}Documentaci\IeC {\'o}n de las funciones miembro}{19}{subsection.8.2.3} -\contentsline {subsubsection}{\numberline {8.2.3.1}Accept}{19}{subsubsection.8.2.3.1} -\contentsline {subsubsection}{\numberline {8.2.3.2}Bind}{19}{subsubsection.8.2.3.2} -\contentsline {subsubsection}{\numberline {8.2.3.3}Close}{19}{subsubsection.8.2.3.3} -\contentsline {subsubsection}{\numberline {8.2.3.4}Connect}{20}{subsubsection.8.2.3.4} -\contentsline {subsubsection}{\numberline {8.2.3.5}Create}{20}{subsubsection.8.2.3.5} -\contentsline {subsubsection}{\numberline {8.2.3.6}get\discretionary {-}{}{}Sock}{20}{subsubsection.8.2.3.6} -\contentsline {subsubsection}{\numberline {8.2.3.7}Listen}{20}{subsubsection.8.2.3.7} -\contentsline {subsubsection}{\numberline {8.2.3.8}operator$<$$<$}{20}{subsubsection.8.2.3.8} -\contentsline {subsubsection}{\numberline {8.2.3.9}operator$>$$>$}{20}{subsubsection.8.2.3.9} -\contentsline {subsubsection}{\numberline {8.2.3.10}Receive}{21}{subsubsection.8.2.3.10} -\contentsline {subsubsection}{\numberline {8.2.3.11}Send}{21}{subsubsection.8.2.3.11} -\contentsline {subsection}{\numberline {8.2.4}Documentaci\IeC {\'o}n de los datos miembro}{21}{subsection.8.2.4} -\contentsline {subsubsection}{\numberline {8.2.4.1}sock}{21}{subsubsection.8.2.4.1} -\contentsline {subsubsection}{\numberline {8.2.4.2}sock\discretionary {-}{}{}Addr}{21}{subsubsection.8.2.4.2} -\contentsline {section}{\numberline {8.3}Referencia de la Clase Socket\discretionary {-}{}{}Exception}{21}{section.8.3} -\contentsline {subsection}{\numberline {8.3.1}Descripci\IeC {\'o}n detallada}{22}{subsection.8.3.1} -\contentsline {subsection}{\numberline {8.3.2}Documentaci\IeC {\'o}n del constructor y destructor}{22}{subsection.8.3.2} -\contentsline {subsubsection}{\numberline {8.3.2.1}Socket\discretionary {-}{}{}Exception}{22}{subsubsection.8.3.2.1} -\contentsline {subsubsection}{\numberline {8.3.2.2}$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception}{22}{subsubsection.8.3.2.2} -\contentsline {subsection}{\numberline {8.3.3}Documentaci\IeC {\'o}n de las funciones miembro}{22}{subsection.8.3.3} -\contentsline {subsubsection}{\numberline {8.3.3.1}description}{22}{subsubsection.8.3.3.1} -\contentsline {subsection}{\numberline {8.3.4}Documentaci\IeC {\'o}n de los datos miembro}{22}{subsection.8.3.4} -\contentsline {subsubsection}{\numberline {8.3.4.1}message}{22}{subsubsection.8.3.4.1} -\contentsline {section}{\numberline {8.4}Referencia de la Estructura thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}{22}{section.8.4} -\contentsline {subsection}{\numberline {8.4.1}Descripci\IeC {\'o}n detallada}{23}{subsection.8.4.1} -\contentsline {subsection}{\numberline {8.4.2}Documentaci\IeC {\'o}n de los datos miembro}{23}{subsection.8.4.2} -\contentsline {subsubsection}{\numberline {8.4.2.1}condition}{23}{subsubsection.8.4.2.1} -\contentsline {subsubsection}{\numberline {8.4.2.2}id}{23}{subsubsection.8.4.2.2} -\contentsline {subsubsection}{\numberline {8.4.2.3}mutex}{23}{subsubsection.8.4.2.3} -\contentsline {subsubsection}{\numberline {8.4.2.4}s}{24}{subsubsection.8.4.2.4} -\contentsline {subsubsection}{\numberline {8.4.2.5}serv}{24}{subsubsection.8.4.2.5} -\contentsline {subsubsection}{\numberline {8.4.2.6}thread}{24}{subsubsection.8.4.2.6} -\contentsline {chapter}{\numberline {9}Documentaci\IeC {\'o}n de archivos}{25}{chapter.9} -\contentsline {section}{\numberline {9.1}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.cpp}{25}{section.9.1} -\contentsline {subsection}{\numberline {9.1.1}Descripci\IeC {\'o}n detallada}{25}{subsection.9.1.1} -\contentsline {subsection}{\numberline {9.1.2}Documentaci\IeC {\'o}n de las funciones}{25}{subsection.9.1.2} -\contentsline {subsubsection}{\numberline {9.1.2.1}exit\discretionary {-}{}{}Client}{25}{subsubsection.9.1.2.1} -\contentsline {subsubsection}{\numberline {9.1.2.2}main}{26}{subsubsection.9.1.2.2} -\contentsline {section}{\numberline {9.2}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.dox}{26}{section.9.2} -\contentsline {subsection}{\numberline {9.2.1}Descripci\IeC {\'o}n detallada}{26}{subsection.9.2.1} -\contentsline {section}{\numberline {9.3}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/conf.dox}{26}{section.9.3} -\contentsline {subsection}{\numberline {9.3.1}Descripci\IeC {\'o}n detallada}{26}{subsection.9.3.1} -\contentsline {section}{\numberline {9.4}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/howto.dox}{26}{section.9.4} -\contentsline {subsection}{\numberline {9.4.1}Descripci\IeC {\'o}n detallada}{26}{subsection.9.4.1} -\contentsline {section}{\numberline {9.5}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/server.h}{27}{section.9.5} -\contentsline {subsection}{\numberline {9.5.1}Descripci\IeC {\'o}n detallada}{27}{subsection.9.5.1} -\contentsline {subsection}{\numberline {9.5.2}Documentaci\IeC {\'o}n de los 'defines'}{28}{subsection.9.5.2} -\contentsline {subsubsection}{\numberline {9.5.2.1}C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E}{28}{subsubsection.9.5.2.1} -\contentsline {subsubsection}{\numberline {9.5.2.2}N}{28}{subsubsection.9.5.2.2} -\contentsline {subsection}{\numberline {9.5.3}Documentaci\IeC {\'o}n de las funciones}{28}{subsection.9.5.3} -\contentsline {subsubsection}{\numberline {9.5.3.1}kill\discretionary {-}{}{}Thread}{28}{subsubsection.9.5.3.1} -\contentsline {subsubsection}{\numberline {9.5.3.2}process\discretionary {-}{}{}Text}{28}{subsubsection.9.5.3.2} -\contentsline {subsubsection}{\numberline {9.5.3.3}read\discretionary {-}{}{}Conf}{28}{subsubsection.9.5.3.3} -\contentsline {subsubsection}{\numberline {9.5.3.4}Worker\discretionary {-}{}{}Thread}{28}{subsubsection.9.5.3.4} -\contentsline {section}{\numberline {9.6}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket.h}{29}{section.9.6} -\contentsline {subsection}{\numberline {9.6.1}Descripci\IeC {\'o}n detallada}{29}{subsection.9.6.1} -\contentsline {section}{\numberline {9.7}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception.h}{29}{section.9.7} -\contentsline {subsection}{\numberline {9.7.1}Descripci\IeC {\'o}n detallada}{30}{subsection.9.7.1} -\contentsline {section}{\numberline {9.8}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/main\discretionary {-}{}{}\_\discretionary {-}{}{}server.cpp}{30}{section.9.8} -\contentsline {subsection}{\numberline {9.8.1}Descripci\IeC {\'o}n detallada}{31}{subsection.9.8.1} -\contentsline {subsection}{\numberline {9.8.2}Documentaci\IeC {\'o}n de las funciones}{31}{subsection.9.8.2} -\contentsline {subsubsection}{\numberline {9.8.2.1}kill\discretionary {-}{}{}Thread}{31}{subsubsection.9.8.2.1} -\contentsline {subsubsection}{\numberline {9.8.2.2}main}{31}{subsubsection.9.8.2.2} -\contentsline {subsubsection}{\numberline {9.8.2.3}process\discretionary {-}{}{}Text}{31}{subsubsection.9.8.2.3} -\contentsline {subsubsection}{\numberline {9.8.2.4}read\discretionary {-}{}{}Conf}{31}{subsubsection.9.8.2.4} -\contentsline {subsubsection}{\numberline {9.8.2.5}stop\discretionary {-}{}{}Server}{32}{subsubsection.9.8.2.5} -\contentsline {subsubsection}{\numberline {9.8.2.6}Worker\discretionary {-}{}{}Thread}{32}{subsubsection.9.8.2.6} -\contentsline {subsection}{\numberline {9.8.3}Documentaci\IeC {\'o}n de las variables}{32}{subsection.9.8.3} -\contentsline {subsubsection}{\numberline {9.8.3.1}serv}{32}{subsubsection.9.8.3.1} -\contentsline {section}{\numberline {9.9}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/mainpage.dox}{32}{section.9.9} -\contentsline {section}{\numberline {9.10}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/makefile.dox}{32}{section.9.10} -\contentsline {section}{\numberline {9.11}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.cpp}{32}{section.9.11} -\contentsline {subsection}{\numberline {9.11.1}Descripci\IeC {\'o}n detallada}{32}{subsection.9.11.1} -\contentsline {section}{\numberline {9.12}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.dox}{33}{section.9.12} -\contentsline {subsection}{\numberline {9.12.1}Descripci\IeC {\'o}n detallada}{33}{subsection.9.12.1} -\contentsline {section}{\numberline {9.13}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/\discretionary {-}{}{}Socket.cpp}{33}{section.9.13} -\contentsline {subsection}{\numberline {9.13.1}Descripci\IeC {\'o}n detallada}{33}{subsection.9.13.1} -\contentsline {part}{\IeC {\'I}ndice}{33}{subsection.9.13.1} diff --git a/Socket/doc/latex/server_8cpp.tex b/Socket/doc/latex/server_8cpp.tex deleted file mode 100644 index e4bd1c4..0000000 --- a/Socket/doc/latex/server_8cpp.tex +++ /dev/null @@ -1,19 +0,0 @@ -\hypertarget{server_8cpp}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.cpp} -\label{server_8cpp}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.\-cpp@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.\-cpp}} -} - - -Fichero de implementación de la clase \hyperlink{class_server}{Server}. - - -{\ttfamily \#include \char`\"{}server.\-h\char`\"{}}\\* - - -\subsection{Descripción detallada} -Fichero de implementación de la clase \hyperlink{class_server}{Server}. \begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -13/06/2013 -\end{DoxyDate} -En este fichero se implementan los métodos de la clase \hyperlink{class_server}{Server} definidos en \hyperlink{server_8h}{server.\-h} \ No newline at end of file diff --git a/Socket/doc/latex/server_8dox.tex b/Socket/doc/latex/server_8dox.tex deleted file mode 100644 index a8bd3a6..0000000 --- a/Socket/doc/latex/server_8dox.tex +++ /dev/null @@ -1,12 +0,0 @@ -\hypertarget{server_8dox}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.dox} -\label{server_8dox}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.\-dox@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/server.\-dox}} -} - - -\subsection{Descripción detallada} -\begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -13/06/2013 -\end{DoxyDate} diff --git a/Socket/doc/latex/server_8h.tex b/Socket/doc/latex/server_8h.tex deleted file mode 100644 index a1cb695..0000000 --- a/Socket/doc/latex/server_8h.tex +++ /dev/null @@ -1,140 +0,0 @@ -\hypertarget{server_8h}{\section{Referencia del Archivo /home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/server.h} -\label{server_8h}\index{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/server.\-h@{/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/server.\-h}} -} - - -Header de la clase \hyperlink{class_server}{Server}. - - -{\ttfamily \#include \char`\"{}Socket.\-h\char`\"{}}\\* -{\ttfamily \#include \char`\"{}Socket\-Exception.\-h\char`\"{}}\\* -{\ttfamily \#include $<$iostream$>$}\\* -{\ttfamily \#include $<$sstream$>$}\\* -{\ttfamily \#include $<$signal.\-h$>$}\\* -{\ttfamily \#include $<$fstream$>$}\\* -{\ttfamily \#include $<$list$>$}\\* -\subsection*{Clases} -\begin{DoxyCompactItemize} -\item -class \hyperlink{class_server}{Server} -\begin{DoxyCompactList}\small\item\em Clase de aplicación servidor. \end{DoxyCompactList}\item -struct \hyperlink{structthread__args}{thread\-\_\-args} -\begin{DoxyCompactList}\small\item\em Argumentos de los threads. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{'defines'} -\begin{DoxyCompactItemize} -\item -\#define \hyperlink{server_8h_a0240ac851181b84ac374872dc5434ee4}{N}~5 -\begin{DoxyCompactList}\small\item\em Numero de conexiones permitidas activas (en espera o activas) \end{DoxyCompactList}\item -\#define \hyperlink{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd}{C\-O\-N\-F\-F\-I\-L\-E}~\char`\"{}socket.\-conf\char`\"{} -\begin{DoxyCompactList}\small\item\em Ruta al fichero de configuración. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Funciones} -\begin{DoxyCompactItemize} -\item -void \hyperlink{server_8h_ab99831172d1d4bca2c79bb37c7c062df}{kill\-Thread} (\hyperlink{structthread__args}{thread\-\_\-args} $\ast$t\-\_\-arg) -\begin{DoxyCompactList}\small\item\em Método de finalización de Threads. \end{DoxyCompactList}\item -void $\ast$ \hyperlink{server_8h_a7d13c650ec7a525ad17cabba4f371745}{Worker\-Thread} (void $\ast$args) -\begin{DoxyCompactList}\small\item\em Método gestión de conexiones. \end{DoxyCompactList}\item -void \hyperlink{server_8h_aa6328bc358b87d3e11c3f460d6427c5b}{process\-Text} (string $\ast$str) -\begin{DoxyCompactList}\small\item\em Método auxiliar de procesado de texto. \end{DoxyCompactList}\item -bool \hyperlink{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{read\-Conf} (string $\ast$ip, int $\ast$port) -\begin{DoxyCompactList}\small\item\em Método de lectura de configuración. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Descripción detallada} -Header de la clase \hyperlink{class_server}{Server}. \begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -11/06/2013 -\end{DoxyDate} -En este fichero se define la clase \hyperlink{class_server}{Server} y algunos métodos globales usados por ésta para la gestión de threads y otros aspectos. - -\subsection{Documentación de los 'defines'} -\hypertarget{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd}{\index{server.\-h@{server.\-h}!C\-O\-N\-F\-F\-I\-L\-E@{C\-O\-N\-F\-F\-I\-L\-E}} -\index{C\-O\-N\-F\-F\-I\-L\-E@{C\-O\-N\-F\-F\-I\-L\-E}!server.h@{server.\-h}} -\subsubsection[{C\-O\-N\-F\-F\-I\-L\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define C\-O\-N\-F\-F\-I\-L\-E~\char`\"{}socket.\-conf\char`\"{}}}\label{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd} - - -Ruta al fichero de configuración. - -Ruta relativa o absoluta al fichero de configuración, de no existir o ser inválido el programa no funcionará. \hypertarget{server_8h_a0240ac851181b84ac374872dc5434ee4}{\index{server.\-h@{server.\-h}!N@{N}} -\index{N@{N}!server.h@{server.\-h}} -\subsubsection[{N}]{\setlength{\rightskip}{0pt plus 5cm}\#define N~5}}\label{server_8h_a0240ac851181b84ac374872dc5434ee4} - - -Numero de conexiones permitidas activas (en espera o activas) - -Esta constante controla cuantas conexiones puede haber en espera o cuantas puede haber establecias en cualquier momento\-: habrá N activas y N en espera como mucho, no N en espera o activas. - -\subsection{Documentación de las funciones} -\hypertarget{server_8h_ab99831172d1d4bca2c79bb37c7c062df}{\index{server.\-h@{server.\-h}!kill\-Thread@{kill\-Thread}} -\index{kill\-Thread@{kill\-Thread}!server.h@{server.\-h}} -\subsubsection[{kill\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}void kill\-Thread ( -\begin{DoxyParamCaption} -\item[{{\bf thread\-\_\-args} $\ast$}]{t\-\_\-arg} -\end{DoxyParamCaption} -)}}\label{server_8h_ab99831172d1d4bca2c79bb37c7c062df} - - -Método de finalización de Threads. - -Éste método se ejecuta para liberar la memoria de los argumentos del thread y mandarlo a la pila de threads terminados. -\begin{DoxyParams}{Parámetros} -{\em t\-\_\-arg} & Puntero al struct que contiene los argumentos del thread \\ -\hline -\end{DoxyParams} -\hypertarget{server_8h_aa6328bc358b87d3e11c3f460d6427c5b}{\index{server.\-h@{server.\-h}!process\-Text@{process\-Text}} -\index{process\-Text@{process\-Text}!server.h@{server.\-h}} -\subsubsection[{process\-Text}]{\setlength{\rightskip}{0pt plus 5cm}void process\-Text ( -\begin{DoxyParamCaption} -\item[{string $\ast$}]{str} -\end{DoxyParamCaption} -)}}\label{server_8h_aa6328bc358b87d3e11c3f460d6427c5b} - - -Método auxiliar de procesado de texto. - -Éste método usa para procesar las entradas de texto del fichero de configuración para adaptarlas a un formato adecuado. - -{\itshape De momento se limita a eliminar whitespace (tabulaciones, saltos de línea y espacios).} -\begin{DoxyParams}{Parámetros} -{\em str} & Línea de texto a procesar \\ -\hline -\end{DoxyParams} -\hypertarget{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{\index{server.\-h@{server.\-h}!read\-Conf@{read\-Conf}} -\index{read\-Conf@{read\-Conf}!server.h@{server.\-h}} -\subsubsection[{read\-Conf}]{\setlength{\rightskip}{0pt plus 5cm}bool read\-Conf ( -\begin{DoxyParamCaption} -\item[{string $\ast$}]{ip, } -\item[{int $\ast$}]{port} -\end{DoxyParamCaption} -)}}\label{server_8h_a4f850f08d755a0d0ebe936b5b84975e3} - - -Método de lectura de configuración. - -Éste método lee el fichero de configuración espeficado para obtener parámetros de configuración para el funcionamiento del servidor. -\begin{DoxyParams}{Parámetros} -{\em ip} & Puntero donde se almacena la I\-P leída \\ -\hline -{\em port} & Puntero donde se almacena el puerto leído \\ -\hline -\end{DoxyParams} -\hypertarget{server_8h_a7d13c650ec7a525ad17cabba4f371745}{\index{server.\-h@{server.\-h}!Worker\-Thread@{Worker\-Thread}} -\index{Worker\-Thread@{Worker\-Thread}!server.h@{server.\-h}} -\subsubsection[{Worker\-Thread}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ Worker\-Thread ( -\begin{DoxyParamCaption} -\item[{void $\ast$}]{args} -\end{DoxyParamCaption} -)}}\label{server_8h_a7d13c650ec7a525ad17cabba4f371745} - - -Método gestión de conexiones. - -Éste método es el que los threads ejecutan al crearse, aquí es donde se define el comportamiento del servidor, ya que cada conexión se gestionará como aquí se detalla. - -{\itshape Por defecto, el comportamiento que lleva programado es el de un servidor \char`\"{}echo\char`\"{}, esperará que el cliente le envíe un mensaje y responderá con el mismo mensaje.} -\begin{DoxyParams}{Parámetros} -{\em args} & Puntero al struct de los argumentos del thread casteado a tipo void$\ast$ \\ -\hline -\end{DoxyParams} diff --git a/Socket/doc/latex/server_code.tex b/Socket/doc/latex/server_code.tex deleted file mode 100644 index 430ef3f..0000000 --- a/Socket/doc/latex/server_code.tex +++ /dev/null @@ -1,119 +0,0 @@ -Ejemplo de aplicación servidor - - -\begin{DoxyCode} -\textcolor{preprocessor}{#include "\hyperlink{server_8h}{server.h}"} -\textcolor{preprocessor}{#include } - -\hyperlink{class_server}{Server} *\hyperlink{main__server_8cpp_ab6b71e6574fcb2d2e0a5c2af08a2799f}{serv}; - -\textcolor{keywordtype}{void} \hyperlink{server_8h_ab99831172d1d4bca2c79bb37c7c062df}{killThread}(\hyperlink{structthread__args}{thread\_args} *t\_arg) -\{ - (t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s})->Close(); - pthread\_mutex\_lock(t\_arg->\hyperlink{structthread__args_ad5d64499f5f6e2df467c96b52a94c520}{mutex}); - t\_arg->\hyperlink{structthread__args_ab29508135b033282f374d0fb47028fbd}{serv}->\hyperlink{class_server_a0090663c66f1f371f8b1aa87c5f49623}{setNWorkers}(t\_arg->\hyperlink{structthread__args_ab29508135b033282f374d0fb47028fbd}{serv}->\hyperlink{class_server_acf13ac1f7fc49f28c1b1fa76eab209ab}{getNWorkers}()-1); - cout << \textcolor{stringliteral}{"Worker "} << t\_arg->\hyperlink{structthread__args_a6322b3468fd88f8f49977a6439e9f352}{id} << \textcolor{stringliteral}{": connection terminated"} << endl; - pthread\_mutex\_unlock(t\_arg->\hyperlink{structthread__args_ad5d64499f5f6e2df467c96b52a94c520}{mutex}); - pthread\_cond\_signal(t\_arg->\hyperlink{structthread__args_a96ee28beaed4175257db3d8794245f25}{condition}); - t\_arg->\hyperlink{structthread__args_ab29508135b033282f374d0fb47028fbd}{serv}->\hyperlink{class_server_a0622813f3b675ab661d5f628cec03d30}{getStartedThreads}()->remove(t\_arg-> - \hyperlink{structthread__args_acdcd2db4307e5e75d5110067e196a70e}{thread}); - t\_arg->\hyperlink{structthread__args_ab29508135b033282f374d0fb47028fbd}{serv}->\hyperlink{class_server_a81289d4e58dec18dd01e343c7f397c1e}{getStoppedThreads}()->push\_back(t\_arg-> - \hyperlink{structthread__args_acdcd2db4307e5e75d5110067e196a70e}{thread}); - \textcolor{keywordflow}{if}(t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s} != 0) - \{ - \textcolor{keyword}{delete} t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s}; - t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s} = 0; - \} - \textcolor{keywordflow}{if}(t\_arg != 0) - \{ - \textcolor{keyword}{delete} t\_arg; - t\_arg = 0; - \} - pthread\_exit(NULL); -\} - -\textcolor{keywordtype}{void} *\hyperlink{server_8h_a7d13c650ec7a525ad17cabba4f371745}{WorkerThread}(\textcolor{keywordtype}{void}* args) -\{ - \textcolor{keyword}{struct }\hyperlink{structthread__args}{thread\_args} *t\_arg = (\textcolor{keyword}{struct }\hyperlink{structthread__args}{thread\_args}*)args; - \textcolor{keywordflow}{while}(\textcolor{keyword}{true}) - \{ - \textcolor{keywordtype}{string} message; - *(t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s}) >> message; - cout << \textcolor{stringliteral}{"Worker "} << t\_arg->\hyperlink{structthread__args_a6322b3468fd88f8f49977a6439e9f352}{id} << \textcolor{stringliteral}{" received: "} << message << endl; - \textcolor{keywordtype}{string} send = \textcolor{stringliteral}{"You said: "}; - send += message; - *(t\_arg->\hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s}) << send; - \} - \hyperlink{server_8h_ab99831172d1d4bca2c79bb37c7c062df}{killThread}(t\_arg); -\} - -\textcolor{keywordtype}{void} \hyperlink{main__server_8cpp_a5ee86dec2f1282750e7b1da928d45dbc}{stopServer}(\textcolor{keywordtype}{int} signal) -\{ - serv->\hyperlink{class_server_a74769349252c1ad61717b156e42d61d3}{requestExit}(); -\} - -\textcolor{keywordtype}{void} \hyperlink{server_8h_aa6328bc358b87d3e11c3f460d6427c5b}{processText}(\textcolor{keywordtype}{string} *str) -\{ - \textcolor{keywordflow}{for}(\textcolor{keywordtype}{int} i = 0; i < str->length(); i++) - \{ - \textcolor{keywordflow}{if}((*str)[i] == 32 || (*str)[i] == 10 || (*str)[i] == 11) - \{ - str->erase(i--,1); - \} - \} -\} - -\textcolor{keywordtype}{bool} \hyperlink{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{readConf}(\textcolor{keywordtype}{string} *ip, \textcolor{keywordtype}{int} *port) -\{ - *ip = \textcolor{stringliteral}{""}; - *port = 0; - ifstream confFile; - confFile.open(\hyperlink{server_8h_ad22e7f0ef164a8dafb32f779f737a1bd}{CONFFILE}); - \textcolor{keywordflow}{if}(!confFile.is\_open()) - \{ - cout << \textcolor{stringliteral}{"Error opening configuration file"} << endl; - \textcolor{keywordflow}{return} \textcolor{keyword}{false}; - \} - \textcolor{keywordtype}{string} parameter; - \textcolor{keywordflow}{while}(\textcolor{keyword}{true}) - \{ - getline(confFile, parameter, \textcolor{charliteral}{'='}); - \hyperlink{server_8h_aa6328bc358b87d3e11c3f460d6427c5b}{processText}(¶meter); - \textcolor{keywordflow}{if}(confFile.eof()) - \{ - \textcolor{keywordflow}{break}; - \} - \textcolor{keywordflow}{if}(parameter == \textcolor{stringliteral}{"bind-ip"}) - \{ - confFile >> *ip; - \} - \textcolor{keywordflow}{else} \textcolor{keywordflow}{if}(parameter == \textcolor{stringliteral}{"port"}) - \{ - confFile >> *port; - \} - \} - confFile.close(); - \textcolor{keywordflow}{if}(*ip == \textcolor{stringliteral}{""} || *port == 0) - \{ - \textcolor{keywordflow}{return} \textcolor{keyword}{false}; - \} - \textcolor{keywordflow}{return} \textcolor{keyword}{true}; -\} - -\textcolor{keywordtype}{int} \hyperlink{client_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main}() -\{ - \textcolor{keywordtype}{string} ip; - \textcolor{keywordtype}{int} port; - serv = \textcolor{keyword}{new} \hyperlink{class_server}{Server}(); - signal(SIGINT, \hyperlink{main__server_8cpp_a5ee86dec2f1282750e7b1da928d45dbc}{stopServer}); - \textcolor{keywordflow}{if}(!\hyperlink{server_8h_a4f850f08d755a0d0ebe936b5b84975e3}{readConf}(&ip,&port)) - \{ - cout << \textcolor{stringliteral}{"Configuration couldn't be loaded"} << endl; - \textcolor{keywordflow}{return} -1; - \} - serv->\hyperlink{class_server_aef89851f83a9bbe4459c46b6c7906e1f}{startServer}(ip,port); - \textcolor{keyword}{delete} \hyperlink{main__server_8cpp_ab6b71e6574fcb2d2e0a5c2af08a2799f}{serv}; - \textcolor{keywordflow}{return} 0; -\} -\end{DoxyCode} - \ No newline at end of file diff --git a/Socket/doc/latex/structthread__args.tex b/Socket/doc/latex/structthread__args.tex deleted file mode 100644 index 2db0190..0000000 --- a/Socket/doc/latex/structthread__args.tex +++ /dev/null @@ -1,90 +0,0 @@ -\hypertarget{structthread__args}{\section{Referencia de la Estructura thread\-\_\-args} -\label{structthread__args}\index{thread\-\_\-args@{thread\-\_\-args}} -} - - -Argumentos de los threads. - - - - -{\ttfamily \#include $<$server.\-h$>$} - -\subsection*{Atributos públicos} -\begin{DoxyCompactItemize} -\item -pthread\-\_\-mutex\-\_\-t $\ast$ \hyperlink{structthread__args_ad5d64499f5f6e2df467c96b52a94c520}{mutex} -\begin{DoxyCompactList}\small\item\em Variable de control de la exclusión mútua entre threads. \end{DoxyCompactList}\item -pthread\-\_\-cond\-\_\-t $\ast$ \hyperlink{structthread__args_a96ee28beaed4175257db3d8794245f25}{condition} -\begin{DoxyCompactList}\small\item\em Variable de notificación a otros threads. \end{DoxyCompactList}\item -pthread\-\_\-t $\ast$ \hyperlink{structthread__args_acdcd2db4307e5e75d5110067e196a70e}{thread} -\begin{DoxyCompactList}\small\item\em Puntero al thread. \end{DoxyCompactList}\item -\hyperlink{class_socket}{Socket} $\ast$ \hyperlink{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{s} -\begin{DoxyCompactList}\small\item\em Puntero al socket. \end{DoxyCompactList}\item -\hyperlink{class_server}{Server} $\ast$ \hyperlink{structthread__args_ab29508135b033282f374d0fb47028fbd}{serv} -\begin{DoxyCompactList}\small\item\em Puntero al servidor. \end{DoxyCompactList}\item -int \hyperlink{structthread__args_a6322b3468fd88f8f49977a6439e9f352}{id} -\begin{DoxyCompactList}\small\item\em I\-D del thread. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Descripción detallada} -Argumentos de los threads. - -Este struct define los argumentos que recibe un thread abierto por la aplicación servidor al recibir una conexión entrante \begin{DoxyAuthor}{Autor} -Imanol Barba Sabariego -\end{DoxyAuthor} -\begin{DoxyDate}{Fecha} -11/06/2013 -\end{DoxyDate} - - -\subsection{Documentación de los datos miembro} -\hypertarget{structthread__args_a96ee28beaed4175257db3d8794245f25}{\index{thread\-\_\-args@{thread\-\_\-args}!condition@{condition}} -\index{condition@{condition}!thread_args@{thread\-\_\-args}} -\subsubsection[{condition}]{\setlength{\rightskip}{0pt plus 5cm}pthread\-\_\-cond\-\_\-t$\ast$ thread\-\_\-args\-::condition}}\label{structthread__args_a96ee28beaed4175257db3d8794245f25} - - -Variable de notificación a otros threads. - -Esta variable se usa para notificar a otros threads cuando deben realizar otras acciones. - -{\itshape Actualmente se usa para notificar al thread principal cuando el thread que lo invoca ha terminado, en caso de que el principal haya quedado bloqueado y no admita más conexiones.} \hypertarget{structthread__args_a6322b3468fd88f8f49977a6439e9f352}{\index{thread\-\_\-args@{thread\-\_\-args}!id@{id}} -\index{id@{id}!thread_args@{thread\-\_\-args}} -\subsubsection[{id}]{\setlength{\rightskip}{0pt plus 5cm}int thread\-\_\-args\-::id}}\label{structthread__args_a6322b3468fd88f8f49977a6439e9f352} - - -I\-D del thread. - -Identifica al thread con un I\-D único \hypertarget{structthread__args_ad5d64499f5f6e2df467c96b52a94c520}{\index{thread\-\_\-args@{thread\-\_\-args}!mutex@{mutex}} -\index{mutex@{mutex}!thread_args@{thread\-\_\-args}} -\subsubsection[{mutex}]{\setlength{\rightskip}{0pt plus 5cm}pthread\-\_\-mutex\-\_\-t$\ast$ thread\-\_\-args\-::mutex}}\label{structthread__args_ad5d64499f5f6e2df467c96b52a94c520} - - -Variable de control de la exclusión mútua entre threads. - -Esta variable se usa para bloquear otros threads en operaciones de exclusion mútua donde se modifican variables compartidas \hypertarget{structthread__args_aede3ef61778d02bdf25c368d1cf9d489}{\index{thread\-\_\-args@{thread\-\_\-args}!s@{s}} -\index{s@{s}!thread_args@{thread\-\_\-args}} -\subsubsection[{s}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Socket}$\ast$ thread\-\_\-args\-::s}}\label{structthread__args_aede3ef61778d02bdf25c368d1cf9d489} - - -Puntero al socket. - -Esta variable representa el puntero al socket que proviene de la conexión entrante recibida por el servidor. Con este, el thread puede recibir y enviar los datos. \hypertarget{structthread__args_ab29508135b033282f374d0fb47028fbd}{\index{thread\-\_\-args@{thread\-\_\-args}!serv@{serv}} -\index{serv@{serv}!thread_args@{thread\-\_\-args}} -\subsubsection[{serv}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Server}$\ast$ thread\-\_\-args\-::serv}}\label{structthread__args_ab29508135b033282f374d0fb47028fbd} - - -Puntero al servidor. - -Esta variable representa el puntero al servidor de la aplicación. Con este puntero, los threads se mueven a la pila de threads terminados una vez terminan la ejecución para que el thread principal (el propio servidor), vaya liberando la memoria asignada. \hypertarget{structthread__args_acdcd2db4307e5e75d5110067e196a70e}{\index{thread\-\_\-args@{thread\-\_\-args}!thread@{thread}} -\index{thread@{thread}!thread_args@{thread\-\_\-args}} -\subsubsection[{thread}]{\setlength{\rightskip}{0pt plus 5cm}pthread\-\_\-t$\ast$ thread\-\_\-args\-::thread}}\label{structthread__args_acdcd2db4307e5e75d5110067e196a70e} - - -Puntero al thread. - -Esta variable representa el puntero del propio thread. Al finalizar, este enviará su puntero a la lista de threads terminados, donde la memoria asignada al thread se destruirá. - -La documentación para esta estructura fue generada a partir del siguiente fichero\-:\begin{DoxyCompactItemize} -\item -/home/imanol/devel/eclipse/\-P\-A\-D/\-Socket/src/include/\hyperlink{server_8h}{server.\-h}\end{DoxyCompactItemize} diff --git a/Socket/socket.conf b/Socket/socket.conf deleted file mode 100644 index f27bd8b..0000000 --- a/Socket/socket.conf +++ /dev/null @@ -1,2 +0,0 @@ -bind-ip = 127.0.0.1 -port = 3001 diff --git a/Socket/src/Socket.cpp b/Socket/src/Socket.cpp deleted file mode 100644 index 6ec78bf..0000000 --- a/Socket/src/Socket.cpp +++ /dev/null @@ -1,191 +0,0 @@ -/** @file -* \brief Fichero de implementación de la clase Socket -* \author Imanol Barba Sabariego -* \date 13/06/2013 -* -* En este fichero se implementan los métodos de la clase Socket definidos en Socket.h -*/ -#include "Socket.h" -#include "SocketException.h" -#include -#include -#include -#include - -using namespace std; - -Socket::Socket() -{ - sock = -1; -} - -int Socket::getSock() -{ - return sock; -} - -void Socket::Create() -{ - int optval = 1; - if((sock = socket(AF_INET, SOCK_STREAM, 0)) <= 0) - { - throw SocketException ( "TCP: Could not create socket" ); - } - setsockopt(sock,SOL_SOCKET,SO_KEEPALIVE,&optval,sizeof optval); - setsockopt(sock, SOL_TCP, TCP_NODELAY, &optval, sizeof optval); -} - -void Socket::Bind(string address, int port) -{ - sockAddr.sin_family = AF_INET; - sockAddr.sin_port = htons(port); - sockAddr.sin_addr.s_addr = inet_addr(address.c_str()); - if(bind(sock, (struct sockaddr *)&sockAddr, sizeof(struct sockaddr)) != 0) - { - stringstream sstream; - sstream << "TCP: Could not bind to address " << address << " on port " << port; - throw SocketException ( sstream.str() ); - } -} - -void Socket::Listen(int backlog) -{ - if(listen(sock, backlog) != 0) - { - throw SocketException ( "TCP: Could not listen to socket" ); - } -} - -void Socket::Accept(Socket &clientSock) -{ - int size = sizeof(struct sockaddr); - clientSock.sock = accept(sock,(struct sockaddr *)&clientSock.sockAddr, (socklen_t *)&size); - if(clientSock.sock == -1) - { - throw SocketException ( "TCP: Could not accept incoming connection" ); - } -} - -void Socket::Connect(string hostname, int port) -{ - struct in_addr *addr_ptr; - struct hostent *hostPtr; - string add; - hostPtr = gethostbyname(hostname.c_str()); - if(hostPtr == NULL) - { - throw SocketException (string("Could not resolve hostname ").append(hostname)); - } - addr_ptr = (struct in_addr *)*hostPtr->h_addr_list; - add = inet_ntoa(*addr_ptr); - if(add == "") - { - throw SocketException ( "Invalid address" ); - } - struct sockaddr_in newSockAddr; - newSockAddr.sin_family = AF_INET; - newSockAddr.sin_port = htons(port); - newSockAddr.sin_addr.s_addr = inet_addr(add.c_str()); - if(connect(sock, (struct sockaddr *)&newSockAddr, sizeof(struct sockaddr)) != 0) - { - stringstream sstream; - sstream << "Could not connect to " << hostname << " on port " << port; - throw SocketException ( sstream.str()); - } -} - -int Socket::Receive(char *buff, int length) -{ - int bytes, total = 0; - while(total != length) - { - bytes = recv(sock, buff+total, length-total,0); - if ( bytes <= 0 ) - { - throw SocketException ( "TCP: Could not read from socket." ); - } - total += bytes; - } - return total; -} - -int Socket::Send(const char *buff, int length) -{ - int bytes, total = 0; - while(total != length) - { - bytes = send(sock,buff+total,length-total,0); - if(bytes == -1) - { - throw SocketException ( "TCP: Could not write to socket." ); - } - total += bytes; - } - return total; -} - -void Socket::Close() -{ - if(sock > 0) - { - close(sock); - sock = 0; - } - else - { - throw SocketException ( "TCP: Could not close socket." ); - } -} - -const Socket& Socket::operator << ( const std::string& text) -{ - stringstream sstream; - int length = text.length(); - if(!length) - { - string s = "0"; - Send(s.c_str(), 2); - return *this; - } - sstream << length; - string len = sstream.str(); - Send(len.c_str(), len.length()+1); - Send(text.c_str(), text.length()); - return *this; -} - -const Socket& Socket::operator >> ( std::string& text ) -{ - text = ""; - string len; - int length; - stringstream sstream; - char c; - while(true) - { - if( Receive(&c,1) <= 0) - { - throw SocketException ( "TCP: Could not read from socket." ); - } - if(c == '\0') - { - break; - } - len += c; - } - sstream << len; - sstream >> length; - if(!length) - { - return *this; - } - char *message = new char[length]; - Receive(message,length); - text.append(message,length); - if(message != NULL) - { - delete[] message; - message = NULL; - } - return *this; -} \ No newline at end of file diff --git a/Socket/src/client.cpp b/Socket/src/client.cpp deleted file mode 100644 index 45b54f6..0000000 --- a/Socket/src/client.cpp +++ /dev/null @@ -1,138 +0,0 @@ -/** @file -* \brief Fichero de implementación de un cliente -* \author Imanol Barba Sabariego -* \date 13/06/2013 -* -* En este fichero se implementa un cliente para poder usar con el servidor creado, usando la clase Socket. -*/ -#include "Socket.h" -#include -#include "SocketException.h" -#include -#include -#include -#include - -using namespace std; - -bool connected; - -//! Método para terminar el cliente -/*! Este método se usa para terminar el cliente immediatamente en el caso que el servidor cierre la conexión de forma inesperada, capturando -el signal SIGPIPE. */ -void exitClient(int signal/*!> host; - cout << "Port: "; - cin >> port; - cin.ignore(); - try - { - s.Connect(host,port); - } - catch(SocketException& e) - { - cout << e.description() << endl; - return -1; - } - cout << "Connected" << endl; - } -} - -//! Método principal del cliente -/*! Este método inicializa el Socket, establece la conexión y realiza las acciones que se le hayan programado para comunicarse con el servidor.*/ -int main() -{ - signal(SIGPIPE, exitClient); - signal(SIGINT, exitClient); - Socket s; - string send, recv, host; - - int port; - - while(true) - { - cout << "> "; - getline(cin,send); - if(cin.eof()) - { - send = "exit"; - } - try - { - s << send; - if(send == "exit") - { - s >> recv; - if(recv == "OK") - { - cout << "Exiting" << endl; - s.Close(); - return 0; - } - } - else if(send == "test") - { - string data = "", answer; - double size; - double start, duration; - cout << "Size in MB: "; - cin >> size; - cin.ignore(); - for(long int i = 0; i < size*1e6; i++ ) - { - data += (char)( 65 + i % 26); - } - cout << "Data generated, commencing transfer" << endl; - struct timeval st, ed; - gettimeofday(&st, NULL); - s << data; - cout << "Data sent" << endl; - s >> answer; - gettimeofday(&ed, NULL); - start = (st.tv_sec) + (st.tv_usec) / 1e6; - duration = ((ed.tv_sec) + (ed.tv_usec) / 1e6) - start; - if(answer == "ACK") - { - cout << "Transferred " << size << " MB in " << duration << " seconds" << endl; - cout << "Data rate: " << size/duration << " MB/s" << endl; - } - } - else - { - s >> recv; - cout << "Received: " << recv << endl; - } - } - catch(SocketException& e) - { - cout << e.description() << endl; - cout << "Exiting" << endl; - s.Close(); - return -1; - } - } -} - -/* TO-DO - * - * spawn 2 IO threads - * connect/disconnect commands - * list nicks - * unicast message - */ \ No newline at end of file diff --git a/Socket/src/client.dox b/Socket/src/client.dox deleted file mode 100644 index 54a820d..0000000 --- a/Socket/src/client.dox +++ /dev/null @@ -1,49 +0,0 @@ -/** @file -\author Imanol Barba Sabariego -\date 13/06/2013 -\page client_code Client -\brief Ejemplo de aplicación cliente - -\code{.cpp} -#include "Socket.h" -#include -#include "SocketException.h" -#include -#include -#include -#include - -using namespace std; - -void exitClient(int signal) -{ - cout << "Server connection terminated unexpectedly" << endl << "Exiting" << endl; - exit(-1); -} - -int main() -{ - signal(SIGPIPE, exitClient); - signal(SIGINT, exitClient); - Socket s; - string send, recv, host; - int port; - s.Create(); - cout << "Created socket" << endl; - cout << "Hostname: "; - cin >> host; - cout << "Port: "; - cin >> port; - cin.ignore(); - s.Connect(host,port); - cout << "Connected" << endl; - while(true) - { - cout << "> "; - getline(cin,send); - s >> recv; - cout << "Received: " << recv << endl; - } -} -\endcode -*/ \ No newline at end of file diff --git a/Socket/src/conf.dox b/Socket/src/conf.dox deleted file mode 100644 index 8ca940d..0000000 --- a/Socket/src/conf.dox +++ /dev/null @@ -1,31 +0,0 @@ -/** @file -\author Imanol Barba Sabariego -\date 13/06/2013 -\page conf Fichero de configuración -\brief Descripción de la sintaxis y parámetros del fichero de configuración - -\tableofcontents - A continuación se detalla el uso del fichero de configuración del servidor. -

- \section sintax Sintáxis - La sintaxis es muy sencilla: - - @verbatim PARÁMETRO=VALOR @endverbatim - - donde pueden ser espacios, tabulaciones o saltos de línea. -
- \section params Parámetros - A continuación se detallan los posibles parámetros y qué valores aceptan. -
- \subsection bind bind-ip - Contiene la dirección IP que será asigada al Socket del servidor, por tanto, la dirección donde escuchará conexiones. - Acepta un string del tipo W.X.Y.Z donde W,X,Y,Z son números de 0 a 255. - \subsection portnum port - El puerto donde el servidor acepta conexiones. - Acepta un número de 1 a 65535. -
-
-
- \section examples-conf Ejemplos - bind-ip = 127.0.0.1
port = 3001
-*/ \ No newline at end of file diff --git a/Socket/src/howto.dox b/Socket/src/howto.dox deleted file mode 100644 index b90262f..0000000 --- a/Socket/src/howto.dox +++ /dev/null @@ -1,64 +0,0 @@ -/** @file -\author Imanol Barba Sabariego -\date 13/06/2013 -\page howto HOWTO -\brief Descripción de funcionamiento y uso de la librería. - -\tableofcontents - A continuación se desglosan las instrucciones para el desarrollo con esta libería y su posterior uso. -

- \section proto Descripción del protocolo - En las comunicaciones con Sockets hay un problema, es fácil saber la longitud del mensaje que vas a enviar, pero cuesta saber la longitud del mensaje que deseas recibir, ya que la transmisión se puede detener por llegar al fin del mensaje o bien por que hay problemas en la red. - - Los sockets de UNIX nos dan una solución, que es usar llamadas no bloqueantes para recibir el mensaje, es decir: Si leo de un socket, y no he llenado el buffer donde guardo los datos que recibo de allí, la aplicación no se bloquea esperando recibir la suficiente cantidad de datos. A su vez, se usan llamadas a la función select() para comprovar si hay datos disponibles a para leer o la conexión está terminada. - - Esto requiere uso de la forks e ir haciendo encuesta (polling) al socket, cosa que consume más recursos del sistema. - - Debido a la complejidad añadida que supone hacerlo por esta vía, ya que la librería usa threads que son más ligeros para el sistema y la memoria RAM; se ha optado por implementar un sencillísimo protocolo de comunicación que no supone gasto de computación y repercute de forma nímia en el rendimiento de la transferencia. - -
- \subsection plain Modo en texto llano - Este modo transmite los carácteres de texto sin ningún tipo de encriptación, por lo tanto son totalmente visibles para cualquier agente intermedio. Sin embargo, el modo sin encriptación es más rápido y ofrece el doble de velocidad de transferencia aproximadamente. -
- \subsection send Envío/Recepción de mensajes - El mensaje se transmite de la siguiente forma: - - -# Bob le quiere mandar a Alice un mensaje, primero primero pone el número de carácteres (bytes) que ocupa el mensaje en forma de string terminado con carácter NULL ('\0') y lo manda. - -# Bob transmite el mensaje íntegro. - -# Alice lee uno a uno los carácteres del socket hasta encontrar un carácter NULL ('\0'), entonces lee lo que ha recibido, que es la longitud del mensaje real. - -# Alice pasa a extraer los N bytes que ha leído que recibiría y obtiene el mensaje final. -
-
-
- \section compile Compilación - A continuación se detallan las opciones e instrucciones necesarias para compilar esta librería. -
- \subsection defines Opciones de compilación - Los siguientes #defines establecen la configuración en tiempo de compilación - - \ref RSALENGTH : La longitud de la llave RSA que se usará. - - \ref AESLENGTH : La longitud de la llave AES que se usará. - - \ref CONFFILE : La ruta absoluta o relativa al fichero de configuración del servidor (véase: \ref conf). - - \ref PUBLICKEY : La ruta absoluta o relativa a la llave pública RSA. Existe en server.h y client.cpp - - \ref PRIVATEKEY : La ruta absoluta o relativa a la llave pública RSA. Existe en server.h y client.cpp -
- \subsection flags Flags de compilación y librerías - Flags de compilación necesarios: - - -I/carpeta/con/cabeceras_de/crypto++ -I/carpeta/con/cabeceras/de_la/librería/Socket - - -L/carpeta/con/la_librería/crypto++ - - -lcryptopp -lpthread - - Véase: \ref makefile -
-
-
- \section examples Ejemplos - A continuación se detalla el código para programar una aplicación servidor cliente sencilla -
- \subsection server Programar un servidor - Véase: \ref client_code -
- \subsection client Programar un cliente - Véase: \ref server_code -
-
-*/ \ No newline at end of file diff --git a/Socket/src/include/Socket.h b/Socket/src/include/Socket.h deleted file mode 100644 index 8b87b14..0000000 --- a/Socket/src/include/Socket.h +++ /dev/null @@ -1,86 +0,0 @@ -/** @file -* \brief Header de la clase Socket -* \author Imanol Barba Sabariego -* \date 12/06/2013 -* -* En este fichero se define la clase Socket, que es la clase que se abstraer toda la comunicación con sockets al programador -*/ -#ifndef SOCKET_H_ -#define SOCKET_H_ - -#include -#include -#include -#include -#include -#include -#include -#include - -using namespace std; - -//! Clase del socket -/** -Esta clase define un objeto con los métodos y atributos necesarios para realizar comunicación encriptada o en texto llano a través de un socket TCP/IP -en un entorno UNIX abstrayendo la implementación de sockets y de encriptación al programador. -*/ -class Socket -{ - private: - //! Descriptor del fichero del socket - /*! Esta variable contiene el file descriptor del socket abierto por el SO. */ - int sock; - //! Estructura de dirección de socket - /*! Este struct es usado por el SO para gestionar la dirección del socket abierto. */ - struct sockaddr_in sockAddr; - //! Método para recibir un mensaje de longitud conocida - /*! \brief Este método se usa para recibir un mensaje de la longitud que se especifica por argumento y almacenarlo en el buffer - proporcionado. - - _Este método garantiza que todo el mensaje se recibirá entero aunque la red no admita una longitud de paquete tan grande._*/ - int Receive(char *buff/*!> ( string& /*! - -using namespace std; - -//! Clase de Excepción de Sockets -/** -Definición de las excepciones lanzadas por la librería de comunicación TCP/IP -*/ -class SocketException -{ - public: - //! Constructor de la clase - /*! Inicializa el mensaje */ - SocketException ( string m /**< Mensaje inicial */ ) : message ( m ) {}; - ~SocketException (){}; - //! Getter del atributo message - /*! Devuelve el mensaje asociado a la excepción producida */ - string description() { return message; } - private: - //! Mensaje asociado a la excepción producida - string message; -}; -#endif /* SOCKETEXCEPTION_H_ */ \ No newline at end of file diff --git a/Socket/src/include/server.h b/Socket/src/include/server.h deleted file mode 100644 index c73a6f0..0000000 --- a/Socket/src/include/server.h +++ /dev/null @@ -1,149 +0,0 @@ -/** @file -* \brief Header de la clase Server -* \author Imanol Barba Sabariego -* \date 11/06/2013 -* -* En este fichero se define la clase Server y algunos métodos globales usados por ésta para la gestión de threads y otros aspectos. -*/ - -#ifndef SERVER_H_ -#define SERVER_H_ - -#include "Socket.h" -#include "SocketException.h" -#include -#include -#include -#include -#include -#include - -//! Numero de conexiones permitidas activas (en espera o activas) -/*! Esta constante controla cuantas conexiones puede haber en espera o cuantas puede haber establecias en cualquier momento: habrá N activas -y N en espera como mucho, no N en espera o activas. */ -#define N 5 -//! Ruta al fichero de configuración -/*! Ruta relativa o absoluta al fichero de configuración, de no existir o ser inválido el programa no funcionará. */ -#define CONFFILE "socket.conf" -//! Nombre del socket del módulo de control -/*! Nombre y ruta del socket UNIX del módulo de control */ - -using namespace std; - -//! Clase de aplicación servidor -/** -Esta clase define un objeto con los métodos y atributos necesarios para lanzar una aplicación servidor y atender las conexiones. Para realizar -la comunicación con el cliente, usa un objeto de la clase Socket -*/ -class Server -{ - private: - //! Contador de threads - /*! Esta variable se encarga de mantener la cuenta de threads activos, por tanto, el número de conexiones que estan siendo antendidas - simultáneamente. */ - int nWorkers; - //! Variable de apagado - /*! Esta variable controla el apagado del servidor, al ponerla a true, la siguiente iteración del bucle que atiende las conexiones - no se producirá y el programa terminará. */ - bool shutdownServer; - //! Contador de ID de thread - /*! Esta variable contiene el ID del próximo thread que se creará, por tanto, indica el número de conexiones que han sido atendidas desde - el inicio del servidor */ - int workerID; - //! Pila de threads terminados - /*! Esta variable contiene una lista de threads que han finalizado su ejecución. A cada iteración del bucle que atiende conexiones, - se libera toda la memoria de los threads que hay almacenados aquí. */ - list stoppedThreads; - //! Pila de threads empezados - /*! \brief Esta variable contiene una lista de threads que han empezado su ejecución. Si el programa finalizara prematuramente, se liberarían los punteros - de los threads almacenados en esta pila. - - __NOTA: No se liberará la memoria asignada a los argumentos de los threads, dando lugar a memory leaks; sin embargo, esto se produciria al finalizar - el programa, por tanto no es relevante.__ */ - list startedThreads; - //! Socket de comunicación - /*! Esta variable contiene el objeto de la clase Socket que la aplicación servidor usa para poder atender las peticiones. Su función - es quedarse escuchando el el puerto e IP introducidas en el fichero de configuración y crear un objeto de la clase Socket para cada - petición de cada cliente nuevo, siendo este último objeto creado el que se usa para la comuncación. */ - Socket ss; - - public: - //! Constructor de la clase Server - /*! Incializa los argumentos inciales del servidor */ - Server() : nWorkers(0), workerID(0), shutdownServer(false) {} - //! Getter del número de threads activos - /*! Devuelve el número de threads activos en ese instante, por tanto, del número de conexiones que están siendo atendidas. */ - int getNWorkers(); - //! Setter del número de threads activos - /*! Establece el número de threads activos, para poder cambiarlo cuando alguno de los threads activos finaliza */ - void setNWorkers(int n /*!* getStartedThreads(); - //! Getter de la pila de threads terminados - /*! Devuelve un contenedor con la lista de threads que han terminado, para poder liberar la memoria que se le ha asignado */ - list* getStoppedThreads(); - //! Método de inicialización del servidor - /*! Incializa el servidor en el puerto e IP especificados para empezar a recibir conexiones entrantes */ - void startServer(string i /*! *threadList/*! -#include -#include - -//!Instancia de la clase Server -/*! Esta variable contiene la instancia de la clase Server que aquí se usa e -inicializa. - -_Se trata de una variable global para poder así usarla en las funciones que reciban signals del SO._ */ -Server *serv; - -void killThread(thread_args *t_arg) -{ - (t_arg->s)->Close(); - pthread_mutex_lock(t_arg->mutex); - t_arg->serv->setNWorkers(t_arg->serv->getNWorkers()-1); - cout << "TCP: Worker " << t_arg->id << ": connection terminated" << endl; - pthread_mutex_unlock(t_arg->mutex); - pthread_cond_signal(t_arg->condition); - t_arg->serv->getStartedThreads()->remove(t_arg->thread); - t_arg->serv->getStoppedThreads()->push_back(t_arg->thread); - if(t_arg->s != 0) - { - delete t_arg->s; - t_arg->s = 0; - } - if(t_arg != 0) - { - delete t_arg; - t_arg = 0; - } - pthread_exit(NULL); -} - -void *WorkerThread(void* args) -{ - struct thread_args *t_arg = (struct thread_args*)args; - try - { - while(true) - { - string message; - *(t_arg->s) >> message; - if(message == "exit") - { - *(t_arg->s) << "OK"; - break; - } - else if(message == "test") - { - string data; - *(t_arg->s) >> data; - cout << "TCP: Received " << data.length() << " bytes" << endl; - *(t_arg->s) << "ACK"; - } - else - { - cout << "TCP: Worker " << t_arg->id << " received: " << message << endl; - string send = "You said: "; - send += message; - *(t_arg->s) << send; - } - } - } - catch(SocketException& e) - { - cout << e.description() << endl; - cout << "TCP: Client closed the connection unexpectedly" << endl; - } - killThread(t_arg); -} - -//! Método de detención del servidor -/*! Este método detiene el servidor al recibir el signal SIGINT del SO. */ -void stopServer(int signal/*!requestExit(); -} - -void processText(string *str) -{ - for(int i = 0; i < str->length(); i++) - { - if((*str)[i] == 32 || (*str)[i] == 10 || (*str)[i] == 11) - { - str->erase(i--,1); - } - } -} - -bool readConf(string *ip, int *port) -{ - *ip = ""; - *port = 0; - ifstream confFile; - confFile.open(CONFFILE); - if(!confFile.is_open()) - { - cout << "TCP: Error opening configuration file" << endl; - return false; - } - string parameter; - while(true) - { - getline(confFile, parameter, '='); - processText(¶meter); - if(confFile.eof()) - { - break; - } - if(parameter == "bind-ip") - { - confFile >> *ip; - } - else if(parameter == "port") - { - confFile >> *port; - } - } - confFile.close(); - if(*ip == "" || *port == 0) - { - return false; - } - return true; -} - -//! Método principal del servidor -/*! Lee la configuración usando readConf() y incializa el servidor. */ -int main() -{ - stringstream sstream; - string ip; - int port; - serv = new Server(); - signal(SIGINT, stopServer); - if(!readConf(&ip,&port)) - { - cout << "TCP: Configuration couldn't be loaded" << endl; - return -1; - } - serv->startServer(ip,port); - delete serv; - return 0; -} - -/* TO-DO - * - * Request nick - * map with sockets/nicks - * spawn a messagesend thread - */ diff --git a/Socket/src/mainpage.dox b/Socket/src/mainpage.dox deleted file mode 100644 index 52917cf..0000000 --- a/Socket/src/mainpage.dox +++ /dev/null @@ -1,13 +0,0 @@ -/*! -* \mainpage Página principal -* -* La librería Socket es una implementación de comunicación con Sockets TCP/IP en GNU/Linux. -* -* El objetivo principal de esta librería es abstraer toda la capa de comunicación al programador, lo único que debe hacer es guardar los datos a enviar en un contenedor STL del tipo std::string y enviarlo a una instancia debidamente incializada de la clase Socket. Este se encarga de inicializar los sockets, atender las conexiones o realizar nuevas, etc. - -* Para más información, consultar el \ref howto -*

-* -* \author Imanol Barba Sabariego -* \date 11/06/2013 -*/ diff --git a/Socket/src/makefile.dox b/Socket/src/makefile.dox deleted file mode 100644 index de9b969..0000000 --- a/Socket/src/makefile.dox +++ /dev/null @@ -1,53 +0,0 @@ -/** @file -\author Imanol Barba Sabariego -\date 13/06/2013 -\page makefile Makefile -\brief Ejemplo de Makefile - -\code -CXXFLAGS = -I../cryptopp -Isrc/include/ -LDFLAGS = -Llib/ -LIBS = -lcryptopp -lpthread -TARGETS = bin/client bin/server bin/socket.conf - - -.PHONY: all clean - ifndef $(CXX) - CXX = g++ - endif - -bin/client: bin/client.o bin/Socket.o lib/libcryptopp.so - $(CXX) -o bin/client bin/client.o bin/Socket.o $(LDFLAGS) $(LIBS) - strip bin/client - -bin/client.o: src/client.cpp - $(CXX) -o bin/client.o -c src/client.cpp $(CXXFLAGS) - -bin/server.o: src/server.cpp src/include/server.h - $(CXX) -o bin/server.o -c src/server.cpp $(CXXFLAGS) - -bin/main_server.o: src/main_server.cpp - $(CXX) -o bin/main_server.o -c src/main_server.cpp $(CXXFLAGS) - -bin/server: bin/server.o bin/Socket.o bin/main_server.o lib/libcryptopp.so src/include/server.h - $(CXX) -o bin/server bin/server.o bin/Socket.o bin/main_server.o $(LDFLAGS) $(LIBS) - strip bin/server - -bin/Socket.o: src/Socket.cpp src/include/Socket.h src/include/SocketException.h - (CXX) -o bin/Socket.o -c src/Socket.cpp $(CXXFLAGS) - -lib/libcryptopp.so: - cd ../cryptopp; make clean; make dynamic; mv libcryptopp.so ../Socket/lib/libcryptopp.so - -bin/socket.conf: - cp socket.conf bin/socket.conf - -clean: - rm -rf bin/* - -docs: - cd doc/doxygen;doxygen Doxyfile - cd doc/latex; make - -all: $(TARGETS) -\endcode \ No newline at end of file diff --git a/Socket/src/server.cpp b/Socket/src/server.cpp deleted file mode 100644 index b6b6558..0000000 --- a/Socket/src/server.cpp +++ /dev/null @@ -1,116 +0,0 @@ -/** @file -* \brief Fichero de implementación de la clase Server -* \author Imanol Barba Sabariego -* \date 13/06/2013 -* -* En este fichero se implementan los métodos de la clase Server definidos en server.h -*/ -#include "server.h" - -using namespace std; - -int Server::getNWorkers() -{ - return nWorkers; -} - -void Server::setNWorkers(int n) -{ - nWorkers = n; -} - -list* Server::getStartedThreads() -{ - return &startedThreads; -} -list* Server::getStoppedThreads() -{ - return &stoppedThreads; -} - -void Server::freeRAM(list *threadList) -{ - int count = 0; - for(list::iterator it = threadList->begin(); it != threadList->end(); it++) - { - if(*it != 0) - { - delete *it; - *it = 0; - } - count++; - } - threadList->clear(); - cout << "TCP: " << count << " Threads freed" << endl; -} - -void Server::requestExit() -{ - cout << "TCP: Exiting!" << endl; - shutdownServer = true; - ss.Close(); -} - -void Server::startServer(string i, int p) -{ - Socket ss; - string ip = i; - int port = p; - signal(SIGPIPE, SIG_IGN); - try - { - int optval = 1; - ss.Create(); - setsockopt(ss.getSock(),SOL_SOCKET,SO_REUSEADDR,&optval,sizeof optval); - ss.Bind(ip,port); - } - catch(SocketException& e) - { - cout << e.description() << endl; - return; - } - pthread_mutex_t m_mutex; - pthread_mutex_init(&m_mutex,0); - pthread_cond_t condition; - pthread_cond_init(&condition,0); - ss.Listen(N); - - while(!shutdownServer) - { - pthread_mutex_lock(&m_mutex); - while(nWorkers >= N) - { - cout << "TCP: Server sleeping" << endl; - pthread_cond_wait(&condition,&m_mutex); - } - freeRAM(&stoppedThreads); - pthread_mutex_unlock(&m_mutex); - Socket *cs = new Socket(); - try - { - ss.Accept(*cs); - } - catch(SocketException& e) - { - break; - } - pthread_mutex_lock(&m_mutex); - thread_args *t_args = new thread_args; - pthread_t *thread = new pthread_t; - t_args->mutex = &m_mutex; - t_args->condition = &condition; - t_args->id = workerID++; - t_args->s = cs; - t_args->serv = this; - t_args->thread = thread; - startedThreads.push_back(thread); - cout << "TCP: Client connected" << endl; - nWorkers++; - pthread_create(thread,NULL,WorkerThread,(void *)t_args); - pthread_mutex_unlock(&m_mutex); - } - cout << "TCP: Running Threads:" << endl; - freeRAM(&startedThreads); - cout << "TCP: Stopped Threads:" << endl; - freeRAM(&stoppedThreads); -} diff --git a/Socket/src/server.dox b/Socket/src/server.dox deleted file mode 100644 index dc6a79e..0000000 --- a/Socket/src/server.dox +++ /dev/null @@ -1,120 +0,0 @@ -/** @file -\author Imanol Barba Sabariego -\date 13/06/2013 -\page server_code Server -\brief Ejemplo de aplicación servidor - -\code{.cpp} -#include "server.h" -#include - -Server *serv; - -void killThread(thread_args *t_arg) -{ - (t_arg->s)->Close(); - pthread_mutex_lock(t_arg->mutex); - t_arg->serv->setNWorkers(t_arg->serv->getNWorkers()-1); - cout << "Worker " << t_arg->id << ": connection terminated" << endl; - pthread_mutex_unlock(t_arg->mutex); - pthread_cond_signal(t_arg->condition); - t_arg->serv->getStartedThreads()->remove(t_arg->thread); - t_arg->serv->getStoppedThreads()->push_back(t_arg->thread); - if(t_arg->s != 0) - { - delete t_arg->s; - t_arg->s = 0; - } - if(t_arg != 0) - { - delete t_arg; - t_arg = 0; - } - pthread_exit(NULL); -} - -void *WorkerThread(void* args) -{ - struct thread_args *t_arg = (struct thread_args*)args; - while(true) - { - string message; - *(t_arg->s) >> message; - cout << "Worker " << t_arg->id << " received: " << message << endl; - string send = "You said: "; - send += message; - *(t_arg->s) << send; - } - killThread(t_arg); -} - -void stopServer(int signal) -{ - serv->requestExit(); -} - -void processText(string *str) -{ - for(int i = 0; i < str->length(); i++) - { - if((*str)[i] == 32 || (*str)[i] == 10 || (*str)[i] == 11) - { - str->erase(i--,1); - } - } -} - -bool readConf(string *ip, int *port) -{ - *ip = ""; - *port = 0; - ifstream confFile; - confFile.open(CONFFILE); - if(!confFile.is_open()) - { - cout << "Error opening configuration file" << endl; - return false; - } - string parameter; - while(true) - { - getline(confFile, parameter, '='); - processText(¶meter); - if(confFile.eof()) - { - break; - } - if(parameter == "bind-ip") - { - confFile >> *ip; - } - else if(parameter == "port") - { - confFile >> *port; - } - } - confFile.close(); - if(*ip == "" || *port == 0) - { - return false; - } - return true; -} - -int main() -{ - string ip; - int port; - serv = new Server(); - signal(SIGINT, stopServer); - if(!readConf(&ip,&port)) - { - cout << "Configuration couldn't be loaded" << endl; - return -1; - } - serv->startServer(ip,port); - delete serv; - return 0; -} -\endcode -*/ \ No newline at end of file -- libgit2 0.22.2