Compare commits
No commits in common. "main" and "gh-pages" have entirely different histories.
64
.gitignore
vendored
@ -1,64 +0,0 @@
|
||||
|
||||
###################################
|
||||
# folders
|
||||
###################################
|
||||
CVS
|
||||
.svn
|
||||
Object_*
|
||||
doxygen/API/
|
||||
doxygen/ALL/
|
||||
|
||||
###################################
|
||||
# backup files
|
||||
###################################
|
||||
*~
|
||||
*.swp
|
||||
*.old
|
||||
*.bck
|
||||
|
||||
###################################
|
||||
# Compiled source #
|
||||
###################################
|
||||
*.com
|
||||
*.class
|
||||
*.dll
|
||||
*.exe
|
||||
*.o
|
||||
*.so
|
||||
*.pyc
|
||||
tags
|
||||
#ewol
|
||||
out
|
||||
ewol_debug
|
||||
ewol_release
|
||||
|
||||
###################################
|
||||
# Packages #
|
||||
###################################
|
||||
# it's better to unpack these files and commit the raw source
|
||||
# git has its own built in compression methods
|
||||
*.7z
|
||||
*.dmg
|
||||
*.gz
|
||||
*.iso
|
||||
*.jar
|
||||
*.rar
|
||||
*.tar
|
||||
*.zip
|
||||
|
||||
###################################
|
||||
# Logs and databases #
|
||||
###################################
|
||||
*.log
|
||||
*.sql
|
||||
*.sqlite
|
||||
|
||||
###################################
|
||||
# OS generated files #
|
||||
###################################
|
||||
.DS_Store?
|
||||
ehthumbs.db
|
||||
Icon?
|
||||
Thumbs.db
|
||||
Sources/libewol/ewol/os/AndroidAbstraction.cpp
|
||||
org_ewol_EwolConstants.h
|
86
.travis.yml
@ -1,7 +1,11 @@
|
||||
language: cpp
|
||||
language:
|
||||
- cpp
|
||||
|
||||
sudo: required
|
||||
dist: trusty
|
||||
sudo: false
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
|
||||
branches:
|
||||
only:
|
||||
@ -14,75 +18,37 @@ addons:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-4.9
|
||||
- expect
|
||||
- binutils-mingw-w64-x86-64 # 64bit MinGW
|
||||
- gcc-mingw-w64-x86-64
|
||||
- g++-mingw-w64-x86-64
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
env: CONF=release BUILDER=gcc TARGET=Linux TAG=Linux COMPILATOR_OPTION="--compilator-version=4.9" GCOV=--gcov
|
||||
compiler: gcc
|
||||
- os: linux
|
||||
env: CONF=debug BUILDER=clang TARGET=Linux
|
||||
compiler: clang
|
||||
- os: linux
|
||||
env: CONF=release BUILDER=gcc TARGET=Windows TAG=Mingw
|
||||
compiler: x86_64-w64-mingw32-gcc
|
||||
- os: linux
|
||||
env: CONF=release BUILDER=gcc TARGET=Android TAG=Android DISABLE_PACKAGE=-p
|
||||
compiler: gcc
|
||||
- os: osx
|
||||
env: CONF=release BUILDER=clang TARGET=MacOs TAG=MacOs
|
||||
compiler: clang
|
||||
- os: osx
|
||||
env: CONF=release BUILDER=clang TARGET=IOs TAG=IOs
|
||||
compiler: clang
|
||||
|
||||
|
||||
install:
|
||||
- cd ..
|
||||
- pip install --user lutin
|
||||
- if [ "$TAG" == "Android" ]; then
|
||||
git clone --depth 1 --branch master https://github.com/HeeroYui/android-download-tool;
|
||||
./android-download-tool/dl-android.sh;
|
||||
fi
|
||||
- git clone --depth 1 --branch master https://github.com/atria-soft/ci.git
|
||||
- cd -
|
||||
|
||||
env:
|
||||
- CONF=debug BOARD=Linux BUILDER=clang GCOV=
|
||||
- CONF=release BOARD=Linux BUILDER=clang GCOV=
|
||||
- CONF=debug BOARD=Linux BUILDER=gcc GCOV=
|
||||
- CONF=release BOARD=Linux BUILDER=gcc GCOV=
|
||||
- CONF=debug BOARD=Linux BUILDER=gcc GCOV=--gcov
|
||||
|
||||
before_script:
|
||||
- cd ..
|
||||
- git clone https://github.com/atria-soft/elog.git -b $TRAVIS_BRANCH
|
||||
- git clone https://github.com/atria-soft/ememory.git -b $TRAVIS_BRANCH
|
||||
- git clone https://github.com/atria-soft/echrono.git -b $TRAVIS_BRANCH
|
||||
- git clone https://github.com/atria-soft/algue.git -b $TRAVIS_BRANCH
|
||||
- git clone https://github.com/atria-soft/etk.git -b $TRAVIS_BRANCH
|
||||
- git clone https://github.com/atria-soft/ethread.git -b $TRAVIS_BRANCH
|
||||
- wget http://atria-soft.com/ci/coverage_send.py
|
||||
- wget http://atria-soft.com/ci/test_send.py
|
||||
- wget http://atria-soft.com/ci/warning_send.py
|
||||
- git clone https://github.com/atria-soft/etk.git
|
||||
- git clone https://github.com/generic-library/gtest-lutin.git --recursive
|
||||
- git clone https://github.com/generic-library/z-lutin.git --recursive
|
||||
- git clone https://github.com/generic-library/openssl-lutin.git --recursive
|
||||
- pwd
|
||||
- ls -l
|
||||
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
|
||||
export PATH=$PATH:/Users/travis/Library/Python/2.7/bin/;
|
||||
fi
|
||||
- ./ci/build_send.py --tag=$TAG --status=START;
|
||||
- if [ "$BUILDER" == "gcc" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi
|
||||
|
||||
script:
|
||||
- lutin -w -j4 -C -P -t$TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF $GCOV $DISABLE_PACKAGE enet-*; STATUS=$?
|
||||
- ./ci/build_send.py --tag=$TAG --status="$STATUS";
|
||||
script:
|
||||
- lutin -w -j4 -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF $GCOV -p enet-test
|
||||
|
||||
after_script:
|
||||
- if [ "$GCOV" != "" ]; then
|
||||
./ci/warning_send.py --find-path ./out/Linux_x86_64/$CONF/build/$BUILDER/enet/;
|
||||
fi
|
||||
- lutin -w -j4 -C -P -t$TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF $GCOV $DISABLE_PACKAGE enet-test-client-websocket?run:--elog-level=3 | tee out_test.txt
|
||||
- if [ "$GCOV" != "" ]; then
|
||||
./ci/test_send.py --file=out_test.txt;
|
||||
lutin -C -P -t $TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF -p enet?gcov;
|
||||
./ci/coverage_send.py --json=out/Linux_x86_64/$CONF/build/$BUILDER/enet/enet_coverage.json;
|
||||
fi
|
||||
- if [ "$GCOV" != "" ]; then python ./warning_send.py --find-path ./out/Linux_x86_64/$CONF/build/$BUILDER/enet/ ; fi
|
||||
- ./out/Linux_x86_64/$CONF/staging/$BUILDER/enet-test/usr/bin/enet-test -l6 | tee out_test.txt
|
||||
- if [ "$GCOV" != "" ]; then python ./test_send.py --file=out_test.txt; fi
|
||||
- if [ "$GCOV" != "" ]; then lutin -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF -p enet?gcov; fi
|
||||
- if [ "$GCOV" != "" ]; then python ./coverage_send.py --json=out/Linux_x86_64/$CONF/build/$BUILDER/enet/enet_coverage.json; fi
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
373
LICENSE
@ -1,373 +0,0 @@
|
||||
Mozilla Public License Version 2.0
|
||||
==================================
|
||||
|
||||
1. Definitions
|
||||
--------------
|
||||
|
||||
1.1. "Contributor"
|
||||
means each individual or legal entity that creates, contributes to
|
||||
the creation of, or owns Covered Software.
|
||||
|
||||
1.2. "Contributor Version"
|
||||
means the combination of the Contributions of others (if any) used
|
||||
by a Contributor and that particular Contributor's Contribution.
|
||||
|
||||
1.3. "Contribution"
|
||||
means Covered Software of a particular Contributor.
|
||||
|
||||
1.4. "Covered Software"
|
||||
means Source Code Form to which the initial Contributor has attached
|
||||
the notice in Exhibit A, the Executable Form of such Source Code
|
||||
Form, and Modifications of such Source Code Form, in each case
|
||||
including portions thereof.
|
||||
|
||||
1.5. "Incompatible With Secondary Licenses"
|
||||
means
|
||||
|
||||
(a) that the initial Contributor has attached the notice described
|
||||
in Exhibit B to the Covered Software; or
|
||||
|
||||
(b) that the Covered Software was made available under the terms of
|
||||
version 1.1 or earlier of the License, but not also under the
|
||||
terms of a Secondary License.
|
||||
|
||||
1.6. "Executable Form"
|
||||
means any form of the work other than Source Code Form.
|
||||
|
||||
1.7. "Larger Work"
|
||||
means a work that combines Covered Software with other material, in
|
||||
a separate file or files, that is not Covered Software.
|
||||
|
||||
1.8. "License"
|
||||
means this document.
|
||||
|
||||
1.9. "Licensable"
|
||||
means having the right to grant, to the maximum extent possible,
|
||||
whether at the time of the initial grant or subsequently, any and
|
||||
all of the rights conveyed by this License.
|
||||
|
||||
1.10. "Modifications"
|
||||
means any of the following:
|
||||
|
||||
(a) any file in Source Code Form that results from an addition to,
|
||||
deletion from, or modification of the contents of Covered
|
||||
Software; or
|
||||
|
||||
(b) any new file in Source Code Form that contains any Covered
|
||||
Software.
|
||||
|
||||
1.11. "Patent Claims" of a Contributor
|
||||
means any patent claim(s), including without limitation, method,
|
||||
process, and apparatus claims, in any patent Licensable by such
|
||||
Contributor that would be infringed, but for the grant of the
|
||||
License, by the making, using, selling, offering for sale, having
|
||||
made, import, or transfer of either its Contributions or its
|
||||
Contributor Version.
|
||||
|
||||
1.12. "Secondary License"
|
||||
means either the GNU General Public License, Version 2.0, the GNU
|
||||
Lesser General Public License, Version 2.1, the GNU Affero General
|
||||
Public License, Version 3.0, or any later versions of those
|
||||
licenses.
|
||||
|
||||
1.13. "Source Code Form"
|
||||
means the form of the work preferred for making modifications.
|
||||
|
||||
1.14. "You" (or "Your")
|
||||
means an individual or a legal entity exercising rights under this
|
||||
License. For legal entities, "You" includes any entity that
|
||||
controls, is controlled by, or is under common control with You. For
|
||||
purposes of this definition, "control" means (a) the power, direct
|
||||
or indirect, to cause the direction or management of such entity,
|
||||
whether by contract or otherwise, or (b) ownership of more than
|
||||
fifty percent (50%) of the outstanding shares or beneficial
|
||||
ownership of such entity.
|
||||
|
||||
2. License Grants and Conditions
|
||||
--------------------------------
|
||||
|
||||
2.1. Grants
|
||||
|
||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
||||
non-exclusive license:
|
||||
|
||||
(a) under intellectual property rights (other than patent or trademark)
|
||||
Licensable by such Contributor to use, reproduce, make available,
|
||||
modify, display, perform, distribute, and otherwise exploit its
|
||||
Contributions, either on an unmodified basis, with Modifications, or
|
||||
as part of a Larger Work; and
|
||||
|
||||
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
||||
for sale, have made, import, and otherwise transfer either its
|
||||
Contributions or its Contributor Version.
|
||||
|
||||
2.2. Effective Date
|
||||
|
||||
The licenses granted in Section 2.1 with respect to any Contribution
|
||||
become effective for each Contribution on the date the Contributor first
|
||||
distributes such Contribution.
|
||||
|
||||
2.3. Limitations on Grant Scope
|
||||
|
||||
The licenses granted in this Section 2 are the only rights granted under
|
||||
this License. No additional rights or licenses will be implied from the
|
||||
distribution or licensing of Covered Software under this License.
|
||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
||||
Contributor:
|
||||
|
||||
(a) for any code that a Contributor has removed from Covered Software;
|
||||
or
|
||||
|
||||
(b) for infringements caused by: (i) Your and any other third party's
|
||||
modifications of Covered Software, or (ii) the combination of its
|
||||
Contributions with other software (except as part of its Contributor
|
||||
Version); or
|
||||
|
||||
(c) under Patent Claims infringed by Covered Software in the absence of
|
||||
its Contributions.
|
||||
|
||||
This License does not grant any rights in the trademarks, service marks,
|
||||
or logos of any Contributor (except as may be necessary to comply with
|
||||
the notice requirements in Section 3.4).
|
||||
|
||||
2.4. Subsequent Licenses
|
||||
|
||||
No Contributor makes additional grants as a result of Your choice to
|
||||
distribute the Covered Software under a subsequent version of this
|
||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
||||
permitted under the terms of Section 3.3).
|
||||
|
||||
2.5. Representation
|
||||
|
||||
Each Contributor represents that the Contributor believes its
|
||||
Contributions are its original creation(s) or it has sufficient rights
|
||||
to grant the rights to its Contributions conveyed by this License.
|
||||
|
||||
2.6. Fair Use
|
||||
|
||||
This License is not intended to limit any rights You have under
|
||||
applicable copyright doctrines of fair use, fair dealing, or other
|
||||
equivalents.
|
||||
|
||||
2.7. Conditions
|
||||
|
||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
||||
in Section 2.1.
|
||||
|
||||
3. Responsibilities
|
||||
-------------------
|
||||
|
||||
3.1. Distribution of Source Form
|
||||
|
||||
All distribution of Covered Software in Source Code Form, including any
|
||||
Modifications that You create or to which You contribute, must be under
|
||||
the terms of this License. You must inform recipients that the Source
|
||||
Code Form of the Covered Software is governed by the terms of this
|
||||
License, and how they can obtain a copy of this License. You may not
|
||||
attempt to alter or restrict the recipients' rights in the Source Code
|
||||
Form.
|
||||
|
||||
3.2. Distribution of Executable Form
|
||||
|
||||
If You distribute Covered Software in Executable Form then:
|
||||
|
||||
(a) such Covered Software must also be made available in Source Code
|
||||
Form, as described in Section 3.1, and You must inform recipients of
|
||||
the Executable Form how they can obtain a copy of such Source Code
|
||||
Form by reasonable means in a timely manner, at a charge no more
|
||||
than the cost of distribution to the recipient; and
|
||||
|
||||
(b) You may distribute such Executable Form under the terms of this
|
||||
License, or sublicense it under different terms, provided that the
|
||||
license for the Executable Form does not attempt to limit or alter
|
||||
the recipients' rights in the Source Code Form under this License.
|
||||
|
||||
3.3. Distribution of a Larger Work
|
||||
|
||||
You may create and distribute a Larger Work under terms of Your choice,
|
||||
provided that You also comply with the requirements of this License for
|
||||
the Covered Software. If the Larger Work is a combination of Covered
|
||||
Software with a work governed by one or more Secondary Licenses, and the
|
||||
Covered Software is not Incompatible With Secondary Licenses, this
|
||||
License permits You to additionally distribute such Covered Software
|
||||
under the terms of such Secondary License(s), so that the recipient of
|
||||
the Larger Work may, at their option, further distribute the Covered
|
||||
Software under the terms of either this License or such Secondary
|
||||
License(s).
|
||||
|
||||
3.4. Notices
|
||||
|
||||
You may not remove or alter the substance of any license notices
|
||||
(including copyright notices, patent notices, disclaimers of warranty,
|
||||
or limitations of liability) contained within the Source Code Form of
|
||||
the Covered Software, except that You may alter any license notices to
|
||||
the extent required to remedy known factual inaccuracies.
|
||||
|
||||
3.5. Application of Additional Terms
|
||||
|
||||
You may choose to offer, and to charge a fee for, warranty, support,
|
||||
indemnity or liability obligations to one or more recipients of Covered
|
||||
Software. However, You may do so only on Your own behalf, and not on
|
||||
behalf of any Contributor. You must make it absolutely clear that any
|
||||
such warranty, support, indemnity, or liability obligation is offered by
|
||||
You alone, and You hereby agree to indemnify every Contributor for any
|
||||
liability incurred by such Contributor as a result of warranty, support,
|
||||
indemnity or liability terms You offer. You may include additional
|
||||
disclaimers of warranty and limitations of liability specific to any
|
||||
jurisdiction.
|
||||
|
||||
4. Inability to Comply Due to Statute or Regulation
|
||||
---------------------------------------------------
|
||||
|
||||
If it is impossible for You to comply with any of the terms of this
|
||||
License with respect to some or all of the Covered Software due to
|
||||
statute, judicial order, or regulation then You must: (a) comply with
|
||||
the terms of this License to the maximum extent possible; and (b)
|
||||
describe the limitations and the code they affect. Such description must
|
||||
be placed in a text file included with all distributions of the Covered
|
||||
Software under this License. Except to the extent prohibited by statute
|
||||
or regulation, such description must be sufficiently detailed for a
|
||||
recipient of ordinary skill to be able to understand it.
|
||||
|
||||
5. Termination
|
||||
--------------
|
||||
|
||||
5.1. The rights granted under this License will terminate automatically
|
||||
if You fail to comply with any of its terms. However, if You become
|
||||
compliant, then the rights granted under this License from a particular
|
||||
Contributor are reinstated (a) provisionally, unless and until such
|
||||
Contributor explicitly and finally terminates Your grants, and (b) on an
|
||||
ongoing basis, if such Contributor fails to notify You of the
|
||||
non-compliance by some reasonable means prior to 60 days after You have
|
||||
come back into compliance. Moreover, Your grants from a particular
|
||||
Contributor are reinstated on an ongoing basis if such Contributor
|
||||
notifies You of the non-compliance by some reasonable means, this is the
|
||||
first time You have received notice of non-compliance with this License
|
||||
from such Contributor, and You become compliant prior to 30 days after
|
||||
Your receipt of the notice.
|
||||
|
||||
5.2. If You initiate litigation against any entity by asserting a patent
|
||||
infringement claim (excluding declaratory judgment actions,
|
||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
||||
directly or indirectly infringes any patent, then the rights granted to
|
||||
You by any and all Contributors for the Covered Software under Section
|
||||
2.1 of this License shall terminate.
|
||||
|
||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
||||
end user license agreements (excluding distributors and resellers) which
|
||||
have been validly granted by You or Your distributors under this License
|
||||
prior to termination shall survive termination.
|
||||
|
||||
************************************************************************
|
||||
* *
|
||||
* 6. Disclaimer of Warranty *
|
||||
* ------------------------- *
|
||||
* *
|
||||
* Covered Software is provided under this License on an "as is" *
|
||||
* basis, without warranty of any kind, either expressed, implied, or *
|
||||
* statutory, including, without limitation, warranties that the *
|
||||
* Covered Software is free of defects, merchantable, fit for a *
|
||||
* particular purpose or non-infringing. The entire risk as to the *
|
||||
* quality and performance of the Covered Software is with You. *
|
||||
* Should any Covered Software prove defective in any respect, You *
|
||||
* (not any Contributor) assume the cost of any necessary servicing, *
|
||||
* repair, or correction. This disclaimer of warranty constitutes an *
|
||||
* essential part of this License. No use of any Covered Software is *
|
||||
* authorized under this License except under this disclaimer. *
|
||||
* *
|
||||
************************************************************************
|
||||
|
||||
************************************************************************
|
||||
* *
|
||||
* 7. Limitation of Liability *
|
||||
* -------------------------- *
|
||||
* *
|
||||
* Under no circumstances and under no legal theory, whether tort *
|
||||
* (including negligence), contract, or otherwise, shall any *
|
||||
* Contributor, or anyone who distributes Covered Software as *
|
||||
* permitted above, be liable to You for any direct, indirect, *
|
||||
* special, incidental, or consequential damages of any character *
|
||||
* including, without limitation, damages for lost profits, loss of *
|
||||
* goodwill, work stoppage, computer failure or malfunction, or any *
|
||||
* and all other commercial damages or losses, even if such party *
|
||||
* shall have been informed of the possibility of such damages. This *
|
||||
* limitation of liability shall not apply to liability for death or *
|
||||
* personal injury resulting from such party's negligence to the *
|
||||
* extent applicable law prohibits such limitation. Some *
|
||||
* jurisdictions do not allow the exclusion or limitation of *
|
||||
* incidental or consequential damages, so this exclusion and *
|
||||
* limitation may not apply to You. *
|
||||
* *
|
||||
************************************************************************
|
||||
|
||||
8. Litigation
|
||||
-------------
|
||||
|
||||
Any litigation relating to this License may be brought only in the
|
||||
courts of a jurisdiction where the defendant maintains its principal
|
||||
place of business and such litigation shall be governed by laws of that
|
||||
jurisdiction, without reference to its conflict-of-law provisions.
|
||||
Nothing in this Section shall prevent a party's ability to bring
|
||||
cross-claims or counter-claims.
|
||||
|
||||
9. Miscellaneous
|
||||
----------------
|
||||
|
||||
This License represents the complete agreement concerning the subject
|
||||
matter hereof. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent
|
||||
necessary to make it enforceable. Any law or regulation which provides
|
||||
that the language of a contract shall be construed against the drafter
|
||||
shall not be used to construe this License against a Contributor.
|
||||
|
||||
10. Versions of the License
|
||||
---------------------------
|
||||
|
||||
10.1. New Versions
|
||||
|
||||
Mozilla Foundation is the license steward. Except as provided in Section
|
||||
10.3, no one other than the license steward has the right to modify or
|
||||
publish new versions of this License. Each version will be given a
|
||||
distinguishing version number.
|
||||
|
||||
10.2. Effect of New Versions
|
||||
|
||||
You may distribute the Covered Software under the terms of the version
|
||||
of the License under which You originally received the Covered Software,
|
||||
or under the terms of any subsequent version published by the license
|
||||
steward.
|
||||
|
||||
10.3. Modified Versions
|
||||
|
||||
If you create software not governed by this License, and you want to
|
||||
create a new license for such software, you may create and use a
|
||||
modified version of this License if you rename the license and remove
|
||||
any references to the name of the license steward (except to note that
|
||||
such modified license differs from this License).
|
||||
|
||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
||||
Licenses
|
||||
|
||||
If You choose to distribute Source Code Form that is Incompatible With
|
||||
Secondary Licenses under the terms of this version of the License, the
|
||||
notice described in Exhibit B of this License must be attached.
|
||||
|
||||
Exhibit A - Source Code Form License Notice
|
||||
-------------------------------------------
|
||||
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
If it is not possible or desirable to put the notice in a particular
|
||||
file, then You may include the notice in a location (such as a LICENSE
|
||||
file in a relevant directory) where a recipient would be likely to look
|
||||
for such a notice.
|
||||
|
||||
You may add additional accurate notices of copyright ownership.
|
||||
|
||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
||||
---------------------------------------------------------
|
||||
|
||||
This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||
defined by the Mozilla Public License, v. 2.0.
|
83
README.md
@ -1,83 +1,4 @@
|
||||
enet
|
||||
=====
|
||||
------------------------------
|
||||
|
||||
`enet` is a network abstraction layer for ewol
|
||||
|
||||
Release (master)
|
||||
----------------
|
||||
|
||||
[](https://travis-ci.org/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
|
||||
Developement (dev)
|
||||
------------------
|
||||
|
||||
[](https://travis-ci.org/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
[](http://atria-soft.com/ci/atria-soft/enet)
|
||||
|
||||
|
||||
Instructions
|
||||
============
|
||||
|
||||
download Build system:
|
||||
----------------------
|
||||
|
||||
sudo pip install lutin
|
||||
sudo pip install pillow
|
||||
|
||||
download the software:
|
||||
----------------------
|
||||
|
||||
mkdir WORKING_DIRECTORY
|
||||
cd WORKING_DIRECTORY
|
||||
git clone https://github.com/atria-soft/elog.git
|
||||
git clone https://github.com/atria-soft/ememory.git
|
||||
git clone https://github.com/atria-soft/echrono.git
|
||||
git clone https://github.com/atria-soft/algue.git
|
||||
git clone https://github.com/atria-soft/etk.git
|
||||
git clone https://github.com/atria-soft/enet.git
|
||||
git clone https://github.com/generic-library/gtest-lutin.git --recursive
|
||||
git clone https://github.com/generic-library/z-lutin.git --recursive
|
||||
git clone https://github.com/generic-library/openssl-lutin.git --recursive
|
||||
|
||||
Compile software:
|
||||
-----------------
|
||||
|
||||
cd WORKING_DIRECTORY
|
||||
lutin -C -P enet-test?build?run
|
||||
|
||||
|
||||
License (MPL v2.0)
|
||||
=====================
|
||||
Copyright enet Edouard DUPIN
|
||||
|
||||
Licensed under the Mozilla Public License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
https://www.mozilla.org/MPL/2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
Nothing else ...
|
||||
|
||||
|
175
_ftp_8hpp.html
Normal file
@ -0,0 +1,175 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/Ftp.hpp File Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#namespaces">Namespaces</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">Ftp.hpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p><a href="_ftp_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_ftp.html">enet::Ftp</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:namespaceenet"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html">enet</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Edouard DUPIN </dd></dl>
|
||||
<dl class="section copyright"><dt>Copyright</dt><dd>2014, Edouard DUPIN, all right reserved </dd></dl>
|
||||
<dl class="section note"><dt>Note</dt><dd>License: APACHE v2.0 (see license file) </dd></dl>
|
||||
</div></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
157
_ftp_8hpp_source.html
Normal file
@ -0,0 +1,157 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/Ftp.hpp Source File</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Ftp.hpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_ftp_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="keyword">namespace </span><a class="code" href="namespaceenet.html">enet</a> {</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="classenet_1_1_ftp.html"> 9</a></span>  <span class="keyword">class </span><a class="code" href="classenet_1_1_ftp.html">Ftp</a> {</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <a class="code" href="classenet_1_1_ftp.html">Ftp</a>() { };</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keyword">virtual</span> ~<a class="code" href="classenet_1_1_ftp.html">Ftp</a>() { };</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  };</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> }</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="ttc" id="classenet_1_1_ftp_html"><div class="ttname"><a href="classenet_1_1_ftp.html">enet::Ftp</a></div><div class="ttdef"><b>Definition:</b> Ftp.hpp:9</div></div>
|
||||
<div class="ttc" id="namespaceenet_html"><div class="ttname"><a href="namespaceenet.html">enet</a></div><div class="ttdoc">Main esvg namespace. </div><div class="ttdef"><b>Definition:</b> enet.hpp:17</div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
319
_http_8hpp.html
Normal file
@ -0,0 +1,319 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/Http.hpp File Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#namespaces">Namespaces</a> |
|
||||
<a href="#enum-members">Enumerations</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">Http.hpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include <<a class="el" href="_tcp_8hpp_source.html">enet/Tcp.hpp</a>></code><br />
|
||||
<code>#include <vector></code><br />
|
||||
<code>#include <map></code><br />
|
||||
<code>#include <thread></code><br />
|
||||
<code>#include <ethread/tools.hpp></code><br />
|
||||
</div>
|
||||
<p><a href="_http_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http_client.html">enet::HttpClient</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http_server.html">enet::HttpServer</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:namespaceenet"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html">enet</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||||
Enumerations</h2></td></tr>
|
||||
<tr class="memitem:a4962966a09900a4b99c8e86bbd1ebdb8"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8">enet::HTTPAnswerCode</a> { <br />
|
||||
  <b>c000_unknow</b> = 0,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a9c2465d0fbbd1faef43c3e7abe72dbc0">enet::HTTPAnswerCode::c100_continue</a> = 100,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8af56271db9bd7b6ff65bd095a80b46c55">enet::HTTPAnswerCode::c101_switchingProtocols</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a7291ad083721cd167f37abc9079dfa62">enet::HTTPAnswerCode::c103_checkpoint</a>,
|
||||
<br />
|
||||
  <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a6e7c5731ee8867928e59048d89b67d69">enet::HTTPAnswerCode::c200_ok</a> = 200,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a02e2d4a7ad3569438270b5410222f89c">enet::HTTPAnswerCode::c201_created</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a635f3724b256d8c5984e3ab332a8bc9d">enet::HTTPAnswerCode::c202_accepted</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8aacb1755cc4a75de1b87b7d049cb05d84">enet::HTTPAnswerCode::c203_nonAuthoritativeInformation</a>,
|
||||
<br />
|
||||
  <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8aae452323e9d6607d67f60b138c6acd8c">enet::HTTPAnswerCode::c204_noContent</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a109a2b2d81a19949780ced37eb8c56b1">enet::HTTPAnswerCode::c205_resetContent</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a395c7180ad65f9c1776071aab95488b5">enet::HTTPAnswerCode::c206_partialContent</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a14b01d06b449b71e75882d7a1561f7a6">enet::HTTPAnswerCode::c300_multipleChoices</a> = 300,
|
||||
<br />
|
||||
  <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a706f6de245251e17ed2737eb005d05c9">enet::HTTPAnswerCode::c301_movedPermanently</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a7ae5502ebcb59c3c63a7f03c7f95f776">enet::HTTPAnswerCode::c302_found</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a5e22f735b40d2d9a50bb8161a5e0230b">enet::HTTPAnswerCode::c303_seeOther</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8ad95bf1e702e44047dbe235d575d10c88">enet::HTTPAnswerCode::c304_notModified</a>,
|
||||
<br />
|
||||
  <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a32c0316c3360959d2102f173114b25e4">enet::HTTPAnswerCode::c306_switchProxy</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a98dded4a4f383451fd6ecd27ba55a55c">enet::HTTPAnswerCode::c307_temporaryRedirect</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8acf01e01e9014bc8a958525c18992028f">enet::HTTPAnswerCode::c308_resumeIncomplete</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8afc2e7f1abc7155560b8d0f39bfdd45d2">enet::HTTPAnswerCode::c400_badRequest</a> = 400,
|
||||
<br />
|
||||
  <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a89e5edba8bc5c07c0b71cc3f1d7815bc">enet::HTTPAnswerCode::c401_unauthorized</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8ade19537e1ab5d23e89ea9321e31fc7db">enet::HTTPAnswerCode::c402_paymentRequired</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a392ec06af8e38f3f7803f947e6b5bfb5">enet::HTTPAnswerCode::c403_forbidden</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a10970049e7cf0031b6358c2701bd6610">enet::HTTPAnswerCode::c404_notFound</a>,
|
||||
<br />
|
||||
  <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a745a1b2d86d7bab1296aec464fd7c4e9">enet::HTTPAnswerCode::c405_methodNotAllowed</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8ac110d12f00d9494d8a68902b1ff783d3">enet::HTTPAnswerCode::c406_notAcceptable</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a00b501f91b891fbcb0fc2aa714ba47b8">enet::HTTPAnswerCode::c407_proxyAuthenticationRequired</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8ab6d5cbfb312814de28e60b7da5ae1f73">enet::HTTPAnswerCode::c408_requestTimeout</a>,
|
||||
<br />
|
||||
  <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8ac7f2fecfd704e1783b8384f7a40d2b84">enet::HTTPAnswerCode::c409_conflict</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a03b519dbeed1a17ee9d13e0c845e8920">enet::HTTPAnswerCode::c410_gone</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a5d992d228be97eabd565c6541bc9eace">enet::HTTPAnswerCode::c411_lengthRequired</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a83a769f280db39b7f66ada176ec488a1">enet::HTTPAnswerCode::c412_preconditionFailed</a>,
|
||||
<br />
|
||||
  <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8aba93e4f402136092e36630782d0151b3">enet::HTTPAnswerCode::c413_requestEntityTooLarge</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a153cb173f6c3b789fc4cf497e95bf33e">enet::HTTPAnswerCode::c414_requestURITooLong</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a2b9ebcea0fbac89015c29cca989f954d">enet::HTTPAnswerCode::c415_unsupportedMediaType</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a4d11731044240b424b9de6fb01a9a557">enet::HTTPAnswerCode::c416_requestedRangeNotSatisfiable</a>,
|
||||
<br />
|
||||
  <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a0d2e6857e63e43df60954d736e2584d7">enet::HTTPAnswerCode::c417_expectationFailed</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a61e5f19a2aecbaf39dc349871960859b">enet::HTTPAnswerCode::c500_internalServerError</a> = 500,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8ad4c5d9348726e82115e4efc9ecf66b50">enet::HTTPAnswerCode::c501_notImplemented</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8aec3ffd6364e4e05dd5e2ce38b633c4f2">enet::HTTPAnswerCode::c502_badGateway</a>,
|
||||
<br />
|
||||
  <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a60b0dc2b4a12dd50f1ec964993a8a503">enet::HTTPAnswerCode::c503_serviceUnavailable</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a561a42b3d4d20af428704e3bcf9826ec">enet::HTTPAnswerCode::c504_gatewayTimeout</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a0edb1d03dae4fec42c6c79786f4634c8">enet::HTTPAnswerCode::c505_httpVersionNotSupported</a>,
|
||||
<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8a09d10fff3a154cb64ce085c2718048b3">enet::HTTPAnswerCode::c511_networkAuthenticationRequired</a>
|
||||
<br />
|
||||
}</td></tr>
|
||||
<tr class="separator:a4962966a09900a4b99c8e86bbd1ebdb8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afc2e75522ea903eb01892f2473e6f5c0"><td class="memItemLeft" align="right" valign="top"><a id="afc2e75522ea903eb01892f2473e6f5c0"></a>enum  </td><td class="memItemRight" valign="bottom"><b>HTTPProtocol</b> { <br />
|
||||
  <b>http_0_1</b>,
|
||||
<b>http_0_2</b>,
|
||||
<b>http_0_3</b>,
|
||||
<b>http_0_4</b>,
|
||||
<br />
|
||||
  <b>http_0_5</b>,
|
||||
<b>http_0_6</b>,
|
||||
<b>http_0_7</b>,
|
||||
<b>http_0_8</b>,
|
||||
<br />
|
||||
  <b>http_0_9</b>,
|
||||
<b>http_0_10</b>,
|
||||
<b>http_1_0</b>,
|
||||
<b>http_1_1</b>,
|
||||
<br />
|
||||
  <b>http_1_2</b>,
|
||||
<b>http_1_3</b>,
|
||||
<b>http_1_4</b>,
|
||||
<b>http_1_5</b>,
|
||||
<br />
|
||||
  <b>http_1_6</b>,
|
||||
<b>http_1_7</b>,
|
||||
<b>http_1_8</b>,
|
||||
<b>http_1_9</b>,
|
||||
<br />
|
||||
  <b>http_1_10</b>,
|
||||
<b>http_2_0</b>,
|
||||
<b>http_2_1</b>,
|
||||
<b>http_2_2</b>,
|
||||
<br />
|
||||
  <b>http_2_3</b>,
|
||||
<b>http_2_4</b>,
|
||||
<b>http_2_5</b>,
|
||||
<b>http_2_6</b>,
|
||||
<br />
|
||||
  <b>http_2_7</b>,
|
||||
<b>http_2_8</b>,
|
||||
<b>http_2_9</b>,
|
||||
<b>http_2_10</b>,
|
||||
<br />
|
||||
  <b>http_3_0</b>,
|
||||
<b>http_3_1</b>,
|
||||
<b>http_3_2</b>,
|
||||
<b>http_3_3</b>,
|
||||
<br />
|
||||
  <b>http_3_4</b>,
|
||||
<b>http_3_5</b>,
|
||||
<b>http_3_6</b>,
|
||||
<b>http_3_7</b>,
|
||||
<br />
|
||||
  <b>http_3_8</b>,
|
||||
<b>http_3_9</b>,
|
||||
<b>http_3_10</b>
|
||||
<br />
|
||||
}</td></tr>
|
||||
<tr class="separator:afc2e75522ea903eb01892f2473e6f5c0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2785a062c8a2bfcf5aea799573125843"><td class="memItemLeft" align="right" valign="top"><a id="a2785a062c8a2bfcf5aea799573125843"></a>enum  </td><td class="memItemRight" valign="bottom"><b>HTTPReqType</b> { <br />
|
||||
  <b>HTTP_GET</b>,
|
||||
<b>HTTP_HEAD</b>,
|
||||
<b>HTTP_POST</b>,
|
||||
<b>HTTP_PUT</b>,
|
||||
<br />
|
||||
  <b>HTTP_DELETE</b>
|
||||
<br />
|
||||
}</td></tr>
|
||||
<tr class="separator:a2785a062c8a2bfcf5aea799573125843"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Edouard DUPIN </dd></dl>
|
||||
<dl class="section copyright"><dt>Copyright</dt><dd>2014, Edouard DUPIN, all right reserved </dd></dl>
|
||||
<dl class="section note"><dt>Note</dt><dd>License: APACHE v2.0 (see license file) </dd></dl>
|
||||
</div></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
219
_http_8hpp_source.html
Normal file
177
_tcp_8hpp.html
Normal file
@ -0,0 +1,177 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/Tcp.hpp File Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#namespaces">Namespaces</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">Tcp.hpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include <<a class="elRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/types__8hpp.html">etk/types.hpp</a>></code><br />
|
||||
<code>#include <mutex></code><br />
|
||||
</div>
|
||||
<p><a href="_tcp_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:namespaceenet"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html">enet</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Edouard DUPIN </dd></dl>
|
||||
<dl class="section copyright"><dt>Copyright</dt><dd>2014, Edouard DUPIN, all right reserved </dd></dl>
|
||||
<dl class="section note"><dt>Note</dt><dd>License: APACHE v2.0 (see license file) </dd></dl>
|
||||
</div></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
164
_tcp_8hpp_source.html
Normal file
180
_tcp_client_8hpp.html
Normal file
@ -0,0 +1,180 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/TcpClient.hpp File Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#namespaces">Namespaces</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">TcpClient.hpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include <<a class="el" href="_tcp_8hpp_source.html">enet/Tcp.hpp</a>></code><br />
|
||||
</div>
|
||||
<p><a href="_tcp_client_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:namespaceenet"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html">enet</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a1ab74ebbd51177956f6aac4325f6f078"><td class="memItemLeft" align="right" valign="top"><a id="a1ab74ebbd51177956f6aac4325f6f078"></a>
|
||||
<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> </td><td class="memItemRight" valign="bottom"><b>enet::connectTcpClient</b> (uint8_t _ip1, uint8_t _ip2, uint8_t _ip3, uint8_t _ip4, uint16_t _port, uint32_t _numberRetry=5)</td></tr>
|
||||
<tr class="separator:a1ab74ebbd51177956f6aac4325f6f078"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a09ab364d56f751634e499a3d50388247"><td class="memItemLeft" align="right" valign="top"><a id="a09ab364d56f751634e499a3d50388247"></a>
|
||||
<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> </td><td class="memItemRight" valign="bottom"><b>enet::connectTcpClient</b> (const std::string &_hostname, uint16_t _port, uint32_t _numberRetry=5)</td></tr>
|
||||
<tr class="separator:a09ab364d56f751634e499a3d50388247"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Edouard DUPIN </dd></dl>
|
||||
<dl class="section copyright"><dt>Copyright</dt><dd>2014, Edouard DUPIN, all right reserved </dd></dl>
|
||||
<dl class="section note"><dt>Note</dt><dd>License: APACHE v2.0 (see license file) </dd></dl>
|
||||
</div></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
158
_tcp_client_8hpp_source.html
Normal file
@ -0,0 +1,158 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/TcpClient.hpp Source File</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">TcpClient.hpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_tcp_client_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <<a class="code" href="_tcp_8hpp.html">enet/Tcp.hpp</a>></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">namespace </span><a class="code" href="namespaceenet.html">enet</a> {</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <a class="code" href="classenet_1_1_tcp.html">enet::Tcp</a> connectTcpClient(uint8_t _ip1, uint8_t _ip2, uint8_t _ip3, uint8_t _ip4, uint16_t _port, uint32_t _numberRetry=5);</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <a class="code" href="classenet_1_1_tcp.html">enet::Tcp</a> connectTcpClient(<span class="keyword">const</span> std::string& _hostname, uint16_t _port, uint32_t _numberRetry=5);</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> }</div><div class="ttc" id="_tcp_8hpp_html"><div class="ttname"><a href="_tcp_8hpp.html">Tcp.hpp</a></div></div>
|
||||
<div class="ttc" id="classenet_1_1_tcp_html"><div class="ttname"><a href="classenet_1_1_tcp.html">enet::Tcp</a></div><div class="ttdef"><b>Definition:</b> Tcp.hpp:16</div></div>
|
||||
<div class="ttc" id="namespaceenet_html"><div class="ttname"><a href="namespaceenet.html">enet</a></div><div class="ttdoc">Main esvg namespace. </div><div class="ttdef"><b>Definition:</b> enet.hpp:17</div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
177
_tcp_server_8hpp.html
Normal file
@ -0,0 +1,177 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/TcpServer.hpp File Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#namespaces">Namespaces</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">TcpServer.hpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include <<a class="el" href="_tcp_8hpp_source.html">enet/Tcp.hpp</a>></code><br />
|
||||
<code>#include <poll.h></code><br />
|
||||
</div>
|
||||
<p><a href="_tcp_server_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:namespaceenet"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html">enet</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Edouard DUPIN </dd></dl>
|
||||
<dl class="section copyright"><dt>Copyright</dt><dd>2014, Edouard DUPIN, all right reserved </dd></dl>
|
||||
<dl class="section note"><dt>Note</dt><dd>License: APACHE v2.0 (see license file) </dd></dl>
|
||||
</div></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
165
_tcp_server_8hpp_source.html
Normal file
175
_udp_8hpp.html
Normal file
@ -0,0 +1,175 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/Udp.hpp File Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#namespaces">Namespaces</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">Udp.hpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p><a href="_udp_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_udp.html">enet::Udp</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:namespaceenet"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html">enet</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Edouard DUPIN </dd></dl>
|
||||
<dl class="section copyright"><dt>Copyright</dt><dd>2014, Edouard DUPIN, all right reserved </dd></dl>
|
||||
<dl class="section note"><dt>Note</dt><dd>License: APACHE v2.0 (see license file) </dd></dl>
|
||||
</div></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
157
_udp_8hpp_source.html
Normal file
@ -0,0 +1,157 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/Udp.hpp Source File</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Udp.hpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_udp_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="keyword">namespace </span><a class="code" href="namespaceenet.html">enet</a> {</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="classenet_1_1_udp.html"> 9</a></span>  <span class="keyword">class </span><a class="code" href="classenet_1_1_udp.html">Udp</a> {</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <a class="code" href="classenet_1_1_udp.html">Udp</a>() { };</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keyword">virtual</span> ~<a class="code" href="classenet_1_1_udp.html">Udp</a>() { };</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  };</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> }</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="ttc" id="classenet_1_1_udp_html"><div class="ttname"><a href="classenet_1_1_udp.html">enet::Udp</a></div><div class="ttdef"><b>Definition:</b> Udp.hpp:9</div></div>
|
||||
<div class="ttc" id="namespaceenet_html"><div class="ttname"><a href="namespaceenet.html">enet</a></div><div class="ttdoc">Main esvg namespace. </div><div class="ttdef"><b>Definition:</b> enet.hpp:17</div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
179
_web_socket_8hpp.html
Normal file
@ -0,0 +1,179 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/WebSocket.hpp File Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#namespaces">Namespaces</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">WebSocket.hpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include <<a class="el" href="_http_8hpp_source.html">enet/Http.hpp</a>></code><br />
|
||||
<code>#include <<a class="elRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/memory__8hpp.html">ememory/memory.hpp</a>></code><br />
|
||||
<code>#include <vector></code><br />
|
||||
<code>#include <map></code><br />
|
||||
</div>
|
||||
<p><a href="_web_socket_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:namespaceenet"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html">enet</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Edouard DUPIN </dd></dl>
|
||||
<dl class="section copyright"><dt>Copyright</dt><dd>2014, Edouard DUPIN, all right reserved </dd></dl>
|
||||
<dl class="section note"><dt>Note</dt><dd>License: APACHE v2.0 (see license file) </dd></dl>
|
||||
</div></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
170
_web_socket_8hpp_source.html
Normal file
167
annotated.html
Normal file
@ -0,0 +1,167 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Class List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Class List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
|
||||
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
|
||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="namespaceenet.html" target="_self">enet</a></td><td class="desc">Main esvg namespace </td></tr>
|
||||
<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_ftp.html" target="_self">Ftp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http.html" target="_self">Http</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_2_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http_answer.html" target="_self">HttpAnswer</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http_client.html" target="_self">HttpClient</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_4_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http_header.html" target="_self">HttpHeader</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http_request.html" target="_self">HttpRequest</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_6_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http_server.html" target="_self">HttpServer</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_7_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_tcp.html" target="_self">Tcp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_8_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_tcp_server.html" target="_self">TcpServer</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_9_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_udp.html" target="_self">Udp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_10_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_web_socket.html" target="_self">WebSocket</a></td><td class="desc"></td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
@ -1 +0,0 @@
|
||||
MR Edouard DUPIN <yui.heero@gmail.com>
|
160
classenet_1_1_ftp-members.html
Normal file
@ -0,0 +1,160 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Member List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_ftp.html">Ftp</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::Ftp Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classenet_1_1_ftp.html">enet::Ftp</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Ftp</b>() (defined in <a class="el" href="classenet_1_1_ftp.html">enet::Ftp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_ftp.html">enet::Ftp</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>~Ftp</b>() (defined in <a class="el" href="classenet_1_1_ftp.html">enet::Ftp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_ftp.html">enet::Ftp</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
160
classenet_1_1_ftp.html
Normal file
@ -0,0 +1,160 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: enet::Ftp Class Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_ftp.html">Ftp</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="classenet_1_1_ftp-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::Ftp Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>framework/atria-soft/enet/enet/<a class="el" href="_ftp_8hpp_source.html">Ftp.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
191
classenet_1_1_http-members.html
Normal file
@ -0,0 +1,191 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Member List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http.html">Http</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::Http Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classenet_1_1_http.html">enet::Http</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#ad01daa4144a8cfb83b9993c4984789bc">connect</a>(CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(std::vector< uint8_t > &))</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>connect</b>(Observer _func) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#a9cf2c7db3c46fc2688e0e70c1e48ea57">connectRaw</a>(CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(enet::Tcp &))</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>connectRaw</b>(ObserverRaw _func) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getAnswerHeader</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>getRequestHeader</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getServerState</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>Http</b>(enet::Tcp _connection, bool _isServer=false) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>isAlive</b>() const (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>isServer</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_answerHeader</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_connection</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_headerIsSend</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_observer</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_observerAnswer</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_observerRaw</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_observerRequest</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_requestHeader</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_temporaryBuffer</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_thread</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_threadRunning</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">ObserverAnswer</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">ObserverRequest</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>setAnswerHeader</b>(const enet::HttpAnswer &_req) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setRequestHeader</b>(const enet::HttpRequest &_req) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>start</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>stop</b>(bool _inThread=false) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#a8066d206f654cd3e46977792ad443206">write</a>(const void *_data, int32_t _len)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#ab259cfca77e060ab40bc2cf0cd93b0ed">write</a>(const std::string &_data, bool _writeBackSlashZero=true)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#aef11ede74b77bc8d4446c53528ed88a8">write</a>(const std::vector< T > &_data)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Http</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
571
classenet_1_1_http.html
Normal file
@ -0,0 +1,571 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: enet::Http Class Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http.html">Http</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-types">Public Types</a> |
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="#pub-attribs">Public Attributes</a> |
|
||||
<a href="#pro-methods">Protected Member Functions</a> |
|
||||
<a href="#pro-attribs">Protected Attributes</a> |
|
||||
<a href="classenet_1_1_http-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::Http Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for enet::Http:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center">
|
||||
<img src="classenet_1_1_http.png" usemap="#enet::Http_map" alt=""/>
|
||||
<map id="enet::Http_map" name="enet::Http_map">
|
||||
<area href="classenet_1_1_http_client.html" alt="enet::HttpClient" shape="rect" coords="0,56,103,80"/>
|
||||
<area href="classenet_1_1_http_server.html" alt="enet::HttpServer" shape="rect" coords="113,56,216,80"/>
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
||||
Public Types</h2></td></tr>
|
||||
<tr class="memitem:aa9e26e6f8df71a04b99554c472f29832"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> = std::function< void(std::vector< uint8_t > &)></td></tr>
|
||||
<tr class="separator:aa9e26e6f8df71a04b99554c472f29832"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9ae2bf2348fd92ec51b2b38c81a012d9"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> = std::function< void(<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> &)></td></tr>
|
||||
<tr class="separator:a9ae2bf2348fd92ec51b2b38c81a012d9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa1df33aa84cbc67980411e5f6fcfb8b8"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">ObserverRequest</a> = std::function< void(const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> &)></td></tr>
|
||||
<tr class="separator:aa1df33aa84cbc67980411e5f6fcfb8b8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afdb219a8b8a7310cb75a69b9c2bc9133"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">ObserverAnswer</a> = std::function< void(const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> &)></td></tr>
|
||||
<tr class="separator:afdb219a8b8a7310cb75a69b9c2bc9133"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a08e8a403518d86ea43b926b89e2b4ed1"><td class="memItemLeft" align="right" valign="top"><a id="a08e8a403518d86ea43b926b89e2b4ed1"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>Http</b> (<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> _connection, bool _isServer=false)</td></tr>
|
||||
<tr class="separator:a08e8a403518d86ea43b926b89e2b4ed1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6d3463fcfdf6fd777615daf1c1b66a38"><td class="memItemLeft" align="right" valign="top"><a id="a6d3463fcfdf6fd777615daf1c1b66a38"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>getServerState</b> ()</td></tr>
|
||||
<tr class="separator:a6d3463fcfdf6fd777615daf1c1b66a38"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8037cf658944dbfa75e8a29899fbaabe"><td class="memItemLeft" align="right" valign="top"><a id="a8037cf658944dbfa75e8a29899fbaabe"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>isServer</b> ()</td></tr>
|
||||
<tr class="separator:a8037cf658944dbfa75e8a29899fbaabe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad7ffc3d5b43433d6434fd01967a71f38"><td class="memItemLeft" align="right" valign="top"><a id="ad7ffc3d5b43433d6434fd01967a71f38"></a>
|
||||
const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> & </td><td class="memItemRight" valign="bottom"><b>getRequestHeader</b> ()</td></tr>
|
||||
<tr class="separator:ad7ffc3d5b43433d6434fd01967a71f38"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a224dc8c9be6a1a9364fc7d8dd3f628c0"><td class="memItemLeft" align="right" valign="top"><a id="a224dc8c9be6a1a9364fc7d8dd3f628c0"></a>
|
||||
const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> & </td><td class="memItemRight" valign="bottom"><b>getAnswerHeader</b> ()</td></tr>
|
||||
<tr class="separator:a224dc8c9be6a1a9364fc7d8dd3f628c0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa050ed1b174c20dfda2cec9de1a7f8a6"><td class="memItemLeft" align="right" valign="top"><a id="aa050ed1b174c20dfda2cec9de1a7f8a6"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>start</b> ()</td></tr>
|
||||
<tr class="separator:aa050ed1b174c20dfda2cec9de1a7f8a6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac78d8fd36488cf99e260e5f550d8f3c3"><td class="memItemLeft" align="right" valign="top"><a id="ac78d8fd36488cf99e260e5f550d8f3c3"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>stop</b> (bool _inThread=false)</td></tr>
|
||||
<tr class="separator:ac78d8fd36488cf99e260e5f550d8f3c3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa4888f4ed601539be054dfba0a91b0d2"><td class="memItemLeft" align="right" valign="top"><a id="aa4888f4ed601539be054dfba0a91b0d2"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>isAlive</b> () const</td></tr>
|
||||
<tr class="separator:aa4888f4ed601539be054dfba0a91b0d2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad01daa4144a8cfb83b9993c4984789bc"><td class="memTemplParams" colspan="2">template<class CLASS_TYPE > </td></tr>
|
||||
<tr class="memitem:ad01daa4144a8cfb83b9993c4984789bc"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#ad01daa4144a8cfb83b9993c4984789bc">connect</a> (CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(std::vector< uint8_t > &))</td></tr>
|
||||
<tr class="separator:ad01daa4144a8cfb83b9993c4984789bc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af03585f9cc8c38218920a1ea5bad4114"><td class="memItemLeft" align="right" valign="top"><a id="af03585f9cc8c38218920a1ea5bad4114"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>connect</b> (<a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> _func)</td></tr>
|
||||
<tr class="separator:af03585f9cc8c38218920a1ea5bad4114"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9cf2c7db3c46fc2688e0e70c1e48ea57"><td class="memTemplParams" colspan="2">template<class CLASS_TYPE > </td></tr>
|
||||
<tr class="memitem:a9cf2c7db3c46fc2688e0e70c1e48ea57"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#a9cf2c7db3c46fc2688e0e70c1e48ea57">connectRaw</a> (CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> &))</td></tr>
|
||||
<tr class="separator:a9cf2c7db3c46fc2688e0e70c1e48ea57"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af47098ea601ca50762d634c44f48e132"><td class="memItemLeft" align="right" valign="top"><a id="af47098ea601ca50762d634c44f48e132"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>connectRaw</b> (<a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> _func)</td></tr>
|
||||
<tr class="separator:af47098ea601ca50762d634c44f48e132"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8066d206f654cd3e46977792ad443206"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#a8066d206f654cd3e46977792ad443206">write</a> (const void *_data, int32_t _len)</td></tr>
|
||||
<tr class="separator:a8066d206f654cd3e46977792ad443206"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab259cfca77e060ab40bc2cf0cd93b0ed"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#ab259cfca77e060ab40bc2cf0cd93b0ed">write</a> (const std::string &_data, bool _writeBackSlashZero=true)</td></tr>
|
||||
<tr class="separator:ab259cfca77e060ab40bc2cf0cd93b0ed"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aef11ede74b77bc8d4446c53528ed88a8"><td class="memTemplParams" colspan="2">template<class T > </td></tr>
|
||||
<tr class="memitem:aef11ede74b77bc8d4446c53528ed88a8"><td class="memTemplItemLeft" align="right" valign="top">int32_t </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#aef11ede74b77bc8d4446c53528ed88a8">write</a> (const std::vector< T > &_data)</td></tr>
|
||||
<tr class="separator:aef11ede74b77bc8d4446c53528ed88a8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
||||
Public Attributes</h2></td></tr>
|
||||
<tr class="memitem:ac5221cc5258c18f0db59d96f21a02cef"><td class="memItemLeft" align="right" valign="top"><a id="ac5221cc5258c18f0db59d96f21a02cef"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> </td><td class="memItemRight" valign="bottom"><b>m_observer</b></td></tr>
|
||||
<tr class="separator:ac5221cc5258c18f0db59d96f21a02cef"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a654f9bfc7403b7c4601db130b22f0058"><td class="memItemLeft" align="right" valign="top"><a id="a654f9bfc7403b7c4601db130b22f0058"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> </td><td class="memItemRight" valign="bottom"><b>m_observerRaw</b></td></tr>
|
||||
<tr class="separator:a654f9bfc7403b7c4601db130b22f0058"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
||||
Protected Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a57bbba062f15e875275c59673fe0c043"><td class="memItemLeft" align="right" valign="top"><a id="a57bbba062f15e875275c59673fe0c043"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setRequestHeader</b> (const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> &_req)</td></tr>
|
||||
<tr class="separator:a57bbba062f15e875275c59673fe0c043"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5a941da1abdf617240d8a43ff8136db4"><td class="memItemLeft" align="right" valign="top"><a id="a5a941da1abdf617240d8a43ff8136db4"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setAnswerHeader</b> (const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> &_req)</td></tr>
|
||||
<tr class="separator:a5a941da1abdf617240d8a43ff8136db4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
||||
Protected Attributes</h2></td></tr>
|
||||
<tr class="memitem:a014812e59cb36d38afff0bbb7af2af9b"><td class="memItemLeft" align="right" valign="top"><a id="a014812e59cb36d38afff0bbb7af2af9b"></a>
|
||||
<a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> </td><td class="memItemRight" valign="bottom"><b>m_requestHeader</b></td></tr>
|
||||
<tr class="separator:a014812e59cb36d38afff0bbb7af2af9b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abd942d7ebd3b6ab3528212c737728a0e"><td class="memItemLeft" align="right" valign="top"><a id="abd942d7ebd3b6ab3528212c737728a0e"></a>
|
||||
<a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> </td><td class="memItemRight" valign="bottom"><b>m_answerHeader</b></td></tr>
|
||||
<tr class="separator:abd942d7ebd3b6ab3528212c737728a0e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa3f068fb8d074e2bace9b83d83ae79d3"><td class="memItemLeft" align="right" valign="top"><a id="aa3f068fb8d074e2bace9b83d83ae79d3"></a>
|
||||
<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> </td><td class="memItemRight" valign="bottom"><b>m_connection</b></td></tr>
|
||||
<tr class="separator:aa3f068fb8d074e2bace9b83d83ae79d3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8c84d75700d93e702b1a94801010ca06"><td class="memItemLeft" align="right" valign="top"><a id="a8c84d75700d93e702b1a94801010ca06"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>m_headerIsSend</b></td></tr>
|
||||
<tr class="separator:a8c84d75700d93e702b1a94801010ca06"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7ae1aa100b94d0addd8e26cb59735b25"><td class="memItemLeft" align="right" valign="top"><a id="a7ae1aa100b94d0addd8e26cb59735b25"></a>
|
||||
std::thread * </td><td class="memItemRight" valign="bottom"><b>m_thread</b></td></tr>
|
||||
<tr class="separator:a7ae1aa100b94d0addd8e26cb59735b25"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab710aa19824b360eda7e22eab63f1078"><td class="memItemLeft" align="right" valign="top"><a id="ab710aa19824b360eda7e22eab63f1078"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>m_threadRunning</b></td></tr>
|
||||
<tr class="separator:ab710aa19824b360eda7e22eab63f1078"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a364d878d98d43b9ff590a185bc796da4"><td class="memItemLeft" align="right" valign="top"><a id="a364d878d98d43b9ff590a185bc796da4"></a>
|
||||
std::vector< uint8_t > </td><td class="memItemRight" valign="bottom"><b>m_temporaryBuffer</b></td></tr>
|
||||
<tr class="separator:a364d878d98d43b9ff590a185bc796da4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac458639ab6008cf99971828298ef7df2"><td class="memItemLeft" align="right" valign="top"><a id="ac458639ab6008cf99971828298ef7df2"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">ObserverRequest</a> </td><td class="memItemRight" valign="bottom"><b>m_observerRequest</b></td></tr>
|
||||
<tr class="separator:ac458639ab6008cf99971828298ef7df2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af9f14342e475fbad741f705d70b3639a"><td class="memItemLeft" align="right" valign="top"><a id="af9f14342e475fbad741f705d70b3639a"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">ObserverAnswer</a> </td><td class="memItemRight" valign="bottom"><b>m_observerAnswer</b></td></tr>
|
||||
<tr class="separator:af9f14342e475fbad741f705d70b3639a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Member Typedef Documentation</h2>
|
||||
<a id="aa9e26e6f8df71a04b99554c472f29832"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aa9e26e6f8df71a04b99554c472f29832">§ </a></span>Observer</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">using <a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">enet::Http::Observer</a> = std::function<void(std::vector<uint8_t>&)></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Define an Observer: function pointer. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="afdb219a8b8a7310cb75a69b9c2bc9133"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#afdb219a8b8a7310cb75a69b9c2bc9133">§ </a></span>ObserverAnswer</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">using <a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">enet::Http::ObserverAnswer</a> = std::function<void(const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a>&)></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Define an Observer: function pointer. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a9ae2bf2348fd92ec51b2b38c81a012d9"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9ae2bf2348fd92ec51b2b38c81a012d9">§ </a></span>ObserverRaw</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">using <a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">enet::Http::ObserverRaw</a> = std::function<void(<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a>&)></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Define an Observer: function pointer. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aa1df33aa84cbc67980411e5f6fcfb8b8"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aa1df33aa84cbc67980411e5f6fcfb8b8">§ </a></span>ObserverRequest</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">using <a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">enet::Http::ObserverRequest</a> = std::function<void(const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a>&)></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Define an Observer: function pointer. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="ad01daa4144a8cfb83b9993c4984789bc"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ad01daa4144a8cfb83b9993c4984789bc">§ </a></span>connect()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class CLASS_TYPE > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void enet::Http::connect </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">CLASS_TYPE * </td>
|
||||
<td class="paramname"><em>_class</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void(CLASS_TYPE::*)(std::vector< uint8_t > &) </td>
|
||||
<td class="paramname"><em>_func</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Connect an function member on the signal with the shared_ptr object. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_class</td><td>shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_func</td><td>Function to call. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_args</td><td>Argument optinnal the user want to add. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a9cf2c7db3c46fc2688e0e70c1e48ea57"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9cf2c7db3c46fc2688e0e70c1e48ea57">§ </a></span>connectRaw()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class CLASS_TYPE > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void enet::Http::connectRaw </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">CLASS_TYPE * </td>
|
||||
<td class="paramname"><em>_class</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void(CLASS_TYPE::*)(<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> &) </td>
|
||||
<td class="paramname"><em>_func</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Connect an function member on the signal with the shared_ptr object. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_class</td><td>shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_func</td><td>Function to call. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_args</td><td>Argument optinnal the user want to add. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a8066d206f654cd3e46977792ad443206"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a8066d206f654cd3e46977792ad443206">§ </a></span>write() <span class="overload">[1/3]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t enet::Http::write </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const void * </td>
|
||||
<td class="paramname"><em>_data</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int32_t </td>
|
||||
<td class="paramname"><em>_len</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Write a chunk of data on the socket. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_data</td><td>pointer on the data might be write </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_len</td><td>Size that must be written socket </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>>0 byte size on the socket write </dd>
|
||||
<dd>
|
||||
-1 an error occured. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab259cfca77e060ab40bc2cf0cd93b0ed"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab259cfca77e060ab40bc2cf0cd93b0ed">§ </a></span>write() <span class="overload">[2/3]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t enet::Http::write </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const std::string & </td>
|
||||
<td class="paramname"><em>_data</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool </td>
|
||||
<td class="paramname"><em>_writeBackSlashZero</em> = <code>true</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Write a chunk of data on the socket. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_data</td><td>String to rite on the soccket </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_writeBackSlashZero</td><td>if false, the \0 is not write </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>>0 byte size on the socket write </dd>
|
||||
<dd>
|
||||
-1 an error occured. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aef11ede74b77bc8d4446c53528ed88a8"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aef11ede74b77bc8d4446c53528ed88a8">§ </a></span>write() <span class="overload">[3/3]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class T > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t enet::Http::write </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const std::vector< T > & </td>
|
||||
<td class="paramname"><em>_data</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Write a chunk of data on the socket. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_data</td><td>String to rite on the soccket </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_writeBackSlashZero</td><td>if false, the \0 is not write </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>>0 T element write on the socket </dd>
|
||||
<dd>
|
||||
-1 an error occured. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>framework/atria-soft/enet/enet/<a class="el" href="_http_8hpp_source.html">Http.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
BIN
classenet_1_1_http.png
Normal file
After Width: | Height: | Size: 705 B |
175
classenet_1_1_http_answer-members.html
Normal file
@ -0,0 +1,175 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Member List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http_answer.html">HttpAnswer</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::HttpAnswer Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>display</b>() const (defined in <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>generate</b>() const (defined in <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>generateKeys</b>() const (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>getErrorCode</b>() const (defined in <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getHelp</b>() const (defined in <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>getKey</b>(const std::string &_key) const (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getProtocol</b>() const (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>HttpAnswer</b>(enum HTTPAnswerCode _code=enet::HTTPAnswerCode::c400_badRequest, const std::string &_help="") (defined in <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>HttpHeader</b>() (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_map</b> (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_protocol</b> (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>rmKey</b>(const std::string &_key) (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setErrorCode</b>(enum HTTPAnswerCode _value) (defined in <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>setHelp</b>(const std::string &_value) (defined in <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setKey</b>(const std::string &_key, const std::string &_value) (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>setProtocol</b>(enum HTTPProtocol _protocol) (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~HttpHeader</b>()=default (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
225
classenet_1_1_http_answer.html
Normal file
@ -0,0 +1,225 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: enet::HttpAnswer Class Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http_answer.html">HttpAnswer</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="classenet_1_1_http_answer-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::HttpAnswer Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for enet::HttpAnswer:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center">
|
||||
<img src="classenet_1_1_http_answer.png" usemap="#enet::HttpAnswer_map" alt=""/>
|
||||
<map id="enet::HttpAnswer_map" name="enet::HttpAnswer_map">
|
||||
<area href="classenet_1_1_http_header.html" alt="enet::HttpHeader" shape="rect" coords="0,0,107,24"/>
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a058f99a66a9db95db709a37a811eb613"><td class="memItemLeft" align="right" valign="top"><a id="a058f99a66a9db95db709a37a811eb613"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>HttpAnswer</b> (enum <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8">HTTPAnswerCode</a> _code=<a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8afc2e7f1abc7155560b8d0f39bfdd45d2">enet::HTTPAnswerCode::c400_badRequest</a>, const std::string &_help="")</td></tr>
|
||||
<tr class="separator:a058f99a66a9db95db709a37a811eb613"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad36f89e09efc6f197c36d7418f634364"><td class="memItemLeft" align="right" valign="top"><a id="ad36f89e09efc6f197c36d7418f634364"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>display</b> () const</td></tr>
|
||||
<tr class="separator:ad36f89e09efc6f197c36d7418f634364"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5db2d2f8341f80290302da95c4318cb8"><td class="memItemLeft" align="right" valign="top"><a id="a5db2d2f8341f80290302da95c4318cb8"></a>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><b>generate</b> () const</td></tr>
|
||||
<tr class="separator:a5db2d2f8341f80290302da95c4318cb8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a46238fc49cb540c41a634917fc5093bd"><td class="memItemLeft" align="right" valign="top"><a id="a46238fc49cb540c41a634917fc5093bd"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setErrorCode</b> (enum <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8">HTTPAnswerCode</a> _value)</td></tr>
|
||||
<tr class="separator:a46238fc49cb540c41a634917fc5093bd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a39c5942e3fe45b55cd62cceb5ae08c03"><td class="memItemLeft" align="right" valign="top"><a id="a39c5942e3fe45b55cd62cceb5ae08c03"></a>
|
||||
enum <a class="el" href="namespaceenet.html#a4962966a09900a4b99c8e86bbd1ebdb8">HTTPAnswerCode</a> </td><td class="memItemRight" valign="bottom"><b>getErrorCode</b> () const</td></tr>
|
||||
<tr class="separator:a39c5942e3fe45b55cd62cceb5ae08c03"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1f3a1e082d2c0c731293fc25c40844b0"><td class="memItemLeft" align="right" valign="top"><a id="a1f3a1e082d2c0c731293fc25c40844b0"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setHelp</b> (const std::string &_value)</td></tr>
|
||||
<tr class="separator:a1f3a1e082d2c0c731293fc25c40844b0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a921b459f3b522691b610961fb8162dc1"><td class="memItemLeft" align="right" valign="top"><a id="a921b459f3b522691b610961fb8162dc1"></a>
|
||||
const std::string & </td><td class="memItemRight" valign="bottom"><b>getHelp</b> () const</td></tr>
|
||||
<tr class="separator:a921b459f3b522691b610961fb8162dc1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_methods_classenet_1_1_http_header"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classenet_1_1_http_header')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td></tr>
|
||||
<tr class="memitem:af25e61322556395dd5ecd66084e09ea4 inherit pub_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="af25e61322556395dd5ecd66084e09ea4"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setKey</b> (const std::string &_key, const std::string &_value)</td></tr>
|
||||
<tr class="separator:af25e61322556395dd5ecd66084e09ea4 inherit pub_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a50afa45c61c82fed3bdbfdb6d48314fe inherit pub_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a50afa45c61c82fed3bdbfdb6d48314fe"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>rmKey</b> (const std::string &_key)</td></tr>
|
||||
<tr class="separator:a50afa45c61c82fed3bdbfdb6d48314fe inherit pub_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7a85f26807a9021c91670fa02b42182b inherit pub_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a7a85f26807a9021c91670fa02b42182b"></a>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><b>getKey</b> (const std::string &_key) const</td></tr>
|
||||
<tr class="separator:a7a85f26807a9021c91670fa02b42182b inherit pub_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7a0eed29e3b59de032b7590159740616 inherit pub_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a7a0eed29e3b59de032b7590159740616"></a>
|
||||
enum HTTPProtocol </td><td class="memItemRight" valign="bottom"><b>getProtocol</b> () const</td></tr>
|
||||
<tr class="separator:a7a0eed29e3b59de032b7590159740616 inherit pub_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a832dba57cda97cbf74c4fb270e5a0632 inherit pub_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a832dba57cda97cbf74c4fb270e5a0632"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setProtocol</b> (enum HTTPProtocol _protocol)</td></tr>
|
||||
<tr class="separator:a832dba57cda97cbf74c4fb270e5a0632 inherit pub_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
||||
Additional Inherited Members</h2></td></tr>
|
||||
<tr class="inherit_header pro_methods_classenet_1_1_http_header"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classenet_1_1_http_header')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td></tr>
|
||||
<tr class="memitem:a71d9e3ad53d423488199dfd7a0ce8e37 inherit pro_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a71d9e3ad53d423488199dfd7a0ce8e37"></a>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><b>generateKeys</b> () const</td></tr>
|
||||
<tr class="separator:a71d9e3ad53d423488199dfd7a0ce8e37 inherit pro_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pro_attribs_classenet_1_1_http_header"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classenet_1_1_http_header')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td></tr>
|
||||
<tr class="memitem:a1dddcc58ed230b1e239326256d13c39d inherit pro_attribs_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a1dddcc58ed230b1e239326256d13c39d"></a>
|
||||
std::map< std::string, std::string > </td><td class="memItemRight" valign="bottom"><b>m_map</b></td></tr>
|
||||
<tr class="separator:a1dddcc58ed230b1e239326256d13c39d inherit pro_attribs_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a664ba8d0bb8f9a73788fdb8c7b6540e9 inherit pro_attribs_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a664ba8d0bb8f9a73788fdb8c7b6540e9"></a>
|
||||
enum HTTPProtocol </td><td class="memItemRight" valign="bottom"><b>m_protocol</b></td></tr>
|
||||
<tr class="separator:a664ba8d0bb8f9a73788fdb8c7b6540e9 inherit pro_attribs_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>framework/atria-soft/enet/enet/<a class="el" href="_http_8hpp_source.html">Http.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
BIN
classenet_1_1_http_answer.png
Normal file
After Width: | Height: | Size: 528 B |
195
classenet_1_1_http_client-members.html
Normal file
@ -0,0 +1,195 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Member List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http_client.html">HttpClient</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::HttpClient Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classenet_1_1_http_client.html">enet::HttpClient</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#ad01daa4144a8cfb83b9993c4984789bc">connect</a>(CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(std::vector< uint8_t > &))</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>connect</b>(Observer _func) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http_client.html#a2568ce67c56a2cc1a498516765439a6f">connectHeader</a>(CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(const enet::HttpAnswer &))</td><td class="entry"><a class="el" href="classenet_1_1_http_client.html">enet::HttpClient</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>connectHeader</b>(Http::ObserverAnswer _func) (defined in <a class="el" href="classenet_1_1_http_client.html">enet::HttpClient</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_client.html">enet::HttpClient</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#a9cf2c7db3c46fc2688e0e70c1e48ea57">connectRaw</a>(CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(enet::Tcp &))</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>connectRaw</b>(ObserverRaw _func) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getAnswerHeader</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>getRequestHeader</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getServerState</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>Http</b>(enet::Tcp _connection, bool _isServer=false) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>HttpClient</b>(enet::Tcp _connection) (defined in <a class="el" href="classenet_1_1_http_client.html">enet::HttpClient</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_client.html">enet::HttpClient</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>isAlive</b>() const (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>isServer</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_answerHeader</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_connection</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_headerIsSend</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_observer</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_observerAnswer</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_observerRaw</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_observerRequest</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_requestHeader</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_temporaryBuffer</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_thread</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_threadRunning</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">ObserverAnswer</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">ObserverRequest</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setAnswerHeader</b>(const enet::HttpAnswer &_req) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>setHeader</b>(const enet::HttpRequest &_header) (defined in <a class="el" href="classenet_1_1_http_client.html">enet::HttpClient</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_client.html">enet::HttpClient</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setRequestHeader</b>(const enet::HttpRequest &_req) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>start</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>stop</b>(bool _inThread=false) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#a8066d206f654cd3e46977792ad443206">write</a>(const void *_data, int32_t _len)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#ab259cfca77e060ab40bc2cf0cd93b0ed">write</a>(const std::string &_data, bool _writeBackSlashZero=true)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#aef11ede74b77bc8d4446c53528ed88a8">write</a>(const std::vector< T > &_data)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Http</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
333
classenet_1_1_http_client.html
Normal file
@ -0,0 +1,333 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: enet::HttpClient Class Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http_client.html">HttpClient</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="classenet_1_1_http_client-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::HttpClient Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for enet::HttpClient:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center">
|
||||
<img src="classenet_1_1_http_client.png" usemap="#enet::HttpClient_map" alt=""/>
|
||||
<map id="enet::HttpClient_map" name="enet::HttpClient_map">
|
||||
<area href="classenet_1_1_http.html" alt="enet::Http" shape="rect" coords="0,0,96,24"/>
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a1ab77c9ad94a000679e172be85f525bd"><td class="memItemLeft" align="right" valign="top"><a id="a1ab77c9ad94a000679e172be85f525bd"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>HttpClient</b> (<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> _connection)</td></tr>
|
||||
<tr class="separator:a1ab77c9ad94a000679e172be85f525bd"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3a92f277c593716e49fec698193aacbe"><td class="memItemLeft" align="right" valign="top"><a id="a3a92f277c593716e49fec698193aacbe"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setHeader</b> (const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> &_header)</td></tr>
|
||||
<tr class="separator:a3a92f277c593716e49fec698193aacbe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2568ce67c56a2cc1a498516765439a6f"><td class="memTemplParams" colspan="2">template<class CLASS_TYPE > </td></tr>
|
||||
<tr class="memitem:a2568ce67c56a2cc1a498516765439a6f"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_http_client.html#a2568ce67c56a2cc1a498516765439a6f">connectHeader</a> (CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> &))</td></tr>
|
||||
<tr class="separator:a2568ce67c56a2cc1a498516765439a6f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:acb506df8fd0205d54bf7246c25455c49"><td class="memItemLeft" align="right" valign="top"><a id="acb506df8fd0205d54bf7246c25455c49"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>connectHeader</b> (<a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">Http::ObserverAnswer</a> _func)</td></tr>
|
||||
<tr class="separator:acb506df8fd0205d54bf7246c25455c49"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_methods_classenet_1_1_http"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classenet_1_1_http')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classenet_1_1_http.html">enet::Http</a></td></tr>
|
||||
<tr class="memitem:a08e8a403518d86ea43b926b89e2b4ed1 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a08e8a403518d86ea43b926b89e2b4ed1"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>Http</b> (<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> _connection, bool _isServer=false)</td></tr>
|
||||
<tr class="separator:a08e8a403518d86ea43b926b89e2b4ed1 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6d3463fcfdf6fd777615daf1c1b66a38 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a6d3463fcfdf6fd777615daf1c1b66a38"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>getServerState</b> ()</td></tr>
|
||||
<tr class="separator:a6d3463fcfdf6fd777615daf1c1b66a38 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8037cf658944dbfa75e8a29899fbaabe inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a8037cf658944dbfa75e8a29899fbaabe"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>isServer</b> ()</td></tr>
|
||||
<tr class="separator:a8037cf658944dbfa75e8a29899fbaabe inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad7ffc3d5b43433d6434fd01967a71f38 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="ad7ffc3d5b43433d6434fd01967a71f38"></a>
|
||||
const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> & </td><td class="memItemRight" valign="bottom"><b>getRequestHeader</b> ()</td></tr>
|
||||
<tr class="separator:ad7ffc3d5b43433d6434fd01967a71f38 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a224dc8c9be6a1a9364fc7d8dd3f628c0 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a224dc8c9be6a1a9364fc7d8dd3f628c0"></a>
|
||||
const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> & </td><td class="memItemRight" valign="bottom"><b>getAnswerHeader</b> ()</td></tr>
|
||||
<tr class="separator:a224dc8c9be6a1a9364fc7d8dd3f628c0 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa050ed1b174c20dfda2cec9de1a7f8a6 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="aa050ed1b174c20dfda2cec9de1a7f8a6"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>start</b> ()</td></tr>
|
||||
<tr class="separator:aa050ed1b174c20dfda2cec9de1a7f8a6 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac78d8fd36488cf99e260e5f550d8f3c3 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="ac78d8fd36488cf99e260e5f550d8f3c3"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>stop</b> (bool _inThread=false)</td></tr>
|
||||
<tr class="separator:ac78d8fd36488cf99e260e5f550d8f3c3 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa4888f4ed601539be054dfba0a91b0d2 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="aa4888f4ed601539be054dfba0a91b0d2"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>isAlive</b> () const</td></tr>
|
||||
<tr class="separator:aa4888f4ed601539be054dfba0a91b0d2 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad01daa4144a8cfb83b9993c4984789bc inherit pub_methods_classenet_1_1_http"><td class="memTemplParams" colspan="2">template<class CLASS_TYPE > </td></tr>
|
||||
<tr class="memitem:ad01daa4144a8cfb83b9993c4984789bc inherit pub_methods_classenet_1_1_http"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#ad01daa4144a8cfb83b9993c4984789bc">connect</a> (CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(std::vector< uint8_t > &))</td></tr>
|
||||
<tr class="separator:ad01daa4144a8cfb83b9993c4984789bc inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af03585f9cc8c38218920a1ea5bad4114 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="af03585f9cc8c38218920a1ea5bad4114"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>connect</b> (<a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> _func)</td></tr>
|
||||
<tr class="separator:af03585f9cc8c38218920a1ea5bad4114 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9cf2c7db3c46fc2688e0e70c1e48ea57 inherit pub_methods_classenet_1_1_http"><td class="memTemplParams" colspan="2">template<class CLASS_TYPE > </td></tr>
|
||||
<tr class="memitem:a9cf2c7db3c46fc2688e0e70c1e48ea57 inherit pub_methods_classenet_1_1_http"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#a9cf2c7db3c46fc2688e0e70c1e48ea57">connectRaw</a> (CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> &))</td></tr>
|
||||
<tr class="separator:a9cf2c7db3c46fc2688e0e70c1e48ea57 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af47098ea601ca50762d634c44f48e132 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="af47098ea601ca50762d634c44f48e132"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>connectRaw</b> (<a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> _func)</td></tr>
|
||||
<tr class="separator:af47098ea601ca50762d634c44f48e132 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8066d206f654cd3e46977792ad443206 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#a8066d206f654cd3e46977792ad443206">write</a> (const void *_data, int32_t _len)</td></tr>
|
||||
<tr class="separator:a8066d206f654cd3e46977792ad443206 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab259cfca77e060ab40bc2cf0cd93b0ed inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#ab259cfca77e060ab40bc2cf0cd93b0ed">write</a> (const std::string &_data, bool _writeBackSlashZero=true)</td></tr>
|
||||
<tr class="separator:ab259cfca77e060ab40bc2cf0cd93b0ed inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aef11ede74b77bc8d4446c53528ed88a8 inherit pub_methods_classenet_1_1_http"><td class="memTemplParams" colspan="2">template<class T > </td></tr>
|
||||
<tr class="memitem:aef11ede74b77bc8d4446c53528ed88a8 inherit pub_methods_classenet_1_1_http"><td class="memTemplItemLeft" align="right" valign="top">int32_t </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#aef11ede74b77bc8d4446c53528ed88a8">write</a> (const std::vector< T > &_data)</td></tr>
|
||||
<tr class="separator:aef11ede74b77bc8d4446c53528ed88a8 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
||||
Additional Inherited Members</h2></td></tr>
|
||||
<tr class="inherit_header pub_types_classenet_1_1_http"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classenet_1_1_http')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classenet_1_1_http.html">enet::Http</a></td></tr>
|
||||
<tr class="memitem:aa9e26e6f8df71a04b99554c472f29832 inherit pub_types_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> = std::function< void(std::vector< uint8_t > &)></td></tr>
|
||||
<tr class="separator:aa9e26e6f8df71a04b99554c472f29832 inherit pub_types_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9ae2bf2348fd92ec51b2b38c81a012d9 inherit pub_types_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> = std::function< void(<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> &)></td></tr>
|
||||
<tr class="separator:a9ae2bf2348fd92ec51b2b38c81a012d9 inherit pub_types_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa1df33aa84cbc67980411e5f6fcfb8b8 inherit pub_types_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">ObserverRequest</a> = std::function< void(const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> &)></td></tr>
|
||||
<tr class="separator:aa1df33aa84cbc67980411e5f6fcfb8b8 inherit pub_types_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afdb219a8b8a7310cb75a69b9c2bc9133 inherit pub_types_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">ObserverAnswer</a> = std::function< void(const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> &)></td></tr>
|
||||
<tr class="separator:afdb219a8b8a7310cb75a69b9c2bc9133 inherit pub_types_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_attribs_classenet_1_1_http"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classenet_1_1_http')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="classenet_1_1_http.html">enet::Http</a></td></tr>
|
||||
<tr class="memitem:ac5221cc5258c18f0db59d96f21a02cef inherit pub_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="ac5221cc5258c18f0db59d96f21a02cef"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> </td><td class="memItemRight" valign="bottom"><b>m_observer</b></td></tr>
|
||||
<tr class="separator:ac5221cc5258c18f0db59d96f21a02cef inherit pub_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a654f9bfc7403b7c4601db130b22f0058 inherit pub_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a654f9bfc7403b7c4601db130b22f0058"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> </td><td class="memItemRight" valign="bottom"><b>m_observerRaw</b></td></tr>
|
||||
<tr class="separator:a654f9bfc7403b7c4601db130b22f0058 inherit pub_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pro_methods_classenet_1_1_http"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classenet_1_1_http')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classenet_1_1_http.html">enet::Http</a></td></tr>
|
||||
<tr class="memitem:a57bbba062f15e875275c59673fe0c043 inherit pro_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a57bbba062f15e875275c59673fe0c043"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setRequestHeader</b> (const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> &_req)</td></tr>
|
||||
<tr class="separator:a57bbba062f15e875275c59673fe0c043 inherit pro_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5a941da1abdf617240d8a43ff8136db4 inherit pro_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a5a941da1abdf617240d8a43ff8136db4"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setAnswerHeader</b> (const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> &_req)</td></tr>
|
||||
<tr class="separator:a5a941da1abdf617240d8a43ff8136db4 inherit pro_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pro_attribs_classenet_1_1_http"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classenet_1_1_http')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classenet_1_1_http.html">enet::Http</a></td></tr>
|
||||
<tr class="memitem:a014812e59cb36d38afff0bbb7af2af9b inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a014812e59cb36d38afff0bbb7af2af9b"></a>
|
||||
<a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> </td><td class="memItemRight" valign="bottom"><b>m_requestHeader</b></td></tr>
|
||||
<tr class="separator:a014812e59cb36d38afff0bbb7af2af9b inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abd942d7ebd3b6ab3528212c737728a0e inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="abd942d7ebd3b6ab3528212c737728a0e"></a>
|
||||
<a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> </td><td class="memItemRight" valign="bottom"><b>m_answerHeader</b></td></tr>
|
||||
<tr class="separator:abd942d7ebd3b6ab3528212c737728a0e inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa3f068fb8d074e2bace9b83d83ae79d3 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="aa3f068fb8d074e2bace9b83d83ae79d3"></a>
|
||||
<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> </td><td class="memItemRight" valign="bottom"><b>m_connection</b></td></tr>
|
||||
<tr class="separator:aa3f068fb8d074e2bace9b83d83ae79d3 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8c84d75700d93e702b1a94801010ca06 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a8c84d75700d93e702b1a94801010ca06"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>m_headerIsSend</b></td></tr>
|
||||
<tr class="separator:a8c84d75700d93e702b1a94801010ca06 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7ae1aa100b94d0addd8e26cb59735b25 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a7ae1aa100b94d0addd8e26cb59735b25"></a>
|
||||
std::thread * </td><td class="memItemRight" valign="bottom"><b>m_thread</b></td></tr>
|
||||
<tr class="separator:a7ae1aa100b94d0addd8e26cb59735b25 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab710aa19824b360eda7e22eab63f1078 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="ab710aa19824b360eda7e22eab63f1078"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>m_threadRunning</b></td></tr>
|
||||
<tr class="separator:ab710aa19824b360eda7e22eab63f1078 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a364d878d98d43b9ff590a185bc796da4 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a364d878d98d43b9ff590a185bc796da4"></a>
|
||||
std::vector< uint8_t > </td><td class="memItemRight" valign="bottom"><b>m_temporaryBuffer</b></td></tr>
|
||||
<tr class="separator:a364d878d98d43b9ff590a185bc796da4 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac458639ab6008cf99971828298ef7df2 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="ac458639ab6008cf99971828298ef7df2"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">ObserverRequest</a> </td><td class="memItemRight" valign="bottom"><b>m_observerRequest</b></td></tr>
|
||||
<tr class="separator:ac458639ab6008cf99971828298ef7df2 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af9f14342e475fbad741f705d70b3639a inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="af9f14342e475fbad741f705d70b3639a"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">ObserverAnswer</a> </td><td class="memItemRight" valign="bottom"><b>m_observerAnswer</b></td></tr>
|
||||
<tr class="separator:af9f14342e475fbad741f705d70b3639a inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="a2568ce67c56a2cc1a498516765439a6f"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a2568ce67c56a2cc1a498516765439a6f">§ </a></span>connectHeader()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class CLASS_TYPE > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void enet::HttpClient::connectHeader </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">CLASS_TYPE * </td>
|
||||
<td class="paramname"><em>_class</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void(CLASS_TYPE::*)(const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> &) </td>
|
||||
<td class="paramname"><em>_func</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Connect an function member on the signal with the shared_ptr object. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_class</td><td>shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_func</td><td>Function to call. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_args</td><td>Argument optinnal the user want to add. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>framework/atria-soft/enet/enet/<a class="el" href="_http_8hpp_source.html">Http.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
BIN
classenet_1_1_http_client.png
Normal file
After Width: | Height: | Size: 477 B |
169
classenet_1_1_http_header-members.html
Normal file
@ -0,0 +1,169 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Member List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http_header.html">HttpHeader</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::HttpHeader Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>generate</b>() const =0 (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>generateKeys</b>() const (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getKey</b>(const std::string &_key) const (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>getProtocol</b>() const (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>HttpHeader</b>() (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_map</b> (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_protocol</b> (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>rmKey</b>(const std::string &_key) (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setKey</b>(const std::string &_key, const std::string &_value) (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>setProtocol</b>(enum HTTPProtocol _protocol) (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~HttpHeader</b>()=default (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
210
classenet_1_1_http_header.html
Normal file
@ -0,0 +1,210 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: enet::HttpHeader Class Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http_header.html">HttpHeader</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="#pro-methods">Protected Member Functions</a> |
|
||||
<a href="#pro-attribs">Protected Attributes</a> |
|
||||
<a href="classenet_1_1_http_header-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::HttpHeader Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for enet::HttpHeader:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center">
|
||||
<img src="classenet_1_1_http_header.png" usemap="#enet::HttpHeader_map" alt=""/>
|
||||
<map id="enet::HttpHeader_map" name="enet::HttpHeader_map">
|
||||
<area href="classenet_1_1_http_answer.html" alt="enet::HttpAnswer" shape="rect" coords="0,56,108,80"/>
|
||||
<area href="classenet_1_1_http_request.html" alt="enet::HttpRequest" shape="rect" coords="118,56,226,80"/>
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:af25e61322556395dd5ecd66084e09ea4"><td class="memItemLeft" align="right" valign="top"><a id="af25e61322556395dd5ecd66084e09ea4"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setKey</b> (const std::string &_key, const std::string &_value)</td></tr>
|
||||
<tr class="separator:af25e61322556395dd5ecd66084e09ea4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a50afa45c61c82fed3bdbfdb6d48314fe"><td class="memItemLeft" align="right" valign="top"><a id="a50afa45c61c82fed3bdbfdb6d48314fe"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>rmKey</b> (const std::string &_key)</td></tr>
|
||||
<tr class="separator:a50afa45c61c82fed3bdbfdb6d48314fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7a85f26807a9021c91670fa02b42182b"><td class="memItemLeft" align="right" valign="top"><a id="a7a85f26807a9021c91670fa02b42182b"></a>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><b>getKey</b> (const std::string &_key) const</td></tr>
|
||||
<tr class="separator:a7a85f26807a9021c91670fa02b42182b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7a0eed29e3b59de032b7590159740616"><td class="memItemLeft" align="right" valign="top"><a id="a7a0eed29e3b59de032b7590159740616"></a>
|
||||
enum HTTPProtocol </td><td class="memItemRight" valign="bottom"><b>getProtocol</b> () const</td></tr>
|
||||
<tr class="separator:a7a0eed29e3b59de032b7590159740616"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a832dba57cda97cbf74c4fb270e5a0632"><td class="memItemLeft" align="right" valign="top"><a id="a832dba57cda97cbf74c4fb270e5a0632"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setProtocol</b> (enum HTTPProtocol _protocol)</td></tr>
|
||||
<tr class="separator:a832dba57cda97cbf74c4fb270e5a0632"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a92f8020990245659b8cc2221a612f8fe"><td class="memItemLeft" align="right" valign="top"><a id="a92f8020990245659b8cc2221a612f8fe"></a>
|
||||
virtual std::string </td><td class="memItemRight" valign="bottom"><b>generate</b> () const =0</td></tr>
|
||||
<tr class="separator:a92f8020990245659b8cc2221a612f8fe"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
||||
Protected Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a71d9e3ad53d423488199dfd7a0ce8e37"><td class="memItemLeft" align="right" valign="top"><a id="a71d9e3ad53d423488199dfd7a0ce8e37"></a>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><b>generateKeys</b> () const</td></tr>
|
||||
<tr class="separator:a71d9e3ad53d423488199dfd7a0ce8e37"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
||||
Protected Attributes</h2></td></tr>
|
||||
<tr class="memitem:a1dddcc58ed230b1e239326256d13c39d"><td class="memItemLeft" align="right" valign="top"><a id="a1dddcc58ed230b1e239326256d13c39d"></a>
|
||||
std::map< std::string, std::string > </td><td class="memItemRight" valign="bottom"><b>m_map</b></td></tr>
|
||||
<tr class="separator:a1dddcc58ed230b1e239326256d13c39d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a664ba8d0bb8f9a73788fdb8c7b6540e9"><td class="memItemLeft" align="right" valign="top"><a id="a664ba8d0bb8f9a73788fdb8c7b6540e9"></a>
|
||||
enum HTTPProtocol </td><td class="memItemRight" valign="bottom"><b>m_protocol</b></td></tr>
|
||||
<tr class="separator:a664ba8d0bb8f9a73788fdb8c7b6540e9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>framework/atria-soft/enet/enet/<a class="el" href="_http_8hpp_source.html">Http.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
BIN
classenet_1_1_http_header.png
Normal file
After Width: | Height: | Size: 768 B |
175
classenet_1_1_http_request-members.html
Normal file
@ -0,0 +1,175 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Member List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http_request.html">HttpRequest</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::HttpRequest Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>display</b>() const (defined in <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>generate</b>() const (defined in <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>generateKeys</b>() const (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>getKey</b>(const std::string &_key) const (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getProtocol</b>() const (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>getType</b>() const (defined in <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getUri</b>() const (defined in <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>HttpHeader</b>() (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>HttpRequest</b>(enum enet::HTTPReqType _type=enet::HTTPReqType::HTTP_GET) (defined in <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_map</b> (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_protocol</b> (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>rmKey</b>(const std::string &_key) (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setKey</b>(const std::string &_key, const std::string &_value) (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>setProtocol</b>(enum HTTPProtocol _protocol) (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setType</b>(enum enet::HTTPReqType _value) (defined in <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>setUri</b>(const std::string &_value) (defined in <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~HttpHeader</b>()=default (defined in <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
225
classenet_1_1_http_request.html
Normal file
@ -0,0 +1,225 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: enet::HttpRequest Class Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http_request.html">HttpRequest</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="classenet_1_1_http_request-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::HttpRequest Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for enet::HttpRequest:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center">
|
||||
<img src="classenet_1_1_http_request.png" usemap="#enet::HttpRequest_map" alt=""/>
|
||||
<map id="enet::HttpRequest_map" name="enet::HttpRequest_map">
|
||||
<area href="classenet_1_1_http_header.html" alt="enet::HttpHeader" shape="rect" coords="0,0,108,24"/>
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a3ee8207cf2536dcfb60e99fa9e08b164"><td class="memItemLeft" align="right" valign="top"><a id="a3ee8207cf2536dcfb60e99fa9e08b164"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>HttpRequest</b> (enum enet::HTTPReqType _type=enet::HTTPReqType::HTTP_GET)</td></tr>
|
||||
<tr class="separator:a3ee8207cf2536dcfb60e99fa9e08b164"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae59b0184b939fe1e9e6059963eb1d962"><td class="memItemLeft" align="right" valign="top"><a id="ae59b0184b939fe1e9e6059963eb1d962"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>display</b> () const</td></tr>
|
||||
<tr class="separator:ae59b0184b939fe1e9e6059963eb1d962"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a600753203ea5cc248678863f42b741da"><td class="memItemLeft" align="right" valign="top"><a id="a600753203ea5cc248678863f42b741da"></a>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><b>generate</b> () const</td></tr>
|
||||
<tr class="separator:a600753203ea5cc248678863f42b741da"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa1158ecf31ffc58b01b2aa3d0bda6dad"><td class="memItemLeft" align="right" valign="top"><a id="aa1158ecf31ffc58b01b2aa3d0bda6dad"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setType</b> (enum enet::HTTPReqType _value)</td></tr>
|
||||
<tr class="separator:aa1158ecf31ffc58b01b2aa3d0bda6dad"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6f0e87f9533dded26daf064eb5426e93"><td class="memItemLeft" align="right" valign="top"><a id="a6f0e87f9533dded26daf064eb5426e93"></a>
|
||||
enum enet::HTTPReqType </td><td class="memItemRight" valign="bottom"><b>getType</b> () const</td></tr>
|
||||
<tr class="separator:a6f0e87f9533dded26daf064eb5426e93"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8f631146a6f1d0cabdf9f21fdaa30b5c"><td class="memItemLeft" align="right" valign="top"><a id="a8f631146a6f1d0cabdf9f21fdaa30b5c"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setUri</b> (const std::string &_value)</td></tr>
|
||||
<tr class="separator:a8f631146a6f1d0cabdf9f21fdaa30b5c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a45ca7a1eccc49e6211ddf03c6f304a32"><td class="memItemLeft" align="right" valign="top"><a id="a45ca7a1eccc49e6211ddf03c6f304a32"></a>
|
||||
const std::string & </td><td class="memItemRight" valign="bottom"><b>getUri</b> () const</td></tr>
|
||||
<tr class="separator:a45ca7a1eccc49e6211ddf03c6f304a32"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_methods_classenet_1_1_http_header"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classenet_1_1_http_header')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td></tr>
|
||||
<tr class="memitem:af25e61322556395dd5ecd66084e09ea4 inherit pub_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="af25e61322556395dd5ecd66084e09ea4"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setKey</b> (const std::string &_key, const std::string &_value)</td></tr>
|
||||
<tr class="separator:af25e61322556395dd5ecd66084e09ea4 inherit pub_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a50afa45c61c82fed3bdbfdb6d48314fe inherit pub_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a50afa45c61c82fed3bdbfdb6d48314fe"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>rmKey</b> (const std::string &_key)</td></tr>
|
||||
<tr class="separator:a50afa45c61c82fed3bdbfdb6d48314fe inherit pub_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7a85f26807a9021c91670fa02b42182b inherit pub_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a7a85f26807a9021c91670fa02b42182b"></a>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><b>getKey</b> (const std::string &_key) const</td></tr>
|
||||
<tr class="separator:a7a85f26807a9021c91670fa02b42182b inherit pub_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7a0eed29e3b59de032b7590159740616 inherit pub_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a7a0eed29e3b59de032b7590159740616"></a>
|
||||
enum HTTPProtocol </td><td class="memItemRight" valign="bottom"><b>getProtocol</b> () const</td></tr>
|
||||
<tr class="separator:a7a0eed29e3b59de032b7590159740616 inherit pub_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a832dba57cda97cbf74c4fb270e5a0632 inherit pub_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a832dba57cda97cbf74c4fb270e5a0632"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setProtocol</b> (enum HTTPProtocol _protocol)</td></tr>
|
||||
<tr class="separator:a832dba57cda97cbf74c4fb270e5a0632 inherit pub_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
||||
Additional Inherited Members</h2></td></tr>
|
||||
<tr class="inherit_header pro_methods_classenet_1_1_http_header"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classenet_1_1_http_header')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td></tr>
|
||||
<tr class="memitem:a71d9e3ad53d423488199dfd7a0ce8e37 inherit pro_methods_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a71d9e3ad53d423488199dfd7a0ce8e37"></a>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><b>generateKeys</b> () const</td></tr>
|
||||
<tr class="separator:a71d9e3ad53d423488199dfd7a0ce8e37 inherit pro_methods_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pro_attribs_classenet_1_1_http_header"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classenet_1_1_http_header')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classenet_1_1_http_header.html">enet::HttpHeader</a></td></tr>
|
||||
<tr class="memitem:a1dddcc58ed230b1e239326256d13c39d inherit pro_attribs_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a1dddcc58ed230b1e239326256d13c39d"></a>
|
||||
std::map< std::string, std::string > </td><td class="memItemRight" valign="bottom"><b>m_map</b></td></tr>
|
||||
<tr class="separator:a1dddcc58ed230b1e239326256d13c39d inherit pro_attribs_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a664ba8d0bb8f9a73788fdb8c7b6540e9 inherit pro_attribs_classenet_1_1_http_header"><td class="memItemLeft" align="right" valign="top"><a id="a664ba8d0bb8f9a73788fdb8c7b6540e9"></a>
|
||||
enum HTTPProtocol </td><td class="memItemRight" valign="bottom"><b>m_protocol</b></td></tr>
|
||||
<tr class="separator:a664ba8d0bb8f9a73788fdb8c7b6540e9 inherit pro_attribs_classenet_1_1_http_header"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>framework/atria-soft/enet/enet/<a class="el" href="_http_8hpp_source.html">Http.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
BIN
classenet_1_1_http_request.png
Normal file
After Width: | Height: | Size: 528 B |
195
classenet_1_1_http_server-members.html
Normal file
@ -0,0 +1,195 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Member List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http_server.html">HttpServer</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::HttpServer Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classenet_1_1_http_server.html">enet::HttpServer</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#ad01daa4144a8cfb83b9993c4984789bc">connect</a>(CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(std::vector< uint8_t > &))</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>connect</b>(Observer _func) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http_server.html#a7b34d9576677d7d6f0167bbe076aecf1">connectHeader</a>(CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(const enet::HttpRequest &))</td><td class="entry"><a class="el" href="classenet_1_1_http_server.html">enet::HttpServer</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>connectHeader</b>(Http::ObserverRequest _func) (defined in <a class="el" href="classenet_1_1_http_server.html">enet::HttpServer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_server.html">enet::HttpServer</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#a9cf2c7db3c46fc2688e0e70c1e48ea57">connectRaw</a>(CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(enet::Tcp &))</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>connectRaw</b>(ObserverRaw _func) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getAnswerHeader</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>getRequestHeader</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getServerState</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>Http</b>(enet::Tcp _connection, bool _isServer=false) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>HttpServer</b>(enet::Tcp _connection) (defined in <a class="el" href="classenet_1_1_http_server.html">enet::HttpServer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_server.html">enet::HttpServer</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>isAlive</b>() const (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>isServer</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_answerHeader</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_connection</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_headerIsSend</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_observer</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_observerAnswer</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_observerRaw</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_observerRequest</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_requestHeader</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_temporaryBuffer</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_thread</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_threadRunning</b> (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">ObserverAnswer</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">ObserverRequest</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setAnswerHeader</b>(const enet::HttpAnswer &_req) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>setHeader</b>(const enet::HttpAnswer &_header) (defined in <a class="el" href="classenet_1_1_http_server.html">enet::HttpServer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http_server.html">enet::HttpServer</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setRequestHeader</b>(const enet::HttpRequest &_req) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>start</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>stop</b>(bool _inThread=false) (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#a8066d206f654cd3e46977792ad443206">write</a>(const void *_data, int32_t _len)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_http.html#ab259cfca77e060ab40bc2cf0cd93b0ed">write</a>(const std::string &_data, bool _writeBackSlashZero=true)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_http.html#aef11ede74b77bc8d4446c53528ed88a8">write</a>(const std::vector< T > &_data)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Http</b>() (defined in <a class="el" href="classenet_1_1_http.html">enet::Http</a>)</td><td class="entry"><a class="el" href="classenet_1_1_http.html">enet::Http</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
333
classenet_1_1_http_server.html
Normal file
@ -0,0 +1,333 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: enet::HttpServer Class Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_http_server.html">HttpServer</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="classenet_1_1_http_server-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::HttpServer Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for enet::HttpServer:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center">
|
||||
<img src="classenet_1_1_http_server.png" usemap="#enet::HttpServer_map" alt=""/>
|
||||
<map id="enet::HttpServer_map" name="enet::HttpServer_map">
|
||||
<area href="classenet_1_1_http.html" alt="enet::Http" shape="rect" coords="0,0,103,24"/>
|
||||
</map>
|
||||
</div></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:aa41e98663171350cb6f700c0629403de"><td class="memItemLeft" align="right" valign="top"><a id="aa41e98663171350cb6f700c0629403de"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>HttpServer</b> (<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> _connection)</td></tr>
|
||||
<tr class="separator:aa41e98663171350cb6f700c0629403de"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab2e9208a85cde29dbcfbd37bc6c58f3b"><td class="memItemLeft" align="right" valign="top"><a id="ab2e9208a85cde29dbcfbd37bc6c58f3b"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setHeader</b> (const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> &_header)</td></tr>
|
||||
<tr class="separator:ab2e9208a85cde29dbcfbd37bc6c58f3b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7b34d9576677d7d6f0167bbe076aecf1"><td class="memTemplParams" colspan="2">template<class CLASS_TYPE > </td></tr>
|
||||
<tr class="memitem:a7b34d9576677d7d6f0167bbe076aecf1"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_http_server.html#a7b34d9576677d7d6f0167bbe076aecf1">connectHeader</a> (CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> &))</td></tr>
|
||||
<tr class="separator:a7b34d9576677d7d6f0167bbe076aecf1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac96d4a1f53f77f15733e2e1949354624"><td class="memItemLeft" align="right" valign="top"><a id="ac96d4a1f53f77f15733e2e1949354624"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>connectHeader</b> (<a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">Http::ObserverRequest</a> _func)</td></tr>
|
||||
<tr class="separator:ac96d4a1f53f77f15733e2e1949354624"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_methods_classenet_1_1_http"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classenet_1_1_http')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classenet_1_1_http.html">enet::Http</a></td></tr>
|
||||
<tr class="memitem:a08e8a403518d86ea43b926b89e2b4ed1 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a08e8a403518d86ea43b926b89e2b4ed1"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>Http</b> (<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> _connection, bool _isServer=false)</td></tr>
|
||||
<tr class="separator:a08e8a403518d86ea43b926b89e2b4ed1 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6d3463fcfdf6fd777615daf1c1b66a38 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a6d3463fcfdf6fd777615daf1c1b66a38"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>getServerState</b> ()</td></tr>
|
||||
<tr class="separator:a6d3463fcfdf6fd777615daf1c1b66a38 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8037cf658944dbfa75e8a29899fbaabe inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a8037cf658944dbfa75e8a29899fbaabe"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>isServer</b> ()</td></tr>
|
||||
<tr class="separator:a8037cf658944dbfa75e8a29899fbaabe inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad7ffc3d5b43433d6434fd01967a71f38 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="ad7ffc3d5b43433d6434fd01967a71f38"></a>
|
||||
const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> & </td><td class="memItemRight" valign="bottom"><b>getRequestHeader</b> ()</td></tr>
|
||||
<tr class="separator:ad7ffc3d5b43433d6434fd01967a71f38 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a224dc8c9be6a1a9364fc7d8dd3f628c0 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a224dc8c9be6a1a9364fc7d8dd3f628c0"></a>
|
||||
const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> & </td><td class="memItemRight" valign="bottom"><b>getAnswerHeader</b> ()</td></tr>
|
||||
<tr class="separator:a224dc8c9be6a1a9364fc7d8dd3f628c0 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa050ed1b174c20dfda2cec9de1a7f8a6 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="aa050ed1b174c20dfda2cec9de1a7f8a6"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>start</b> ()</td></tr>
|
||||
<tr class="separator:aa050ed1b174c20dfda2cec9de1a7f8a6 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac78d8fd36488cf99e260e5f550d8f3c3 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="ac78d8fd36488cf99e260e5f550d8f3c3"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>stop</b> (bool _inThread=false)</td></tr>
|
||||
<tr class="separator:ac78d8fd36488cf99e260e5f550d8f3c3 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa4888f4ed601539be054dfba0a91b0d2 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="aa4888f4ed601539be054dfba0a91b0d2"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>isAlive</b> () const</td></tr>
|
||||
<tr class="separator:aa4888f4ed601539be054dfba0a91b0d2 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad01daa4144a8cfb83b9993c4984789bc inherit pub_methods_classenet_1_1_http"><td class="memTemplParams" colspan="2">template<class CLASS_TYPE > </td></tr>
|
||||
<tr class="memitem:ad01daa4144a8cfb83b9993c4984789bc inherit pub_methods_classenet_1_1_http"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#ad01daa4144a8cfb83b9993c4984789bc">connect</a> (CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(std::vector< uint8_t > &))</td></tr>
|
||||
<tr class="separator:ad01daa4144a8cfb83b9993c4984789bc inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af03585f9cc8c38218920a1ea5bad4114 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="af03585f9cc8c38218920a1ea5bad4114"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>connect</b> (<a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> _func)</td></tr>
|
||||
<tr class="separator:af03585f9cc8c38218920a1ea5bad4114 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9cf2c7db3c46fc2688e0e70c1e48ea57 inherit pub_methods_classenet_1_1_http"><td class="memTemplParams" colspan="2">template<class CLASS_TYPE > </td></tr>
|
||||
<tr class="memitem:a9cf2c7db3c46fc2688e0e70c1e48ea57 inherit pub_methods_classenet_1_1_http"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#a9cf2c7db3c46fc2688e0e70c1e48ea57">connectRaw</a> (CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> &))</td></tr>
|
||||
<tr class="separator:a9cf2c7db3c46fc2688e0e70c1e48ea57 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af47098ea601ca50762d634c44f48e132 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="af47098ea601ca50762d634c44f48e132"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>connectRaw</b> (<a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> _func)</td></tr>
|
||||
<tr class="separator:af47098ea601ca50762d634c44f48e132 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8066d206f654cd3e46977792ad443206 inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#a8066d206f654cd3e46977792ad443206">write</a> (const void *_data, int32_t _len)</td></tr>
|
||||
<tr class="separator:a8066d206f654cd3e46977792ad443206 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab259cfca77e060ab40bc2cf0cd93b0ed inherit pub_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#ab259cfca77e060ab40bc2cf0cd93b0ed">write</a> (const std::string &_data, bool _writeBackSlashZero=true)</td></tr>
|
||||
<tr class="separator:ab259cfca77e060ab40bc2cf0cd93b0ed inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aef11ede74b77bc8d4446c53528ed88a8 inherit pub_methods_classenet_1_1_http"><td class="memTemplParams" colspan="2">template<class T > </td></tr>
|
||||
<tr class="memitem:aef11ede74b77bc8d4446c53528ed88a8 inherit pub_methods_classenet_1_1_http"><td class="memTemplItemLeft" align="right" valign="top">int32_t </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#aef11ede74b77bc8d4446c53528ed88a8">write</a> (const std::vector< T > &_data)</td></tr>
|
||||
<tr class="separator:aef11ede74b77bc8d4446c53528ed88a8 inherit pub_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
|
||||
Additional Inherited Members</h2></td></tr>
|
||||
<tr class="inherit_header pub_types_classenet_1_1_http"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classenet_1_1_http')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classenet_1_1_http.html">enet::Http</a></td></tr>
|
||||
<tr class="memitem:aa9e26e6f8df71a04b99554c472f29832 inherit pub_types_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> = std::function< void(std::vector< uint8_t > &)></td></tr>
|
||||
<tr class="separator:aa9e26e6f8df71a04b99554c472f29832 inherit pub_types_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9ae2bf2348fd92ec51b2b38c81a012d9 inherit pub_types_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> = std::function< void(<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> &)></td></tr>
|
||||
<tr class="separator:a9ae2bf2348fd92ec51b2b38c81a012d9 inherit pub_types_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa1df33aa84cbc67980411e5f6fcfb8b8 inherit pub_types_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">ObserverRequest</a> = std::function< void(const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> &)></td></tr>
|
||||
<tr class="separator:aa1df33aa84cbc67980411e5f6fcfb8b8 inherit pub_types_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afdb219a8b8a7310cb75a69b9c2bc9133 inherit pub_types_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">ObserverAnswer</a> = std::function< void(const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> &)></td></tr>
|
||||
<tr class="separator:afdb219a8b8a7310cb75a69b9c2bc9133 inherit pub_types_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_attribs_classenet_1_1_http"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classenet_1_1_http')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="classenet_1_1_http.html">enet::Http</a></td></tr>
|
||||
<tr class="memitem:ac5221cc5258c18f0db59d96f21a02cef inherit pub_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="ac5221cc5258c18f0db59d96f21a02cef"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">Observer</a> </td><td class="memItemRight" valign="bottom"><b>m_observer</b></td></tr>
|
||||
<tr class="separator:ac5221cc5258c18f0db59d96f21a02cef inherit pub_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a654f9bfc7403b7c4601db130b22f0058 inherit pub_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a654f9bfc7403b7c4601db130b22f0058"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">ObserverRaw</a> </td><td class="memItemRight" valign="bottom"><b>m_observerRaw</b></td></tr>
|
||||
<tr class="separator:a654f9bfc7403b7c4601db130b22f0058 inherit pub_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pro_methods_classenet_1_1_http"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classenet_1_1_http')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classenet_1_1_http.html">enet::Http</a></td></tr>
|
||||
<tr class="memitem:a57bbba062f15e875275c59673fe0c043 inherit pro_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a57bbba062f15e875275c59673fe0c043"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setRequestHeader</b> (const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> &_req)</td></tr>
|
||||
<tr class="separator:a57bbba062f15e875275c59673fe0c043 inherit pro_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5a941da1abdf617240d8a43ff8136db4 inherit pro_methods_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a5a941da1abdf617240d8a43ff8136db4"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setAnswerHeader</b> (const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> &_req)</td></tr>
|
||||
<tr class="separator:a5a941da1abdf617240d8a43ff8136db4 inherit pro_methods_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pro_attribs_classenet_1_1_http"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classenet_1_1_http')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classenet_1_1_http.html">enet::Http</a></td></tr>
|
||||
<tr class="memitem:a014812e59cb36d38afff0bbb7af2af9b inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a014812e59cb36d38afff0bbb7af2af9b"></a>
|
||||
<a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> </td><td class="memItemRight" valign="bottom"><b>m_requestHeader</b></td></tr>
|
||||
<tr class="separator:a014812e59cb36d38afff0bbb7af2af9b inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abd942d7ebd3b6ab3528212c737728a0e inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="abd942d7ebd3b6ab3528212c737728a0e"></a>
|
||||
<a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> </td><td class="memItemRight" valign="bottom"><b>m_answerHeader</b></td></tr>
|
||||
<tr class="separator:abd942d7ebd3b6ab3528212c737728a0e inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa3f068fb8d074e2bace9b83d83ae79d3 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="aa3f068fb8d074e2bace9b83d83ae79d3"></a>
|
||||
<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> </td><td class="memItemRight" valign="bottom"><b>m_connection</b></td></tr>
|
||||
<tr class="separator:aa3f068fb8d074e2bace9b83d83ae79d3 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8c84d75700d93e702b1a94801010ca06 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a8c84d75700d93e702b1a94801010ca06"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>m_headerIsSend</b></td></tr>
|
||||
<tr class="separator:a8c84d75700d93e702b1a94801010ca06 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7ae1aa100b94d0addd8e26cb59735b25 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a7ae1aa100b94d0addd8e26cb59735b25"></a>
|
||||
std::thread * </td><td class="memItemRight" valign="bottom"><b>m_thread</b></td></tr>
|
||||
<tr class="separator:a7ae1aa100b94d0addd8e26cb59735b25 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab710aa19824b360eda7e22eab63f1078 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="ab710aa19824b360eda7e22eab63f1078"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>m_threadRunning</b></td></tr>
|
||||
<tr class="separator:ab710aa19824b360eda7e22eab63f1078 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a364d878d98d43b9ff590a185bc796da4 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="a364d878d98d43b9ff590a185bc796da4"></a>
|
||||
std::vector< uint8_t > </td><td class="memItemRight" valign="bottom"><b>m_temporaryBuffer</b></td></tr>
|
||||
<tr class="separator:a364d878d98d43b9ff590a185bc796da4 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac458639ab6008cf99971828298ef7df2 inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="ac458639ab6008cf99971828298ef7df2"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">ObserverRequest</a> </td><td class="memItemRight" valign="bottom"><b>m_observerRequest</b></td></tr>
|
||||
<tr class="separator:ac458639ab6008cf99971828298ef7df2 inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af9f14342e475fbad741f705d70b3639a inherit pro_attribs_classenet_1_1_http"><td class="memItemLeft" align="right" valign="top"><a id="af9f14342e475fbad741f705d70b3639a"></a>
|
||||
<a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">ObserverAnswer</a> </td><td class="memItemRight" valign="bottom"><b>m_observerAnswer</b></td></tr>
|
||||
<tr class="separator:af9f14342e475fbad741f705d70b3639a inherit pro_attribs_classenet_1_1_http"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="a7b34d9576677d7d6f0167bbe076aecf1"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a7b34d9576677d7d6f0167bbe076aecf1">§ </a></span>connectHeader()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class CLASS_TYPE > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void enet::HttpServer::connectHeader </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">CLASS_TYPE * </td>
|
||||
<td class="paramname"><em>_class</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void(CLASS_TYPE::*)(const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> &) </td>
|
||||
<td class="paramname"><em>_func</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Connect an function member on the signal with the shared_ptr object. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_class</td><td>shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_func</td><td>Function to call. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_args</td><td>Argument optinnal the user want to add. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>framework/atria-soft/enet/enet/<a class="el" href="_http_8hpp_source.html">Http.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
BIN
classenet_1_1_http_server.png
Normal file
After Width: | Height: | Size: 495 B |
173
classenet_1_1_tcp-members.html
Normal file
@ -0,0 +1,173 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Member List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_tcp.html">Tcp</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::Tcp Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_tcp.html#adc1608c7f511678b50920688946a7be7">getConnectionStatus</a>() const</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_tcp.html#ad93fb9d484a0eecc2057deee10f445a1">getName</a>()</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator=</b>(Tcp &&_obj) (defined in <a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>operator=</b>(Tcp &_obj)=delete (defined in <a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_tcp.html#a39248e8a9d91624b3e7ffa15db7dc3d3">read</a>(void *_data, int32_t _maxLen)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>setTCPNoDelay</b>(bool _enabled) (defined in <a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>status</b> enum name (defined in <a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>Tcp</b>() (defined in <a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Tcp</b>(int32_t _idSocket, const std::string &_name) (defined in <a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>Tcp</b>(Tcp &&_obj) (defined in <a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_tcp.html#a44977d6b011acf1c16a794f7ee41ea8c">unlink</a>()</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_tcp.html#a4fd69af7f485b679a9d53644070e78ac">write</a>(const void *_data, int32_t _len)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_tcp.html#a4d6613d3adff8ffa30fdcd6d7ab4faf9">write</a>(const std::string &_data, bool _writeBackSlashZero=true)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_tcp.html#a630f1853885c26ec868b4b8ac7d91372">write</a>(const std::vector< T > &_data)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Tcp</b>() (defined in <a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
452
classenet_1_1_tcp.html
Normal file
@ -0,0 +1,452 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: enet::Tcp Class Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_tcp.html">Tcp</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-types">Public Types</a> |
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="classenet_1_1_tcp-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::Tcp Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
||||
Public Types</h2></td></tr>
|
||||
<tr class="memitem:a763ed7c45843d811b0325e573dd8ad13"><td class="memItemLeft" align="right" valign="top"><a id="a763ed7c45843d811b0325e573dd8ad13"></a>enum  </td><td class="memItemRight" valign="bottom"><b>status</b> { <b>unlink</b>,
|
||||
<b>link</b>,
|
||||
<b>linkRemoteClose</b>,
|
||||
<b>error</b>
|
||||
}</td></tr>
|
||||
<tr class="separator:a763ed7c45843d811b0325e573dd8ad13"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a51352192f3772574d0a36a26d78570b6"><td class="memItemLeft" align="right" valign="top"><a id="a51352192f3772574d0a36a26d78570b6"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>Tcp</b> (int32_t _idSocket, const std::string &_name)</td></tr>
|
||||
<tr class="separator:a51352192f3772574d0a36a26d78570b6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab779411d35d5a596f4bca7ed9835b3cf"><td class="memItemLeft" align="right" valign="top"><a id="ab779411d35d5a596f4bca7ed9835b3cf"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>Tcp</b> (<a class="el" href="classenet_1_1_tcp.html">Tcp</a> &&_obj)</td></tr>
|
||||
<tr class="separator:ab779411d35d5a596f4bca7ed9835b3cf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae4a5848a3d4c2b0b37535bfe9539b35a"><td class="memItemLeft" align="right" valign="top"><a id="ae4a5848a3d4c2b0b37535bfe9539b35a"></a>
|
||||
<a class="el" href="classenet_1_1_tcp.html">Tcp</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="classenet_1_1_tcp.html">Tcp</a> &&_obj)</td></tr>
|
||||
<tr class="separator:ae4a5848a3d4c2b0b37535bfe9539b35a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a09f61e2710b548a8f58ccaffe6e1427c"><td class="memItemLeft" align="right" valign="top"><a id="a09f61e2710b548a8f58ccaffe6e1427c"></a>
|
||||
<a class="el" href="classenet_1_1_tcp.html">Tcp</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="classenet_1_1_tcp.html">Tcp</a> &_obj)=delete</td></tr>
|
||||
<tr class="separator:a09f61e2710b548a8f58ccaffe6e1427c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad93fb9d484a0eecc2057deee10f445a1"><td class="memItemLeft" align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp.html#ad93fb9d484a0eecc2057deee10f445a1">getName</a> ()</td></tr>
|
||||
<tr class="separator:ad93fb9d484a0eecc2057deee10f445a1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adc1608c7f511678b50920688946a7be7"><td class="memItemLeft" align="right" valign="top">enum status </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp.html#adc1608c7f511678b50920688946a7be7">getConnectionStatus</a> () const</td></tr>
|
||||
<tr class="separator:adc1608c7f511678b50920688946a7be7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a44977d6b011acf1c16a794f7ee41ea8c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp.html#a44977d6b011acf1c16a794f7ee41ea8c">unlink</a> ()</td></tr>
|
||||
<tr class="separator:a44977d6b011acf1c16a794f7ee41ea8c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a39248e8a9d91624b3e7ffa15db7dc3d3"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp.html#a39248e8a9d91624b3e7ffa15db7dc3d3">read</a> (void *_data, int32_t _maxLen)</td></tr>
|
||||
<tr class="separator:a39248e8a9d91624b3e7ffa15db7dc3d3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4fd69af7f485b679a9d53644070e78ac"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp.html#a4fd69af7f485b679a9d53644070e78ac">write</a> (const void *_data, int32_t _len)</td></tr>
|
||||
<tr class="separator:a4fd69af7f485b679a9d53644070e78ac"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4d6613d3adff8ffa30fdcd6d7ab4faf9"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp.html#a4d6613d3adff8ffa30fdcd6d7ab4faf9">write</a> (const std::string &_data, bool _writeBackSlashZero=true)</td></tr>
|
||||
<tr class="separator:a4d6613d3adff8ffa30fdcd6d7ab4faf9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a630f1853885c26ec868b4b8ac7d91372"><td class="memTemplParams" colspan="2">template<class T > </td></tr>
|
||||
<tr class="memitem:a630f1853885c26ec868b4b8ac7d91372"><td class="memTemplItemLeft" align="right" valign="top">int32_t </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp.html#a630f1853885c26ec868b4b8ac7d91372">write</a> (const std::vector< T > &_data)</td></tr>
|
||||
<tr class="separator:a630f1853885c26ec868b4b8ac7d91372"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a327e9b0170e9ae7f7e1dc508d76c698d"><td class="memItemLeft" align="right" valign="top"><a id="a327e9b0170e9ae7f7e1dc508d76c698d"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>setTCPNoDelay</b> (bool _enabled)</td></tr>
|
||||
<tr class="separator:a327e9b0170e9ae7f7e1dc508d76c698d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="adc1608c7f511678b50920688946a7be7"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#adc1608c7f511678b50920688946a7be7">§ </a></span>getConnectionStatus()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum status enet::Tcp::getConnectionStatus </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td> const</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Get the current Status of the connection. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>The status. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ad93fb9d484a0eecc2057deee10f445a1"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ad93fb9d484a0eecc2057deee10f445a1">§ </a></span>getName()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const std::string& enet::Tcp::getName </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Get the decriptive name hot the host:port. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>the string requested </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a39248e8a9d91624b3e7ffa15db7dc3d3"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a39248e8a9d91624b3e7ffa15db7dc3d3">§ </a></span>read()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t enet::Tcp::read </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void * </td>
|
||||
<td class="paramname"><em>_data</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int32_t </td>
|
||||
<td class="paramname"><em>_maxLen</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Read a chunk of data on the socket. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_data</td><td>pointer on the data might be write </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_maxLen</td><td>Size that can be written on the pointer </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>>0 byte size on the socket read </dd>
|
||||
<dd>
|
||||
-1 an error occured. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a44977d6b011acf1c16a794f7ee41ea8c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a44977d6b011acf1c16a794f7ee41ea8c">§ </a></span>unlink()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">bool enet::Tcp::unlink </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Unlink on a specific interface. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>true if connection is removed </dd>
|
||||
<dd>
|
||||
false otherwise ... </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a4fd69af7f485b679a9d53644070e78ac"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a4fd69af7f485b679a9d53644070e78ac">§ </a></span>write() <span class="overload">[1/3]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t enet::Tcp::write </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const void * </td>
|
||||
<td class="paramname"><em>_data</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int32_t </td>
|
||||
<td class="paramname"><em>_len</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Write a chunk of data on the socket. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_data</td><td>pointer on the data might be write </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_len</td><td>Size that must be written socket </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>>0 byte size on the socket write </dd>
|
||||
<dd>
|
||||
-1 an error occured. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a4d6613d3adff8ffa30fdcd6d7ab4faf9"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a4d6613d3adff8ffa30fdcd6d7ab4faf9">§ </a></span>write() <span class="overload">[2/3]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t enet::Tcp::write </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const std::string & </td>
|
||||
<td class="paramname"><em>_data</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool </td>
|
||||
<td class="paramname"><em>_writeBackSlashZero</em> = <code>true</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Write a chunk of data on the socket. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_data</td><td>String to rite on the soccket </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_writeBackSlashZero</td><td>if false, the \0 is not write </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>>0 byte size on the socket write </dd>
|
||||
<dd>
|
||||
-1 an error occured. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a630f1853885c26ec868b4b8ac7d91372"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a630f1853885c26ec868b4b8ac7d91372">§ </a></span>write() <span class="overload">[3/3]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class T > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t enet::Tcp::write </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const std::vector< T > & </td>
|
||||
<td class="paramname"><em>_data</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Write a chunk of data on the socket. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_data</td><td>String to rite on the soccket </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_writeBackSlashZero</td><td>if false, the \0 is not write </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>>0 T element write on the socket </dd>
|
||||
<dd>
|
||||
-1 an error occured. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>framework/atria-soft/enet/enet/<a class="el" href="_tcp_8hpp_source.html">Tcp.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
168
classenet_1_1_tcp_server-members.html
Normal file
@ -0,0 +1,168 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Member List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_tcp_server.html">TcpServer</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::TcpServer Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html#a037aec50729f61bbf1ac48b08ecaa455">getHostName</a>()</td><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html#ab2842aab61243d89cbb5034e94cbdf54">getPort</a>()</td><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>link</b>() (defined in <a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html#afed69c71adcc2caace7b55829edb746e">setHostNane</a>(const std::string &_name)</td><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html#ab22d5d4757d31237e9f3e7baa71caad0">setIpV4</a>(uint8_t _fist, uint8_t _second, uint8_t _third, uint8_t _quatro)</td><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html#a73447da8c72e72fb893375a531991392">setPort</a>(uint16_t _port)</td><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>TcpServer</b>() (defined in <a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>unlink</b>() (defined in <a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html#a551984bb6b9a52340b06a95fcd4ce183">waitNext</a>()</td><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>~TcpServer</b>() (defined in <a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a>)</td><td class="entry"><a class="el" href="classenet_1_1_tcp_server.html">enet::TcpServer</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
363
classenet_1_1_tcp_server.html
Normal file
@ -0,0 +1,363 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: enet::TcpServer Class Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_tcp_server.html">TcpServer</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="classenet_1_1_tcp_server-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::TcpServer Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:ab22d5d4757d31237e9f3e7baa71caad0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp_server.html#ab22d5d4757d31237e9f3e7baa71caad0">setIpV4</a> (uint8_t _fist, uint8_t _second, uint8_t _third, uint8_t _quatro)</td></tr>
|
||||
<tr class="separator:ab22d5d4757d31237e9f3e7baa71caad0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afed69c71adcc2caace7b55829edb746e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp_server.html#afed69c71adcc2caace7b55829edb746e">setHostNane</a> (const std::string &_name)</td></tr>
|
||||
<tr class="separator:afed69c71adcc2caace7b55829edb746e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a037aec50729f61bbf1ac48b08ecaa455"><td class="memItemLeft" align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp_server.html#a037aec50729f61bbf1ac48b08ecaa455">getHostName</a> ()</td></tr>
|
||||
<tr class="separator:a037aec50729f61bbf1ac48b08ecaa455"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a73447da8c72e72fb893375a531991392"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp_server.html#a73447da8c72e72fb893375a531991392">setPort</a> (uint16_t _port)</td></tr>
|
||||
<tr class="separator:a73447da8c72e72fb893375a531991392"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab2842aab61243d89cbb5034e94cbdf54"><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp_server.html#ab2842aab61243d89cbb5034e94cbdf54">getPort</a> ()</td></tr>
|
||||
<tr class="separator:ab2842aab61243d89cbb5034e94cbdf54"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8d9e5057f8b79fdf11b2aac2ab14cb70"><td class="memItemLeft" align="right" valign="top"><a id="a8d9e5057f8b79fdf11b2aac2ab14cb70"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>link</b> ()</td></tr>
|
||||
<tr class="separator:a8d9e5057f8b79fdf11b2aac2ab14cb70"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abf55a536875d48300c80a4cbf4e38be5"><td class="memItemLeft" align="right" valign="top"><a id="abf55a536875d48300c80a4cbf4e38be5"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>unlink</b> ()</td></tr>
|
||||
<tr class="separator:abf55a536875d48300c80a4cbf4e38be5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a551984bb6b9a52340b06a95fcd4ce183"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_tcp_server.html#a551984bb6b9a52340b06a95fcd4ce183">waitNext</a> ()</td></tr>
|
||||
<tr class="separator:a551984bb6b9a52340b06a95fcd4ce183"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="a037aec50729f61bbf1ac48b08ecaa455"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a037aec50729f61bbf1ac48b08ecaa455">§ </a></span>getHostName()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const std::string& enet::TcpServer::getHostName </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Get the decriptive name hot the host. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>the string requested </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab2842aab61243d89cbb5034e94cbdf54"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab2842aab61243d89cbb5034e94cbdf54">§ </a></span>getPort()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint16_t enet::TcpServer::getPort </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Get the port number. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>The requested port number. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="afed69c71adcc2caace7b55829edb746e"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#afed69c71adcc2caace7b55829edb746e">§ </a></span>setHostNane()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void enet::TcpServer::setHostNane </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const std::string & </td>
|
||||
<td class="paramname"><em>_name</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>set the Host name is the same things as set an Ip adress, but in test mode "127.0.0.1" or "localhost". </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_name</td><td>Host name to connect. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab22d5d4757d31237e9f3e7baa71caad0"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab22d5d4757d31237e9f3e7baa71caad0">§ </a></span>setIpV4()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void enet::TcpServer::setIpV4 </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>_fist</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>_second</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>_third</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint8_t </td>
|
||||
<td class="paramname"><em>_quatro</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Set the connection IP id. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_first</td><td>Firt number of the IP v4. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_second</td><td>Second number of the IP v4. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_third</td><td>Third number of the IP v4. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_quatro</td><td>Quatro number of the IP v4. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a73447da8c72e72fb893375a531991392"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a73447da8c72e72fb893375a531991392">§ </a></span>setPort()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void enet::TcpServer::setPort </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>_port</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>set the port number to connect or to spy </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_port</td><td>Number of the port requested </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a551984bb6b9a52340b06a95fcd4ce183"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a551984bb6b9a52340b06a95fcd4ce183">§ </a></span>waitNext()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> enet::TcpServer::waitNext </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Wait next extern connection. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>element with the connection </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>framework/atria-soft/enet/enet/<a class="el" href="_tcp_server_8hpp_source.html">TcpServer.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
160
classenet_1_1_udp-members.html
Normal file
@ -0,0 +1,160 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Member List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_udp.html">Udp</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::Udp Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classenet_1_1_udp.html">enet::Udp</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Udp</b>() (defined in <a class="el" href="classenet_1_1_udp.html">enet::Udp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_udp.html">enet::Udp</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>~Udp</b>() (defined in <a class="el" href="classenet_1_1_udp.html">enet::Udp</a>)</td><td class="entry"><a class="el" href="classenet_1_1_udp.html">enet::Udp</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
160
classenet_1_1_udp.html
Normal file
@ -0,0 +1,160 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: enet::Udp Class Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_udp.html">Udp</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="classenet_1_1_udp-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::Udp Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>framework/atria-soft/enet/enet/<a class="el" href="_udp_8hpp_source.html">Udp.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
196
classenet_1_1_web_socket-members.html
Normal file
@ -0,0 +1,196 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Member List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_web_socket.html">WebSocket</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::WebSocket Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>configHeader</b>(bool _isString=false, bool _mask=false) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_web_socket.html#a3a7a4269d350a37bca2041c62e58f18f">connect</a>(CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(std::vector< uint8_t > &, bool))</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>connect</b>(Observer _func) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_web_socket.html#ab74ff78fe5f3b2161011adec69c74c19">connectUri</a>(CLASS_TYPE *_class, bool(CLASS_TYPE::*_func)(const std::string &, const std::vector< std::string > &))</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>connectUri</b>(ObserverUriCheck _func) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>controlClose</b>() (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>controlPing</b>() (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>controlPong</b>() (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getLastTimeReceive</b>() (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>getLastTimeSend</b>() (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>isAlive</b>() const (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_buffer</b> (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_checkKey</b> (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_connectionValidate</b> (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_interface</b> (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_lastReceive</b> (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_lastSend</b> (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_observer</b> (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_observerUriCheck</b> (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>m_protocol</b> (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>m_sendBuffer</b> (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">protected</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_web_socket.html#a39fb42e7b04f5946a8cdbb6cde6b0ce4">Observer</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_web_socket.html#a5c234c853a0ee0b56875bb0262fc8ce0">ObserverUriCheck</a> typedef</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>onReceiveAnswer</b>(const enet::HttpAnswer &_data) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>onReceiveData</b>(enet::Tcp &_data) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>onReceiveRequest</b>(const enet::HttpRequest &_data) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>send</b>() (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>setInterface</b>(enet::Tcp _connection, bool _isServer=false) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>setProtocol</b>(const std::string &_protocol) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>start</b>(const std::string &_uri="", const std::vector< std::string > &_listProtocols=std::vector< std::string >()) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>stop</b>(bool _inThread=false) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>WebSocket</b>() (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>WebSocket</b>(enet::Tcp _connection, bool _isServer=false) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_web_socket.html#a9c493cf31492424f7933ea7b9941cd3b">write</a>(const void *_data, int32_t _len, bool _isString=false, bool _mask=false)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classenet_1_1_web_socket.html#ab5f62bdf3fa652db1dd7ad3801e82612">write</a>(const std::string &_data, bool _writeBackSlashZero=true)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classenet_1_1_web_socket.html#aeb3948198a6364c296727cab39a413ba">write</a>(const std::vector< T > &_data)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>writeData</b>(uint8_t *_data, int32_t _len) (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"></td></tr>
|
||||
<tr bgcolor="#f0f0f0"><td class="entry"><b>~WebSocket</b>() (defined in <a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a>)</td><td class="entry"><a class="el" href="classenet_1_1_web_socket.html">enet::WebSocket</a></td><td class="entry"><span class="mlabel">virtual</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
547
classenet_1_1_web_socket.html
Normal file
@ -0,0 +1,547 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: enet::WebSocket Class Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="namespaceenet.html">enet</a></li><li class="navelem"><a class="el" href="classenet_1_1_web_socket.html">WebSocket</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-types">Public Types</a> |
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="#pro-attribs">Protected Attributes</a> |
|
||||
<a href="classenet_1_1_web_socket-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet::WebSocket Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
||||
Public Types</h2></td></tr>
|
||||
<tr class="memitem:a39fb42e7b04f5946a8cdbb6cde6b0ce4"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_web_socket.html#a39fb42e7b04f5946a8cdbb6cde6b0ce4">Observer</a> = std::function< void(std::vector< uint8_t > &, bool)></td></tr>
|
||||
<tr class="separator:a39fb42e7b04f5946a8cdbb6cde6b0ce4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5c234c853a0ee0b56875bb0262fc8ce0"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_web_socket.html#a5c234c853a0ee0b56875bb0262fc8ce0">ObserverUriCheck</a> = std::function< bool(const std::string &, const std::vector< std::string > &)></td></tr>
|
||||
<tr class="separator:a5c234c853a0ee0b56875bb0262fc8ce0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a3f5406cbfebf24abbeda96805e8c346b"><td class="memItemLeft" align="right" valign="top"><a id="a3f5406cbfebf24abbeda96805e8c346b"></a>
|
||||
const std::chrono::steady_clock::time_point & </td><td class="memItemRight" valign="bottom"><b>getLastTimeReceive</b> ()</td></tr>
|
||||
<tr class="separator:a3f5406cbfebf24abbeda96805e8c346b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adf22258d777ac6af3cd15e2c7db379da"><td class="memItemLeft" align="right" valign="top"><a id="adf22258d777ac6af3cd15e2c7db379da"></a>
|
||||
const std::chrono::steady_clock::time_point & </td><td class="memItemRight" valign="bottom"><b>getLastTimeSend</b> ()</td></tr>
|
||||
<tr class="separator:adf22258d777ac6af3cd15e2c7db379da"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5be062f7e69c8833ebe57a56d1334f8a"><td class="memItemLeft" align="right" valign="top"><a id="a5be062f7e69c8833ebe57a56d1334f8a"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>WebSocket</b> (<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> _connection, bool _isServer=false)</td></tr>
|
||||
<tr class="separator:a5be062f7e69c8833ebe57a56d1334f8a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5c73d3a5d47842a46dac676c9bda35a0"><td class="memItemLeft" align="right" valign="top"><a id="a5c73d3a5d47842a46dac676c9bda35a0"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setInterface</b> (<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> _connection, bool _isServer=false)</td></tr>
|
||||
<tr class="separator:a5c73d3a5d47842a46dac676c9bda35a0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a084861de3fb9176f1f2bfb5f3056463a"><td class="memItemLeft" align="right" valign="top"><a id="a084861de3fb9176f1f2bfb5f3056463a"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>start</b> (const std::string &_uri="", const std::vector< std::string > &_listProtocols=std::vector< std::string >())</td></tr>
|
||||
<tr class="separator:a084861de3fb9176f1f2bfb5f3056463a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5791eb8002a44c016acdd5660fe17094"><td class="memItemLeft" align="right" valign="top"><a id="a5791eb8002a44c016acdd5660fe17094"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>stop</b> (bool _inThread=false)</td></tr>
|
||||
<tr class="separator:a5791eb8002a44c016acdd5660fe17094"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac5b8f20335ed70c24b4dcd5d2b3cf6f3"><td class="memItemLeft" align="right" valign="top"><a id="ac5b8f20335ed70c24b4dcd5d2b3cf6f3"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>isAlive</b> () const</td></tr>
|
||||
<tr class="separator:ac5b8f20335ed70c24b4dcd5d2b3cf6f3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab9e2f917ce477eb868506a400311f62b"><td class="memItemLeft" align="right" valign="top"><a id="ab9e2f917ce477eb868506a400311f62b"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>onReceiveData</b> (<a class="el" href="classenet_1_1_tcp.html">enet::Tcp</a> &_data)</td></tr>
|
||||
<tr class="separator:ab9e2f917ce477eb868506a400311f62b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3c32caa5da4c87334a4064cbac23fc9e"><td class="memItemLeft" align="right" valign="top"><a id="a3c32caa5da4c87334a4064cbac23fc9e"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>onReceiveRequest</b> (const <a class="el" href="classenet_1_1_http_request.html">enet::HttpRequest</a> &_data)</td></tr>
|
||||
<tr class="separator:a3c32caa5da4c87334a4064cbac23fc9e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7efdbaacbae0948b9dad7965f33a870d"><td class="memItemLeft" align="right" valign="top"><a id="a7efdbaacbae0948b9dad7965f33a870d"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>onReceiveAnswer</b> (const <a class="el" href="classenet_1_1_http_answer.html">enet::HttpAnswer</a> &_data)</td></tr>
|
||||
<tr class="separator:a7efdbaacbae0948b9dad7965f33a870d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a29031761ddfe391074f69effcb266cdc"><td class="memItemLeft" align="right" valign="top"><a id="a29031761ddfe391074f69effcb266cdc"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>setProtocol</b> (const std::string &_protocol)</td></tr>
|
||||
<tr class="separator:a29031761ddfe391074f69effcb266cdc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3a7a4269d350a37bca2041c62e58f18f"><td class="memTemplParams" colspan="2">template<class CLASS_TYPE > </td></tr>
|
||||
<tr class="memitem:a3a7a4269d350a37bca2041c62e58f18f"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_web_socket.html#a3a7a4269d350a37bca2041c62e58f18f">connect</a> (CLASS_TYPE *_class, void(CLASS_TYPE::*_func)(std::vector< uint8_t > &, bool))</td></tr>
|
||||
<tr class="separator:a3a7a4269d350a37bca2041c62e58f18f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a57a028b4ee433c3a2381bad93882ada0"><td class="memItemLeft" align="right" valign="top"><a id="a57a028b4ee433c3a2381bad93882ada0"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>connect</b> (<a class="el" href="classenet_1_1_web_socket.html#a39fb42e7b04f5946a8cdbb6cde6b0ce4">Observer</a> _func)</td></tr>
|
||||
<tr class="separator:a57a028b4ee433c3a2381bad93882ada0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab74ff78fe5f3b2161011adec69c74c19"><td class="memTemplParams" colspan="2">template<class CLASS_TYPE > </td></tr>
|
||||
<tr class="memitem:ab74ff78fe5f3b2161011adec69c74c19"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_web_socket.html#ab74ff78fe5f3b2161011adec69c74c19">connectUri</a> (CLASS_TYPE *_class, bool(CLASS_TYPE::*_func)(const std::string &, const std::vector< std::string > &))</td></tr>
|
||||
<tr class="separator:ab74ff78fe5f3b2161011adec69c74c19"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9e0fd5bd1f188ea02899ac4ad72a255d"><td class="memItemLeft" align="right" valign="top"><a id="a9e0fd5bd1f188ea02899ac4ad72a255d"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>connectUri</b> (<a class="el" href="classenet_1_1_web_socket.html#a5c234c853a0ee0b56875bb0262fc8ce0">ObserverUriCheck</a> _func)</td></tr>
|
||||
<tr class="separator:a9e0fd5bd1f188ea02899ac4ad72a255d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af67920a05692efba572125922e68eeaf"><td class="memItemLeft" align="right" valign="top"><a id="af67920a05692efba572125922e68eeaf"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>configHeader</b> (bool _isString=false, bool _mask=false)</td></tr>
|
||||
<tr class="separator:af67920a05692efba572125922e68eeaf"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae6a621645e530c9f3329c63f77b8954d"><td class="memItemLeft" align="right" valign="top"><a id="ae6a621645e530c9f3329c63f77b8954d"></a>
|
||||
int32_t </td><td class="memItemRight" valign="bottom"><b>writeData</b> (uint8_t *_data, int32_t _len)</td></tr>
|
||||
<tr class="separator:ae6a621645e530c9f3329c63f77b8954d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2ca2ded70ca64e8b687390b81f03461c"><td class="memItemLeft" align="right" valign="top"><a id="a2ca2ded70ca64e8b687390b81f03461c"></a>
|
||||
int32_t </td><td class="memItemRight" valign="bottom"><b>send</b> ()</td></tr>
|
||||
<tr class="separator:a2ca2ded70ca64e8b687390b81f03461c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9c493cf31492424f7933ea7b9941cd3b"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_web_socket.html#a9c493cf31492424f7933ea7b9941cd3b">write</a> (const void *_data, int32_t _len, bool _isString=false, bool _mask=false)</td></tr>
|
||||
<tr class="separator:a9c493cf31492424f7933ea7b9941cd3b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab5f62bdf3fa652db1dd7ad3801e82612"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classenet_1_1_web_socket.html#ab5f62bdf3fa652db1dd7ad3801e82612">write</a> (const std::string &_data, bool _writeBackSlashZero=true)</td></tr>
|
||||
<tr class="separator:ab5f62bdf3fa652db1dd7ad3801e82612"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aeb3948198a6364c296727cab39a413ba"><td class="memTemplParams" colspan="2">template<class T > </td></tr>
|
||||
<tr class="memitem:aeb3948198a6364c296727cab39a413ba"><td class="memTemplItemLeft" align="right" valign="top">int32_t </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classenet_1_1_web_socket.html#aeb3948198a6364c296727cab39a413ba">write</a> (const std::vector< T > &_data)</td></tr>
|
||||
<tr class="separator:aeb3948198a6364c296727cab39a413ba"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6700b445af9f854d239a1ab5c4879669"><td class="memItemLeft" align="right" valign="top"><a id="a6700b445af9f854d239a1ab5c4879669"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>controlPing</b> ()</td></tr>
|
||||
<tr class="separator:a6700b445af9f854d239a1ab5c4879669"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae31725e7f067d78a51281ac794711ac7"><td class="memItemLeft" align="right" valign="top"><a id="ae31725e7f067d78a51281ac794711ac7"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>controlPong</b> ()</td></tr>
|
||||
<tr class="separator:ae31725e7f067d78a51281ac794711ac7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abe6a33abb063912a48c879b7d376509c"><td class="memItemLeft" align="right" valign="top"><a id="abe6a33abb063912a48c879b7d376509c"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>controlClose</b> ()</td></tr>
|
||||
<tr class="separator:abe6a33abb063912a48c879b7d376509c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
||||
Protected Attributes</h2></td></tr>
|
||||
<tr class="memitem:a2d594d6243eebf978fc4ba5d714febb8"><td class="memItemLeft" align="right" valign="top"><a id="a2d594d6243eebf978fc4ba5d714febb8"></a>
|
||||
std::vector< uint8_t > </td><td class="memItemRight" valign="bottom"><b>m_sendBuffer</b></td></tr>
|
||||
<tr class="separator:a2d594d6243eebf978fc4ba5d714febb8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac4f9347a24096161c5633aaf6107b66c"><td class="memItemLeft" align="right" valign="top"><a id="ac4f9347a24096161c5633aaf6107b66c"></a>
|
||||
bool </td><td class="memItemRight" valign="bottom"><b>m_connectionValidate</b></td></tr>
|
||||
<tr class="separator:ac4f9347a24096161c5633aaf6107b66c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a87e60f9246988e10ba3ef9cfc549b383"><td class="memItemLeft" align="right" valign="top"><a id="a87e60f9246988e10ba3ef9cfc549b383"></a>
|
||||
<a class="elRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr</a>< <a class="el" href="classenet_1_1_http.html">enet::Http</a> > </td><td class="memItemRight" valign="bottom"><b>m_interface</b></td></tr>
|
||||
<tr class="separator:a87e60f9246988e10ba3ef9cfc549b383"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a34c7971b3dfdb31e1f1993f3b5a611e1"><td class="memItemLeft" align="right" valign="top"><a id="a34c7971b3dfdb31e1f1993f3b5a611e1"></a>
|
||||
std::vector< uint8_t > </td><td class="memItemRight" valign="bottom"><b>m_buffer</b></td></tr>
|
||||
<tr class="separator:a34c7971b3dfdb31e1f1993f3b5a611e1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a81301c419c2524a50f56bf3d18330f8a"><td class="memItemLeft" align="right" valign="top"><a id="a81301c419c2524a50f56bf3d18330f8a"></a>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><b>m_checkKey</b></td></tr>
|
||||
<tr class="separator:a81301c419c2524a50f56bf3d18330f8a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afbf8d8db328c7b198f352a2f1df26ccc"><td class="memItemLeft" align="right" valign="top"><a id="afbf8d8db328c7b198f352a2f1df26ccc"></a>
|
||||
std::chrono::steady_clock::time_point </td><td class="memItemRight" valign="bottom"><b>m_lastReceive</b></td></tr>
|
||||
<tr class="separator:afbf8d8db328c7b198f352a2f1df26ccc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a351735ebf18354d5c9162897a37b5ae3"><td class="memItemLeft" align="right" valign="top"><a id="a351735ebf18354d5c9162897a37b5ae3"></a>
|
||||
std::chrono::steady_clock::time_point </td><td class="memItemRight" valign="bottom"><b>m_lastSend</b></td></tr>
|
||||
<tr class="separator:a351735ebf18354d5c9162897a37b5ae3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4d990e2eb11d11c2d9bc743d66c7b522"><td class="memItemLeft" align="right" valign="top"><a id="a4d990e2eb11d11c2d9bc743d66c7b522"></a>
|
||||
std::string </td><td class="memItemRight" valign="bottom"><b>m_protocol</b></td></tr>
|
||||
<tr class="separator:a4d990e2eb11d11c2d9bc743d66c7b522"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abe2db0119132e188c36a353676867c0a"><td class="memItemLeft" align="right" valign="top"><a id="abe2db0119132e188c36a353676867c0a"></a>
|
||||
<a class="el" href="classenet_1_1_web_socket.html#a39fb42e7b04f5946a8cdbb6cde6b0ce4">Observer</a> </td><td class="memItemRight" valign="bottom"><b>m_observer</b></td></tr>
|
||||
<tr class="separator:abe2db0119132e188c36a353676867c0a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afe3b3c52f507b94ea624f84c976ab1c4"><td class="memItemLeft" align="right" valign="top"><a id="afe3b3c52f507b94ea624f84c976ab1c4"></a>
|
||||
<a class="el" href="classenet_1_1_web_socket.html#a5c234c853a0ee0b56875bb0262fc8ce0">ObserverUriCheck</a> </td><td class="memItemRight" valign="bottom"><b>m_observerUriCheck</b></td></tr>
|
||||
<tr class="separator:afe3b3c52f507b94ea624f84c976ab1c4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Member Typedef Documentation</h2>
|
||||
<a id="a39fb42e7b04f5946a8cdbb6cde6b0ce4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a39fb42e7b04f5946a8cdbb6cde6b0ce4">§ </a></span>Observer</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">using <a class="el" href="classenet_1_1_web_socket.html#a39fb42e7b04f5946a8cdbb6cde6b0ce4">enet::WebSocket::Observer</a> = std::function<void(std::vector<uint8_t>&, bool)></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Define an Observer: function pointer. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a5c234c853a0ee0b56875bb0262fc8ce0"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a5c234c853a0ee0b56875bb0262fc8ce0">§ </a></span>ObserverUriCheck</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">using <a class="el" href="classenet_1_1_web_socket.html#a5c234c853a0ee0b56875bb0262fc8ce0">enet::WebSocket::ObserverUriCheck</a> = std::function<bool(const std::string&, const std::vector<std::string>&)></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Define an Observer: function pointer. </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="a3a7a4269d350a37bca2041c62e58f18f"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3a7a4269d350a37bca2041c62e58f18f">§ </a></span>connect()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class CLASS_TYPE > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void enet::WebSocket::connect </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">CLASS_TYPE * </td>
|
||||
<td class="paramname"><em>_class</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">void(CLASS_TYPE::*)(std::vector< uint8_t > &, bool) </td>
|
||||
<td class="paramname"><em>_func</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Connect an function member on the signal with the shared_ptr object. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_class</td><td>shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_func</td><td>Function to call. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_args</td><td>Argument optinnal the user want to add. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab74ff78fe5f3b2161011adec69c74c19"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab74ff78fe5f3b2161011adec69c74c19">§ </a></span>connectUri()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class CLASS_TYPE > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void enet::WebSocket::connectUri </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">CLASS_TYPE * </td>
|
||||
<td class="paramname"><em>_class</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool(CLASS_TYPE::*)(const std::string &, const std::vector< std::string > &) </td>
|
||||
<td class="paramname"><em>_func</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Connect an function member on the signal with the shared_ptr object. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_class</td><td>shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_func</td><td>Function to call. </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_args</td><td>Argument optinnal the user want to add. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a9c493cf31492424f7933ea7b9941cd3b"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9c493cf31492424f7933ea7b9941cd3b">§ </a></span>write() <span class="overload">[1/3]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t enet::WebSocket::write </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const void * </td>
|
||||
<td class="paramname"><em>_data</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">int32_t </td>
|
||||
<td class="paramname"><em>_len</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool </td>
|
||||
<td class="paramname"><em>_isString</em> = <code>false</code>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool </td>
|
||||
<td class="paramname"><em>_mask</em> = <code>false</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Write a chunk of data on the socket. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_data</td><td>pointer on the data might be write </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_len</td><td>Size that must be written socket </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>>0 byte size on the socket write </dd>
|
||||
<dd>
|
||||
-1 an error occured. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab5f62bdf3fa652db1dd7ad3801e82612"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab5f62bdf3fa652db1dd7ad3801e82612">§ </a></span>write() <span class="overload">[2/3]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t enet::WebSocket::write </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const std::string & </td>
|
||||
<td class="paramname"><em>_data</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool </td>
|
||||
<td class="paramname"><em>_writeBackSlashZero</em> = <code>true</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Write a chunk of data on the socket. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_data</td><td>String to rite on the soccket </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_writeBackSlashZero</td><td>if false, the \0 is not write </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>>0 byte size on the socket write </dd>
|
||||
<dd>
|
||||
-1 an error occured. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aeb3948198a6364c296727cab39a413ba"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aeb3948198a6364c296727cab39a413ba">§ </a></span>write() <span class="overload">[3/3]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<class T > </div>
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t enet::WebSocket::write </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const std::vector< T > & </td>
|
||||
<td class="paramname"><em>_data</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Write a chunk of data on the socket. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_data</td><td>String to rite on the soccket </td></tr>
|
||||
<tr><td class="paramdir">[in]</td><td class="paramname">_writeBackSlashZero</td><td>if false, the \0 is not write </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>>0 T element write on the socket </dd>
|
||||
<dd>
|
||||
-1 an error occured. </dd></dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>framework/atria-soft/enet/enet/<a class="el" href="_web_socket_8hpp_source.html">WebSocket.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
168
classes.html
Normal file
@ -0,0 +1,168 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Class Index</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Class Index</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="qindex"><a class="qindex" href="#letter_f">f</a> | <a class="qindex" href="#letter_h">h</a> | <a class="qindex" href="#letter_t">t</a> | <a class="qindex" href="#letter_u">u</a> | <a class="qindex" href="#letter_w">w</a></div>
|
||||
<table class="classindex">
|
||||
<tr><td rowspan="2" valign="bottom"><a name="letter_f"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  f  </div></td></tr></table>
|
||||
</td><td valign="top"><a class="el" href="classenet_1_1_http_answer.html">HttpAnswer</a> (<a class="el" href="namespaceenet.html">enet</a>)   </td><td rowspan="2" valign="bottom"><a name="letter_t"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  t  </div></td></tr></table>
|
||||
</td><td rowspan="2" valign="bottom"><a name="letter_w"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  w  </div></td></tr></table>
|
||||
</td></tr>
|
||||
<tr><td valign="top"><a class="el" href="classenet_1_1_http_client.html">HttpClient</a> (<a class="el" href="namespaceenet.html">enet</a>)   </td></tr>
|
||||
<tr><td valign="top"><a class="el" href="classenet_1_1_ftp.html">Ftp</a> (<a class="el" href="namespaceenet.html">enet</a>)   </td><td valign="top"><a class="el" href="classenet_1_1_http_header.html">HttpHeader</a> (<a class="el" href="namespaceenet.html">enet</a>)   </td><td valign="top"><a class="el" href="classenet_1_1_tcp.html">Tcp</a> (<a class="el" href="namespaceenet.html">enet</a>)   </td><td valign="top"><a class="el" href="classenet_1_1_web_socket.html">WebSocket</a> (<a class="el" href="namespaceenet.html">enet</a>)   </td></tr>
|
||||
<tr><td rowspan="2" valign="bottom"><a name="letter_h"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  h  </div></td></tr></table>
|
||||
</td><td valign="top"><a class="el" href="classenet_1_1_http_request.html">HttpRequest</a> (<a class="el" href="namespaceenet.html">enet</a>)   </td><td valign="top"><a class="el" href="classenet_1_1_tcp_server.html">TcpServer</a> (<a class="el" href="namespaceenet.html">enet</a>)   </td><td></td></tr>
|
||||
<tr><td valign="top"><a class="el" href="classenet_1_1_http_server.html">HttpServer</a> (<a class="el" href="namespaceenet.html">enet</a>)   </td><td rowspan="2" valign="bottom"><a name="letter_u"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah">  u  </div></td></tr></table>
|
||||
</td><td></td></tr>
|
||||
<tr><td valign="top"><a class="el" href="classenet_1_1_http.html">Http</a> (<a class="el" href="namespaceenet.html">enet</a>)   </td><td></td><td></td></tr>
|
||||
<tr><td></td><td></td><td valign="top"><a class="el" href="classenet_1_1_udp.html">Udp</a> (<a class="el" href="namespaceenet.html">enet</a>)   </td><td></td></tr>
|
||||
<tr><td></td><td></td><td></td><td></td></tr>
|
||||
</table>
|
||||
<div class="qindex"><a class="qindex" href="#letter_f">f</a> | <a class="qindex" href="#letter_h">h</a> | <a class="qindex" href="#letter_t">t</a> | <a class="qindex" href="#letter_u">u</a> | <a class="qindex" href="#letter_w">w</a></div>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
BIN
closed.png
Normal file
After Width: | Height: | Size: 132 B |
377
customdoxygen.css
Normal file
@ -0,0 +1,377 @@
|
||||
|
||||
#navrow1, #navrow2, #navrow3, #navrow4, #navrow5{
|
||||
border-bottom: 1px solid #EEEEEE;
|
||||
}
|
||||
|
||||
.adjust-right {
|
||||
margin-left: 30px !important;
|
||||
font-size: 1.15em !important;
|
||||
}
|
||||
.navbar{
|
||||
border: 0px solid #222 !important;
|
||||
}
|
||||
|
||||
|
||||
/* Sticky footer styles
|
||||
-------------------------------------------------- */
|
||||
html,
|
||||
body {
|
||||
counter-reset: h1counter;
|
||||
height: 100%;
|
||||
/* The html and body elements cannot have any padding or margin. */
|
||||
}
|
||||
h1, .h1, h2, .h2, h3, .h3{
|
||||
font-weight: bold !important;
|
||||
}
|
||||
h1:before {
|
||||
content: counter(h1counter) ".\0000a0\0000a0";
|
||||
counter-increment: h1counter;
|
||||
counter-reset: h2counter;
|
||||
}
|
||||
h2:before {
|
||||
content: counter(h1counter) "." counter(h2counter) ".\0000a0\0000a0";
|
||||
counter-increment: h2counter;
|
||||
counter-reset: h3counter;
|
||||
}
|
||||
h3:before {
|
||||
content: counter(h1counter) "." counter(h2counter) "." counter(h3counter) ".\0000a0\0000a0";
|
||||
counter-increment: h3counter;
|
||||
}
|
||||
|
||||
/* Wrapper for page content to push down footer */
|
||||
#wrap {
|
||||
min-height: 100%;
|
||||
height: auto;
|
||||
/* Negative indent footer by its height */
|
||||
margin: 0 auto -60px;
|
||||
/* Pad bottom by footer height */
|
||||
padding: 0 0 60px;
|
||||
}
|
||||
|
||||
/* Set the fixed height of the footer here */
|
||||
#footer {
|
||||
font-size: 0.9em;
|
||||
padding: 8px 0px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.footer-row {
|
||||
line-height: 44px;
|
||||
}
|
||||
|
||||
#footer > .container {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.footer-follow-icon {
|
||||
margin-left: 3px;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.footer-follow-icon img {
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.footer-link {
|
||||
padding-top: 5px;
|
||||
display: inline-block;
|
||||
color: #999999;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.footer-copyright {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.footer-row {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.footer-icons {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.footer-row {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.footer-icons {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* DOXYGEN Code Styles
|
||||
----------------------------------- */
|
||||
|
||||
|
||||
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.code, a.code:visited, a.line, a.line:visited {
|
||||
color: #4665A2;
|
||||
}
|
||||
|
||||
a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef: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 6px;
|
||||
margin: 4px 8px 4px 2px;
|
||||
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.groupHeader {
|
||||
margin-left: 16px;
|
||||
margin-top: 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.groupText {
|
||||
margin-left: 16px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* @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;
|
||||
}
|
||||
|
||||
/*---------------- Search Box */
|
||||
|
||||
#search-box {
|
||||
margin: 10px 0px;
|
||||
}
|
||||
#search-box .close {
|
||||
display: none;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
padding: 6px 12px;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
/*---------------- Search results window */
|
||||
|
||||
#search-results-window {
|
||||
display: none;
|
||||
}
|
||||
|
||||
iframe#MSearchResults {
|
||||
width: 100%;
|
||||
height: 15em;
|
||||
}
|
||||
|
||||
.SRChildren {
|
||||
padding-left: 3ex; padding-bottom: .5em
|
||||
}
|
||||
.SRPage .SRChildren {
|
||||
display: none;
|
||||
}
|
||||
a.SRScope {
|
||||
display: block;
|
||||
}
|
||||
a.SRSymbol:focus, a.SRSymbol:active,
|
||||
a.SRScope:focus, a.SRScope:active {
|
||||
text-decoration: underline;
|
||||
}
|
||||
span.SRScope {
|
||||
padding-left: 4px;
|
||||
}
|
||||
.SRResult {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* class and file list */
|
||||
.directory .icona,
|
||||
.directory .arrow {
|
||||
height: auto;
|
||||
}
|
||||
.directory .icona .icon {
|
||||
height: 16px;
|
||||
}
|
||||
.directory .icondoc {
|
||||
background-position: 0px 0px;
|
||||
height: 20px;
|
||||
}
|
||||
.directory .iconfopen {
|
||||
background-position: 0px 0px;
|
||||
}
|
||||
.directory td.entry {
|
||||
padding: 7px 8px 6px 8px;
|
||||
}
|
||||
|
||||
.table > tbody > tr > td.memSeparator {
|
||||
line-height: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.memItemLeft, .memTemplItemLeft {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
/* enumerations */
|
||||
.panel-body thead > tr {
|
||||
background-color: #e0e0e0;
|
||||
}
|
||||
|
||||
/* todo lists */
|
||||
.todoname,
|
||||
.todoname a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Class title */
|
||||
.summary {
|
||||
margin-top: 25px;
|
||||
}
|
||||
.page-header {
|
||||
margin: 20px 0px !important;
|
||||
}
|
||||
.page-header {
|
||||
#display: inline-block;
|
||||
}
|
||||
.title {
|
||||
text-align: center;
|
||||
color: orange;
|
||||
}
|
||||
.page-header .pull-right {
|
||||
margin-top: 0.3em;
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
.page-header .label {
|
||||
font-size: 50%;
|
||||
}
|
||||
|
||||
#main-nav {
|
||||
display: none;
|
||||
}
|
155
dir_644e041c3a6521da7b27eba0e4eb2b95.html
Normal file
@ -0,0 +1,155 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework Directory Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">framework Directory Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
175
dir_8df4c94f510f53f1374a2c2b5801aba9.html
Normal file
@ -0,0 +1,175 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet Directory Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet Directory Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="files"></a>
|
||||
Files</h2></td></tr>
|
||||
<tr class="memitem:enet_8hpp"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="enet_8hpp.html">enet.hpp</a> <a href="enet_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:_ftp_8hpp"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="_ftp_8hpp.html">Ftp.hpp</a> <a href="_ftp_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:_http_8hpp"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="_http_8hpp.html">Http.hpp</a> <a href="_http_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:_tcp_8hpp"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="_tcp_8hpp.html">Tcp.hpp</a> <a href="_tcp_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:_tcp_client_8hpp"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="_tcp_client_8hpp.html">TcpClient.hpp</a> <a href="_tcp_client_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:_tcp_server_8hpp"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="_tcp_server_8hpp.html">TcpServer.hpp</a> <a href="_tcp_server_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:_udp_8hpp"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="_udp_8hpp.html">Udp.hpp</a> <a href="_udp_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:_web_socket_8hpp"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="_web_socket_8hpp.html">WebSocket.hpp</a> <a href="_web_socket_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
155
dir_a094892b17be858f66bf3446bbb755c7.html
Normal file
@ -0,0 +1,155 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft Directory Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">atria-soft Directory Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
159
dir_f7835a0040178a7c3fe3e7c27f6d9084.html
Normal file
@ -0,0 +1,159 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet Directory Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet Directory Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="subdirs"></a>
|
||||
Directories</h2></td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
76
doc/build.md
@ -1,76 +0,0 @@
|
||||
Build lib & build sample {#enet_build}
|
||||
========================
|
||||
|
||||
@tableofcontents
|
||||
|
||||
Download: {#enet_build_download}
|
||||
=========
|
||||
|
||||
enet use some tools to manage source and build it:
|
||||
|
||||
lutin (build-system): {#enet_build_download_lutin}
|
||||
---------------------
|
||||
|
||||
```{.sh}
|
||||
pip install lutin --user
|
||||
# optionnal dependency of lutin (manage image changing size for application release)
|
||||
pip install pillow --user
|
||||
```
|
||||
|
||||
|
||||
dependency: {#enet_build_download_dependency}
|
||||
-----------
|
||||
|
||||
```{.sh}
|
||||
mkdir framework
|
||||
cd framework
|
||||
git clone https://github.com/atria-soft/etk.git
|
||||
git clone https://github.com/atria-soft/ememory.git
|
||||
git clone https://github.com/atria-soft/algue.git
|
||||
git clone https://github.com/generic-library/gtest-lutin.git --recursive
|
||||
git clone https://github.com/generic-library/z-lutin.git --recursive
|
||||
git clone https://github.com/generic-library/openssl-lutin.git --recursive
|
||||
cd ..
|
||||
```
|
||||
|
||||
sources: {#enet_build_download_sources}
|
||||
--------
|
||||
|
||||
```{.sh}
|
||||
cd framework
|
||||
git clone https://github.com/atria-soft/enet.git
|
||||
cd ..
|
||||
```
|
||||
|
||||
Build: {#enet_build_build}
|
||||
======
|
||||
|
||||
|
||||
library: {#enet_build_build_library}
|
||||
--------
|
||||
|
||||
```{.sh}
|
||||
lutin -mdebug enet
|
||||
```
|
||||
|
||||
Sample: {#enet_build_build_sample}
|
||||
-------
|
||||
|
||||
```{.sh}
|
||||
lutin -mdebug enet-server-websocket enet-client-websocket
|
||||
```
|
||||
|
||||
|
||||
Run sample: {#enet_build_run_sample}
|
||||
===========
|
||||
|
||||
```{.sh}
|
||||
lutin -mdebug enet-server-websocket?run
|
||||
```
|
||||
|
||||
In an other bash:
|
||||
|
||||
```{.sh}
|
||||
lutin -mdebug enet-client-websocket?run
|
||||
```
|
||||
|
@ -1,64 +0,0 @@
|
||||
ENET library {#mainpage}
|
||||
=============
|
||||
|
||||
@tableofcontents
|
||||
|
||||
What is ENET: {#enet_mainpage_what}
|
||||
==============
|
||||
|
||||
`enet` is a network abstraction layer for ewol
|
||||
|
||||
What it does: {#enet_mainpage_what_it_does}
|
||||
-------------
|
||||
|
||||
Provide some acces on Network interface for all platform (simplify API)
|
||||
|
||||
ENET is dependent of the STL (compatible with MacOs stl (CXX))
|
||||
|
||||
It provide some simple interface for TCP, HTTP, webSocket in server and client modes
|
||||
|
||||
|
||||
What is the TODO list: {#enet_mainpage_todo}
|
||||
----------------------
|
||||
|
||||
Create a full complient interface for every protocol ...
|
||||
|
||||
this is in dev
|
||||
|
||||
|
||||
What languages are supported? {#enet_mainpage_language}
|
||||
=============================
|
||||
|
||||
ENET is written in C++.
|
||||
|
||||
|
||||
Are there any licensing restrictions? {#enet_mainpage_license_restriction}
|
||||
=====================================
|
||||
|
||||
ENET is **FREE software** and _all sub-library are FREE and staticly linkable !!!_
|
||||
|
||||
|
||||
License (MPL v2.0) {#enet_mainpage_license}
|
||||
==================
|
||||
|
||||
Copyright ENET Edouard DUPIN
|
||||
|
||||
Licensed under the Mozilla Public License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
<https://www.mozilla.org/MPL/2.0>
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
|
||||
Other pages {#enet_mainpage_sub_page}
|
||||
===========
|
||||
|
||||
- @ref enet_build
|
||||
- [**ewol coding style**](http://atria-soft.github.io/ewol/ewol_coding_style.html)
|
||||
|
264
doxy-boot.js
Normal file
@ -0,0 +1,264 @@
|
||||
$( document ).ready(function() {
|
||||
|
||||
$("div.headertitle").addClass("page-header");
|
||||
$("div.title").addClass("h1");
|
||||
|
||||
$('li > a[href="index.html"] > span').before("<i class='fa fa-cog'></i> ");
|
||||
$('li > a[href="modules.html"] > span').before("<i class='fa fa-square'></i> ");
|
||||
$('li > a[href="namespaces.html"] > span').before("<i class='fa fa-bars'></i> ");
|
||||
$('li > a[href="annotated.html"] > span').before("<i class='fa fa-list-ul'></i> ");
|
||||
$('li > a[href="classes.html"] > span').before("<i class='fa fa-book'></i> ");
|
||||
$('li > a[href="inherits.html"] > span').before("<i class='fa fa-sitemap'></i> ");
|
||||
$('li > a[href="functions.html"] > span').before("<i class='fa fa-list'></i> ");
|
||||
$('li > a[href="functions_func.html"] > span').before("<i class='fa fa-list'></i> ");
|
||||
$('li > a[href="functions_vars.html"] > span').before("<i class='fa fa-list'></i> ");
|
||||
$('li > a[href="functions_enum.html"] > span').before("<i class='fa fa-list'></i> ");
|
||||
$('li > a[href="functions_eval.html"] > span').before("<i class='fa fa-list'></i> ");
|
||||
$('img[src="ftv2ns.png"]').replaceWith('<span class="label label-danger">N</span> ');
|
||||
$('img[src="ftv2cl.png"]').replaceWith('<span class="label label-danger">C</span> ');
|
||||
|
||||
$("ul.tablist").addClass("nav nav-pills nav-justified");
|
||||
$("ul.tablist").css("margin-top", "0.5em");
|
||||
$("ul.tablist").css("margin-bottom", "0.5em");
|
||||
$("li.current").addClass("active");
|
||||
$("iframe").attr("scrolling", "yes");
|
||||
|
||||
$("#nav-path > ul").addClass("breadcrumb");
|
||||
|
||||
$("table.params").addClass("table");
|
||||
$("div.ingroups").wrapInner("<small></small>");
|
||||
$("div.levels").css("margin", "0.5em");
|
||||
$("div.levels > span").addClass("btn btn-default btn-xs");
|
||||
$("div.levels > span").css("margin-right", "0.25em");
|
||||
|
||||
$("table.directory").addClass("table table-striped");
|
||||
$("div.summary > a").addClass("btn btn-default btn-xs");
|
||||
$("table.fieldtable").addClass("table");
|
||||
$(".fragment").addClass("well");
|
||||
$(".memitem").addClass("panel panel-default");
|
||||
$(".memproto").addClass("panel-heading");
|
||||
$(".memdoc").addClass("panel-body");
|
||||
$("span.mlabel").addClass("label label-info");
|
||||
|
||||
$("table.memberdecls").addClass("table");
|
||||
$("[class^=memitem]").addClass("active");
|
||||
|
||||
$("div.ah").addClass("btn btn-default");
|
||||
$("span.mlabels").addClass("pull-right");
|
||||
$("table.mlabels").css("width", "100%")
|
||||
$("td.mlabels-right").addClass("pull-right");
|
||||
|
||||
$("div.ttc").addClass("panel panel-primary");
|
||||
$("div.ttname").addClass("panel-heading");
|
||||
$("div.ttname a").css("color", 'white');
|
||||
$("div.ttdef,div.ttdoc,div.ttdeci").addClass("panel-body");
|
||||
|
||||
$('div.fragment.well div.line:first').css('margin-top', '15px');
|
||||
$('div.fragment.well div.line:last').css('margin-bottom', '15px');
|
||||
|
||||
$('table.doxtable').removeClass('doxtable').addClass('table table-striped table-bordered').each(function(){
|
||||
$(this).prepend('<thead></thead>');
|
||||
$(this).find('tbody > tr:first').prependTo($(this).find('thead'));
|
||||
|
||||
$(this).find('td > span.success').parent().addClass('success');
|
||||
$(this).find('td > span.warning').parent().addClass('warning');
|
||||
$(this).find('td > span.danger').parent().addClass('danger');
|
||||
});
|
||||
|
||||
|
||||
|
||||
if($('div.fragment.well div.ttc').length > 0)
|
||||
{
|
||||
$('div.fragment.well div.line:first').parent().removeClass('fragment well');
|
||||
}
|
||||
//merge left ad right element in the fuction table item
|
||||
/*
|
||||
$('table.memberdecls').find('.memItemRight').each(function(){
|
||||
$(this).contents().appendTo($(this).siblings('.memItemLeft'));
|
||||
$(this).siblings('.memItemLeft').attr('align', 'left');
|
||||
});
|
||||
*/
|
||||
|
||||
function getOriginalWidthOfImg(img_element) {
|
||||
var t = new Image();
|
||||
t.src = (img_element.getAttribute ? img_element.getAttribute("src") : false) || img_element.src;
|
||||
return t.width;
|
||||
}
|
||||
|
||||
$('div.dyncontent').find('img').each(function(){
|
||||
if(getOriginalWidthOfImg($(this)[0]) > $('#content>div.container').width())
|
||||
$(this).css('width', '100%');
|
||||
});
|
||||
|
||||
|
||||
/* responsive search box */
|
||||
|
||||
$('#MSearchBox').parent().remove();
|
||||
|
||||
var nav_container = $('<div class="row"></div>');
|
||||
$('#navrow1').parent().prepend(nav_container);
|
||||
|
||||
var left_nav = $('<div class="col-md-9"></div>');
|
||||
for (i = 0; i < 6; i++) {
|
||||
var navrow = $('#navrow' + i + ' > ul.tablist').detach();
|
||||
left_nav.append(navrow);
|
||||
$('#navrow' + i).remove();
|
||||
}
|
||||
var right_nav = $('<div class="col-md-3"></div>').append('\
|
||||
<div id="search-box" class="input-group">\
|
||||
<div class="input-group-btn">\
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">\
|
||||
<span class="glyphicon glyphicon-search"></span> <span class="caret"></span>\
|
||||
</button>\
|
||||
<ul class="dropdown-menu">\
|
||||
</ul>\
|
||||
</div>\
|
||||
<button id="search-close" type="button" class="close" aria-label="Close"><span aria-hidden="true">×</span></button>\
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">\
|
||||
</div>');
|
||||
$(nav_container).append(left_nav);
|
||||
$(nav_container).append(right_nav);
|
||||
|
||||
$('#MSearchSelectWindow .SelectionMark').remove();
|
||||
var search_selectors = $('#MSearchSelectWindow .SelectItem');
|
||||
for (var i = 0; i < search_selectors.length; i += 1) {
|
||||
var element_a = $('<a href="#"></a>').text($(search_selectors[i]).text());
|
||||
|
||||
element_a.click(function(){
|
||||
$('#search-box .dropdown-menu li').removeClass('active');
|
||||
$(this).parent().addClass('active');
|
||||
searchBox.OnSelectItem($('#search-box li a').index(this));
|
||||
searchBox.Search();
|
||||
return false;
|
||||
});
|
||||
|
||||
var element = $('<li></li>').append(element_a);
|
||||
$('#search-box .dropdown-menu').append(element);
|
||||
}
|
||||
$('#MSearchSelectWindow').remove();
|
||||
|
||||
$('#search-box .close').click(function (){
|
||||
searchBox.CloseResultsWindow();
|
||||
});
|
||||
|
||||
$('body').append('<div id="MSearchClose"></div>');
|
||||
$('body').append('<div id="MSearchBox"></div>');
|
||||
$('body').append('<div id="MSearchSelectWindow"></div>');
|
||||
|
||||
searchBox.searchLabel = '';
|
||||
searchBox.DOMSearchField = function() {
|
||||
return document.getElementById("search-field");
|
||||
}
|
||||
searchBox.DOMSearchClose = function(){
|
||||
return document.getElementById("search-close");
|
||||
}
|
||||
|
||||
|
||||
/* search results */
|
||||
var results_iframe = $('#MSearchResults').detach();
|
||||
$('#MSearchResultsWindow')
|
||||
.attr('id', 'search-results-window')
|
||||
.addClass('panel panel-default')
|
||||
.append(
|
||||
'<div class="panel-heading">\
|
||||
<h3 class="panel-title">Search Results</h3>\
|
||||
</div>\
|
||||
<div class="panel-body"></div>'
|
||||
);
|
||||
$('#search-results-window .panel-body').append(results_iframe);
|
||||
|
||||
searchBox.DOMPopupSearchResultsWindow = function() {
|
||||
return document.getElementById("search-results-window");
|
||||
}
|
||||
|
||||
function update_search_results_window() {
|
||||
$('#search-results-window').removeClass('panel-default panel-success panel-warning panel-danger')
|
||||
var status = $('#MSearchResults').contents().find('.SRStatus:visible');
|
||||
if (status.length > 0) {
|
||||
switch(status.attr('id')) {
|
||||
case 'Loading':
|
||||
case 'Searching':
|
||||
$('#search-results-window').addClass('panel-warning');
|
||||
break;
|
||||
case 'NoMatches':
|
||||
$('#search-results-window').addClass('panel-danger');
|
||||
break;
|
||||
default:
|
||||
$('#search-results-window').addClass('panel-default');
|
||||
}
|
||||
} else {
|
||||
$('#search-results-window').addClass('panel-success');
|
||||
}
|
||||
}
|
||||
$('#MSearchResults').load(function() {
|
||||
$('#MSearchResults').contents().find('link[href="search.css"]').attr('href','../doxygen.css');
|
||||
$('#MSearchResults').contents().find('head').append(
|
||||
'<link href="../customdoxygen.css" rel="stylesheet" type="text/css">');
|
||||
|
||||
update_search_results_window();
|
||||
|
||||
// detect status changes (only for search with external search backend)
|
||||
var observer = new MutationObserver(function(mutations) {
|
||||
update_search_results_window();
|
||||
});
|
||||
var config = {
|
||||
attributes: true
|
||||
};
|
||||
|
||||
var targets = $('#MSearchResults').contents().find('.SRStatus');
|
||||
for (i = 0; i < targets.length; i++) {
|
||||
observer.observe(targets[i], config);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/* enumerations */
|
||||
$('table.fieldtable').removeClass('fieldtable').addClass('table table-striped table-bordered').each(function(){
|
||||
$(this).prepend('<thead></thead>');
|
||||
$(this).find('tbody > tr:first').prependTo($(this).find('thead'));
|
||||
|
||||
$(this).find('td > span.success').parent().addClass('success');
|
||||
$(this).find('td > span.warning').parent().addClass('warning');
|
||||
$(this).find('td > span.danger').parent().addClass('danger');
|
||||
});
|
||||
|
||||
/* todo list */
|
||||
var todoelements = $('.contents > .textblock > dl.reflist > dt, .contents > .textblock > dl.reflist > dd');
|
||||
for (var i = 0; i < todoelements.length; i += 2) {
|
||||
$('.contents > .textblock').append(
|
||||
'<div class="panel panel-default active">'
|
||||
+ "<div class=\"panel-heading todoname\">" + $(todoelements[i]).html() + "</div>"
|
||||
+ "<div class=\"panel-body\">" + $(todoelements[i+1]).html() + "</div>"
|
||||
+ '</div>');
|
||||
}
|
||||
$('.contents > .textblock > dl').remove();
|
||||
|
||||
|
||||
$(".memitem").removeClass('memitem');
|
||||
$(".memproto").removeClass('memproto');
|
||||
$(".memdoc").removeClass('memdoc');
|
||||
$("span.mlabel").removeClass('mlabel');
|
||||
$("table.memberdecls").removeClass('memberdecls');
|
||||
$("[class^=memitem]").removeClass('memitem');
|
||||
$("span.mlabels").removeClass('mlabels');
|
||||
$("table.mlabels").removeClass('mlabels');
|
||||
$("td.mlabels-right").removeClass('mlabels-right');
|
||||
$(".navpath").removeClass('navpath');
|
||||
$("li.navelem").removeClass('navelem');
|
||||
$("a.el").removeClass('el');
|
||||
$("div.ah").removeClass('ah');
|
||||
$("div.header").removeClass("header");
|
||||
|
||||
$('.mdescLeft').each(function(){
|
||||
if($(this).html()==" ") {
|
||||
$(this).siblings('.mdescRight').attr('colspan', 2);
|
||||
$(this).remove();
|
||||
}
|
||||
});
|
||||
$('td.memItemLeft').each(function(){
|
||||
if($(this).siblings('.memItemRight').html()=="") {
|
||||
$(this).attr('colspan', 2);
|
||||
$(this).siblings('.memItemRight').remove();
|
||||
}
|
||||
});
|
||||
});
|
33
doxy_enet.py
@ -1,33 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
import os
|
||||
import doxy.module as module
|
||||
import doxy.debug as debug
|
||||
import doxy.tools as tools
|
||||
|
||||
def create(target, module_name):
|
||||
my_module = module.Module(__file__, module_name)
|
||||
my_module.set_version("version.txt")
|
||||
my_module.set_title("enet: Ewol network abstraction")
|
||||
my_module.set_website("http://atria-soft.github.io/" + module_name)
|
||||
my_module.set_website_sources("http://github.com/atria-soft/" + module_name)
|
||||
my_module.add_path([
|
||||
module_name,
|
||||
"doc"
|
||||
])
|
||||
my_module.add_depend([
|
||||
'etk',
|
||||
'ememory',
|
||||
#'algue'
|
||||
])
|
||||
my_module.add_exclude_symbols([
|
||||
'*operator<<*',
|
||||
])
|
||||
my_module.add_exclude_file([
|
||||
'debug.hpp',
|
||||
])
|
||||
my_module.add_file_patterns([
|
||||
'*.hpp',
|
||||
'*.md',
|
||||
])
|
||||
|
||||
return my_module
|
1508
doxygen.css
Normal file
BIN
doxygen.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
97
dynsections.js
Normal file
@ -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<level+1) {
|
||||
i.removeClass('iconfopen iconfclosed').addClass('iconfopen');
|
||||
a.html('▼');
|
||||
$(this).show();
|
||||
} else if (l==level+1) {
|
||||
i.removeClass('iconfclosed iconfopen').addClass('iconfclosed');
|
||||
a.html('►');
|
||||
$(this).show();
|
||||
} else {
|
||||
$(this).hide();
|
||||
}
|
||||
});
|
||||
updateStripes();
|
||||
}
|
||||
|
||||
function toggleFolder(id)
|
||||
{
|
||||
// the clicked row
|
||||
var currentRow = $('#row_'+id);
|
||||
|
||||
// all rows after the clicked row
|
||||
var rows = currentRow.nextAll("tr");
|
||||
|
||||
var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub
|
||||
|
||||
// only match elements AFTER this one (can't hide elements before)
|
||||
var childRows = rows.filter(function() { return this.id.match(re); });
|
||||
|
||||
// first row is visible we are HIDING
|
||||
if (childRows.filter(':first').is(':visible')===true) {
|
||||
// replace down arrow by right arrow for current row
|
||||
var currentRowSpans = currentRow.find("span");
|
||||
currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
|
||||
currentRowSpans.filter(".arrow").html('►');
|
||||
rows.filter("[id^=row_"+id+"]").hide(); // hide all children
|
||||
} else { // we are SHOWING
|
||||
// replace right arrow by down arrow for current row
|
||||
var currentRowSpans = currentRow.find("span");
|
||||
currentRowSpans.filter(".iconfclosed").removeClass("iconfclosed").addClass("iconfopen");
|
||||
currentRowSpans.filter(".arrow").html('▼');
|
||||
// replace down arrows by right arrows for child rows
|
||||
var childRowsSpans = childRows.find("span");
|
||||
childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
|
||||
childRowsSpans.filter(".arrow").html('►');
|
||||
childRows.show(); //show all children
|
||||
}
|
||||
updateStripes();
|
||||
}
|
||||
|
||||
|
||||
function toggleInherit(id)
|
||||
{
|
||||
var rows = $('tr.inherit.'+id);
|
||||
var img = $('tr.inherit_header.'+id+' img');
|
||||
var src = $(img).attr('src');
|
||||
if (rows.filter(':first').is(':visible')===true) {
|
||||
rows.css('display','none');
|
||||
$(img).attr('src',src.substring(0,src.length-8)+'closed.png');
|
||||
} else {
|
||||
rows.css('display','table-row'); // using show() causes jump in firefox
|
||||
$(img).attr('src',src.substring(0,src.length-10)+'open.png');
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <enet/debug.hpp>
|
||||
#include <enet/Ftp.hpp>
|
15
enet/Ftp.hpp
@ -1,15 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
namespace enet {
|
||||
class Ftp {
|
||||
public:
|
||||
Ftp() { };
|
||||
virtual ~Ftp() { };
|
||||
};
|
||||
}
|
||||
|
844
enet/Http.cpp
@ -1,844 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <enet/debug.hpp>
|
||||
#include <enet/Http.hpp>
|
||||
#include <etk/Map.hpp>
|
||||
#include <etk/Stream.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <enet/TcpClient.hpp>
|
||||
#include <enet/pourcentEncoding.hpp>
|
||||
extern "C" {
|
||||
#include <string.h>
|
||||
}
|
||||
|
||||
|
||||
static etk::String escapeChar(const etk::String& _value) {
|
||||
return _value;
|
||||
}
|
||||
static etk::String unEscapeChar(const etk::String& _value) {
|
||||
return _value;
|
||||
}
|
||||
static etk::String removeStartAndStopSpace(const etk::String& _value) {
|
||||
etk::String out;
|
||||
out.reserve(_value.size());
|
||||
bool findSpace = false;
|
||||
for (auto &it : _value) {
|
||||
if (it != ' ') {
|
||||
if ( findSpace == true
|
||||
&& out.size() != 0) {
|
||||
out += ' ';
|
||||
}
|
||||
out += it;
|
||||
findSpace = false;
|
||||
} else {
|
||||
findSpace = true;
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
static const etk::Map<enet::HTTPAnswerCode, etk::String>& getProtocolName() {
|
||||
static etk::Map<enet::HTTPAnswerCode, etk::String> protocolName;
|
||||
static bool isInit = false;
|
||||
if (isInit == true) {
|
||||
return protocolName;
|
||||
}
|
||||
isInit = true;
|
||||
protocolName.add(enet::HTTPAnswerCode::c100_continue, "Continue");
|
||||
protocolName.add(enet::HTTPAnswerCode::c101_switchingProtocols, "Switching Protocols");
|
||||
protocolName.add(enet::HTTPAnswerCode::c103_checkpoint, "Checkpoint");
|
||||
protocolName.add(enet::HTTPAnswerCode::c200_ok, "OK");
|
||||
protocolName.add(enet::HTTPAnswerCode::c201_created, "Created");
|
||||
protocolName.add(enet::HTTPAnswerCode::c202_accepted, "Accepted");
|
||||
protocolName.add(enet::HTTPAnswerCode::c203_nonAuthoritativeInformation, "Non-Authoritative Information");
|
||||
protocolName.add(enet::HTTPAnswerCode::c204_noContent, "No Content");
|
||||
protocolName.add(enet::HTTPAnswerCode::c205_resetContent, "Reset Content");
|
||||
protocolName.add(enet::HTTPAnswerCode::c206_partialContent, "Partial Content");
|
||||
protocolName.add(enet::HTTPAnswerCode::c300_multipleChoices, "Multiple Choices");
|
||||
protocolName.add(enet::HTTPAnswerCode::c301_movedPermanently, "Moved Permanently");
|
||||
protocolName.add(enet::HTTPAnswerCode::c302_found, "Found");
|
||||
protocolName.add(enet::HTTPAnswerCode::c303_seeOther, "See Other");
|
||||
protocolName.add(enet::HTTPAnswerCode::c304_notModified, "Not Modified");
|
||||
protocolName.add(enet::HTTPAnswerCode::c306_switchProxy, "Switch Proxy");
|
||||
protocolName.add(enet::HTTPAnswerCode::c307_temporaryRedirect, "Temporary Redirect");
|
||||
protocolName.add(enet::HTTPAnswerCode::c308_resumeIncomplete, "Resume Incomplete");
|
||||
protocolName.add(enet::HTTPAnswerCode::c400_badRequest, "Bad Request");
|
||||
protocolName.add(enet::HTTPAnswerCode::c401_unauthorized, "Unauthorized");
|
||||
protocolName.add(enet::HTTPAnswerCode::c402_paymentRequired, "Payment Required");
|
||||
protocolName.add(enet::HTTPAnswerCode::c403_forbidden, "Forbidden");
|
||||
protocolName.add(enet::HTTPAnswerCode::c404_notFound, "Not Found");
|
||||
protocolName.add(enet::HTTPAnswerCode::c405_methodNotAllowed, "Method Not Allowed");
|
||||
protocolName.add(enet::HTTPAnswerCode::c406_notAcceptable, "Not Acceptable");
|
||||
protocolName.add(enet::HTTPAnswerCode::c407_proxyAuthenticationRequired, "Proxy Authentication Required");
|
||||
protocolName.add(enet::HTTPAnswerCode::c408_requestTimeout, "Request Timeout");
|
||||
protocolName.add(enet::HTTPAnswerCode::c409_conflict, "Conflict");
|
||||
protocolName.add(enet::HTTPAnswerCode::c410_gone, "Gone");
|
||||
protocolName.add(enet::HTTPAnswerCode::c411_lengthRequired, "Length Required");
|
||||
protocolName.add(enet::HTTPAnswerCode::c412_preconditionFailed, "Precondition Failed");
|
||||
protocolName.add(enet::HTTPAnswerCode::c413_requestEntityTooLarge, "Request Entity Too Large");
|
||||
protocolName.add(enet::HTTPAnswerCode::c414_requestURITooLong, "Request-URI Too Long");
|
||||
protocolName.add(enet::HTTPAnswerCode::c415_unsupportedMediaType, "Unsupported Media Type");
|
||||
protocolName.add(enet::HTTPAnswerCode::c416_requestedRangeNotSatisfiable, "Requested Range Not Satisfiable");
|
||||
protocolName.add(enet::HTTPAnswerCode::c417_expectationFailed, "Expectation Failed");
|
||||
protocolName.add(enet::HTTPAnswerCode::c500_internalServerError, "Internal Server Error");
|
||||
protocolName.add(enet::HTTPAnswerCode::c501_notImplemented, "Not Implemented");
|
||||
protocolName.add(enet::HTTPAnswerCode::c502_badGateway, "Bad Gateway");
|
||||
protocolName.add(enet::HTTPAnswerCode::c503_serviceUnavailable, "Service Unavailable");
|
||||
protocolName.add(enet::HTTPAnswerCode::c504_gatewayTimeout, "Gateway Timeout");
|
||||
protocolName.add(enet::HTTPAnswerCode::c505_httpVersionNotSupported, "HTTP Version Not Supported");
|
||||
protocolName.add(enet::HTTPAnswerCode::c511_networkAuthenticationRequired, "Network Authentication Required");
|
||||
return protocolName;
|
||||
};
|
||||
|
||||
|
||||
|
||||
static etk::Map<int32_t, etk::String> getErrorList() {
|
||||
static etk::Map<int32_t, etk::String> g_list;
|
||||
return g_list;
|
||||
}
|
||||
|
||||
enet::Http::Http(enet::Tcp _connection, bool _isServer) :
|
||||
m_isServer(_isServer),
|
||||
m_connection(etk::move(_connection)),
|
||||
m_headerIsSend(false),
|
||||
m_thread(null),
|
||||
m_threadRunning(false) {
|
||||
//setSendHeaderProperties("User-Agent", "e-net (ewol network interface)");
|
||||
/*
|
||||
if (m_keepAlive == true) {
|
||||
setSendHeaderProperties("Connection", "Keep-Alive");
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
enet::Http::~Http() {
|
||||
stop();
|
||||
}
|
||||
|
||||
void enet::Http::threadCallback() {
|
||||
ENET_DEBUG("Start of thread HTTP");
|
||||
ethread::setName("TcpString-input");
|
||||
// get datas:
|
||||
while ( m_threadRunning == true
|
||||
&& m_connection.getConnectionStatus() == enet::Tcp::status::link) {
|
||||
// READ section data:
|
||||
if (m_headerIsSend == false) {
|
||||
getHeader();
|
||||
if (m_headerIsSend == false) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (m_observerRaw != null) {
|
||||
m_observerRaw(m_connection);
|
||||
} else {
|
||||
m_temporaryBuffer.resize(67000);
|
||||
int32_t len = m_connection.read(&m_temporaryBuffer[0], m_temporaryBuffer.size());
|
||||
if (len > 0) {
|
||||
ENET_INFO("Call client with datas ...");
|
||||
if (m_observer != null) {
|
||||
m_observer(m_temporaryBuffer);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
m_threadRunning = false;
|
||||
ENET_DEBUG("End of thread HTTP");
|
||||
}
|
||||
|
||||
void enet::Http::redirectTo(const etk::String& _addressRedirect, bool _inThreadStop) {
|
||||
if (m_isServer == true) {
|
||||
ENET_ERROR("Request a redirect in Server mode ==> not authorised");
|
||||
return;
|
||||
}
|
||||
stop(_inThreadStop);
|
||||
m_headerIsSend = false;
|
||||
m_connection = etk::move(connectTcpClient(_addressRedirect, 5, echrono::seconds(1)));
|
||||
}
|
||||
|
||||
void enet::Http::start() {
|
||||
ENET_DEBUG("connect [START]");
|
||||
m_threadRunning = true;
|
||||
m_thread = ETK_NEW(ethread::Thread, [&](){ threadCallback();});
|
||||
if (m_thread == null) {
|
||||
m_threadRunning = false;
|
||||
ENET_ERROR("creating callback thread!");
|
||||
return;
|
||||
}
|
||||
while ( m_threadRunning == true
|
||||
&& m_connection.getConnectionStatus() != enet::Tcp::status::link) {
|
||||
ethread::sleepMilliSeconds((50));
|
||||
}
|
||||
//ethread::setPriority(*m_receiveThread, -6);
|
||||
ENET_DEBUG("connect [STOP]");
|
||||
}
|
||||
|
||||
void enet::Http::stop(bool _inThreadStop){
|
||||
ENET_DEBUG("disconnect [START]");
|
||||
m_threadRunning = false;
|
||||
/*
|
||||
if (m_connection.getConnectionStatus() == enet::Tcp::status::link) {
|
||||
uint32_t size = 0xFFFFFFFF;
|
||||
m_connection.write(&size, 4);
|
||||
}
|
||||
*/
|
||||
if (m_connection.getConnectionStatus() != enet::Tcp::status::unlink) {
|
||||
m_connection.unlink();
|
||||
}
|
||||
if (_inThreadStop == false) {
|
||||
if (m_thread != null) {
|
||||
ENET_DEBUG("wait join Thread ...");
|
||||
m_thread->join();
|
||||
ENET_DEBUG("wait join Thread (done)");
|
||||
ETK_DELETE(ethread::Thread, m_thread);
|
||||
m_thread = null;
|
||||
}
|
||||
}
|
||||
ENET_DEBUG("disconnect [STOP]");
|
||||
}
|
||||
/*
|
||||
void enet::Http::writeAnswerHeader(enum enet::HTTPAnswerCode _value) {
|
||||
etk::String out;
|
||||
out = "HTTP/1.1 ";
|
||||
out += etk::toString(int32_t(_value));
|
||||
auto it = getProtocolName().find(_value);
|
||||
if (it == getProtocolName().end() ) {
|
||||
out += " ???";
|
||||
} else {
|
||||
out += " " + it->second;
|
||||
}
|
||||
out += "\r\n\r\n";
|
||||
ENET_WARNING("Write header :" << out);
|
||||
write(out, false);
|
||||
}
|
||||
*/
|
||||
namespace etk {
|
||||
template <>
|
||||
bool from_string<enum enet::HTTPAnswerCode>(enum enet::HTTPAnswerCode& _variableRet, const etk::String& _value) {
|
||||
_variableRet = enet::HTTPAnswerCode::c000_unknow;
|
||||
for (auto &it : getProtocolName()) {
|
||||
if (etk::toString(int32_t(it.first)) == _value) {
|
||||
_variableRet = it.first;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
template <>
|
||||
etk::String toString<enum enet::HTTPAnswerCode>(const enum enet::HTTPAnswerCode& _value) {
|
||||
return etk::toString(int32_t(_value));
|
||||
}
|
||||
template <>
|
||||
bool from_string<enum enet::HTTPReqType>(enum enet::HTTPReqType& _variableRet, const etk::String& _value) {
|
||||
_variableRet = enet::HTTPReqType::HTTP_GET;
|
||||
if (_value == "GET") {
|
||||
_variableRet = enet::HTTPReqType::HTTP_GET;
|
||||
return true;
|
||||
} else if (_value == "HEAD") {
|
||||
_variableRet = enet::HTTPReqType::HTTP_HEAD;
|
||||
return true;
|
||||
} else if (_value == "POST") {
|
||||
_variableRet = enet::HTTPReqType::HTTP_POST;
|
||||
return true;
|
||||
} else if (_value == "PUT") {
|
||||
_variableRet = enet::HTTPReqType::HTTP_PUT;
|
||||
return true;
|
||||
} else if (_value == "DELETE") {
|
||||
_variableRet = enet::HTTPReqType::HTTP_DELETE;
|
||||
return true;
|
||||
} else if (_value == "OPTIONS") {
|
||||
_variableRet = enet::HTTPReqType::HTTP_OPTIONS;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
template <>
|
||||
etk::String toString<enum enet::HTTPReqType>(const enum enet::HTTPReqType& _value) {
|
||||
switch (_value) {
|
||||
case enet::HTTPReqType::HTTP_GET: return "GET";
|
||||
case enet::HTTPReqType::HTTP_HEAD: return "HEAD";
|
||||
case enet::HTTPReqType::HTTP_POST: return "POST";
|
||||
case enet::HTTPReqType::HTTP_PUT: return "PUT";
|
||||
case enet::HTTPReqType::HTTP_DELETE: return "DELETE";
|
||||
case enet::HTTPReqType::HTTP_OPTIONS: return "OPTIONS";
|
||||
}
|
||||
return "UNKNOW";
|
||||
}
|
||||
template <>
|
||||
bool from_string<enum enet::HTTPProtocol>(enum enet::HTTPProtocol& _variableRet, const etk::String& _value) {
|
||||
_variableRet = enet::HTTPProtocol::http_0_1;
|
||||
if (_value == "HTTP/0.1") { _variableRet = enet::HTTPProtocol::http_0_1; return true; }
|
||||
if (_value == "HTTP/0.2") { _variableRet = enet::HTTPProtocol::http_0_2; return true; }
|
||||
if (_value == "HTTP/0.3") { _variableRet = enet::HTTPProtocol::http_0_3; return true; }
|
||||
if (_value == "HTTP/0.4") { _variableRet = enet::HTTPProtocol::http_0_4; return true; }
|
||||
if (_value == "HTTP/0.5") { _variableRet = enet::HTTPProtocol::http_0_5; return true; }
|
||||
if (_value == "HTTP/0.6") { _variableRet = enet::HTTPProtocol::http_0_6; return true; }
|
||||
if (_value == "HTTP/0.7") { _variableRet = enet::HTTPProtocol::http_0_7; return true; }
|
||||
if (_value == "HTTP/0.8") { _variableRet = enet::HTTPProtocol::http_0_8; return true; }
|
||||
if (_value == "HTTP/0.9") { _variableRet = enet::HTTPProtocol::http_0_9; return true; }
|
||||
if (_value == "HTTP/0.10") { _variableRet = enet::HTTPProtocol::http_0_10; return true; }
|
||||
if (_value == "HTTP/1.0") { _variableRet = enet::HTTPProtocol::http_1_0; return true; }
|
||||
if (_value == "HTTP/1.1") { _variableRet = enet::HTTPProtocol::http_1_1; return true; }
|
||||
if (_value == "HTTP/1.2") { _variableRet = enet::HTTPProtocol::http_1_2; return true; }
|
||||
if (_value == "HTTP/1.3") { _variableRet = enet::HTTPProtocol::http_1_3; return true; }
|
||||
if (_value == "HTTP/1.4") { _variableRet = enet::HTTPProtocol::http_1_4; return true; }
|
||||
if (_value == "HTTP/1.5") { _variableRet = enet::HTTPProtocol::http_1_5; return true; }
|
||||
if (_value == "HTTP/1.6") { _variableRet = enet::HTTPProtocol::http_1_6; return true; }
|
||||
if (_value == "HTTP/1.7") { _variableRet = enet::HTTPProtocol::http_1_7; return true; }
|
||||
if (_value == "HTTP/1.8") { _variableRet = enet::HTTPProtocol::http_1_8; return true; }
|
||||
if (_value == "HTTP/1.9") { _variableRet = enet::HTTPProtocol::http_1_9; return true; }
|
||||
if (_value == "HTTP/1.10") { _variableRet = enet::HTTPProtocol::http_1_10; return true; }
|
||||
if (_value == "HTTP/2.0") { _variableRet = enet::HTTPProtocol::http_2_0; return true; }
|
||||
if (_value == "HTTP/2.1") { _variableRet = enet::HTTPProtocol::http_2_1; return true; }
|
||||
if (_value == "HTTP/2.2") { _variableRet = enet::HTTPProtocol::http_2_2; return true; }
|
||||
if (_value == "HTTP/2.3") { _variableRet = enet::HTTPProtocol::http_2_3; return true; }
|
||||
if (_value == "HTTP/2.4") { _variableRet = enet::HTTPProtocol::http_2_4; return true; }
|
||||
if (_value == "HTTP/2.5") { _variableRet = enet::HTTPProtocol::http_2_5; return true; }
|
||||
if (_value == "HTTP/2.6") { _variableRet = enet::HTTPProtocol::http_2_6; return true; }
|
||||
if (_value == "HTTP/2.7") { _variableRet = enet::HTTPProtocol::http_2_7; return true; }
|
||||
if (_value == "HTTP/2.8") { _variableRet = enet::HTTPProtocol::http_2_8; return true; }
|
||||
if (_value == "HTTP/2.9") { _variableRet = enet::HTTPProtocol::http_2_9; return true; }
|
||||
if (_value == "HTTP/2.10") { _variableRet = enet::HTTPProtocol::http_2_10; return true; }
|
||||
if (_value == "HTTP/3.0") { _variableRet = enet::HTTPProtocol::http_3_0; return true; }
|
||||
if (_value == "HTTP/3.1") { _variableRet = enet::HTTPProtocol::http_3_1; return true; }
|
||||
if (_value == "HTTP/3.2") { _variableRet = enet::HTTPProtocol::http_3_2; return true; }
|
||||
if (_value == "HTTP/3.3") { _variableRet = enet::HTTPProtocol::http_3_3; return true; }
|
||||
if (_value == "HTTP/3.4") { _variableRet = enet::HTTPProtocol::http_3_4; return true; }
|
||||
if (_value == "HTTP/3.5") { _variableRet = enet::HTTPProtocol::http_3_5; return true; }
|
||||
if (_value == "HTTP/3.6") { _variableRet = enet::HTTPProtocol::http_3_6; return true; }
|
||||
if (_value == "HTTP/3.7") { _variableRet = enet::HTTPProtocol::http_3_7; return true; }
|
||||
if (_value == "HTTP/3.8") { _variableRet = enet::HTTPProtocol::http_3_8; return true; }
|
||||
if (_value == "HTTP/3.9") { _variableRet = enet::HTTPProtocol::http_3_9; return true; }
|
||||
if (_value == "HTTP/3.10") { _variableRet = enet::HTTPProtocol::http_3_10; return true; }
|
||||
return false;
|
||||
}
|
||||
template <>
|
||||
etk::String toString<enum enet::HTTPProtocol>(const enum enet::HTTPProtocol& _value) {
|
||||
switch (_value) {
|
||||
case enet::HTTPProtocol::http_0_1: return "HTTP/0.1";
|
||||
case enet::HTTPProtocol::http_0_2: return "HTTP/0.2";
|
||||
case enet::HTTPProtocol::http_0_3: return "HTTP/0.3";
|
||||
case enet::HTTPProtocol::http_0_4: return "HTTP/0.4";
|
||||
case enet::HTTPProtocol::http_0_5: return "HTTP/0.5";
|
||||
case enet::HTTPProtocol::http_0_6: return "HTTP/0.6";
|
||||
case enet::HTTPProtocol::http_0_7: return "HTTP/0.7";
|
||||
case enet::HTTPProtocol::http_0_8: return "HTTP/0.8";
|
||||
case enet::HTTPProtocol::http_0_9: return "HTTP/0.9";
|
||||
case enet::HTTPProtocol::http_0_10: return "HTTP/0.10";
|
||||
case enet::HTTPProtocol::http_1_0: return "HTTP/1.0";
|
||||
case enet::HTTPProtocol::http_1_1: return "HTTP/1.1";
|
||||
case enet::HTTPProtocol::http_1_2: return "HTTP/1.2";
|
||||
case enet::HTTPProtocol::http_1_3: return "HTTP/1.3";
|
||||
case enet::HTTPProtocol::http_1_4: return "HTTP/1.4";
|
||||
case enet::HTTPProtocol::http_1_5: return "HTTP/1.5";
|
||||
case enet::HTTPProtocol::http_1_6: return "HTTP/1.6";
|
||||
case enet::HTTPProtocol::http_1_7: return "HTTP/1.7";
|
||||
case enet::HTTPProtocol::http_1_8: return "HTTP/1.8";
|
||||
case enet::HTTPProtocol::http_1_9: return "HTTP/1.9";
|
||||
case enet::HTTPProtocol::http_1_10: return "HTTP/1.10";
|
||||
case enet::HTTPProtocol::http_2_0: return "HTTP/2.0";
|
||||
case enet::HTTPProtocol::http_2_1: return "HTTP/2.1";
|
||||
case enet::HTTPProtocol::http_2_2: return "HTTP/2.2";
|
||||
case enet::HTTPProtocol::http_2_3: return "HTTP/2.3";
|
||||
case enet::HTTPProtocol::http_2_4: return "HTTP/2.4";
|
||||
case enet::HTTPProtocol::http_2_5: return "HTTP/2.5";
|
||||
case enet::HTTPProtocol::http_2_6: return "HTTP/2.6";
|
||||
case enet::HTTPProtocol::http_2_7: return "HTTP/2.7";
|
||||
case enet::HTTPProtocol::http_2_8: return "HTTP/2.8";
|
||||
case enet::HTTPProtocol::http_2_9: return "HTTP/2.9";
|
||||
case enet::HTTPProtocol::http_2_10: return "HTTP/2.10";
|
||||
case enet::HTTPProtocol::http_3_0: return "HTTP/3.0";
|
||||
case enet::HTTPProtocol::http_3_1: return "HTTP/3.1";
|
||||
case enet::HTTPProtocol::http_3_2: return "HTTP/3.2";
|
||||
case enet::HTTPProtocol::http_3_3: return "HTTP/3.3";
|
||||
case enet::HTTPProtocol::http_3_4: return "HTTP/3.4";
|
||||
case enet::HTTPProtocol::http_3_5: return "HTTP/3.5";
|
||||
case enet::HTTPProtocol::http_3_6: return "HTTP/3.6";
|
||||
case enet::HTTPProtocol::http_3_7: return "HTTP/3.7";
|
||||
case enet::HTTPProtocol::http_3_8: return "HTTP/3.8";
|
||||
case enet::HTTPProtocol::http_3_9: return "HTTP/3.9";
|
||||
case enet::HTTPProtocol::http_3_10: return "HTTP/3.10";
|
||||
}
|
||||
return "HTTP/0.1";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void enet::Http::setRequestHeader(const enet::HttpRequest& _req) {
|
||||
m_requestHeader = _req;
|
||||
if (m_isServer == true) {
|
||||
if (m_requestHeader.getKey("Server") == "") {
|
||||
m_requestHeader.setKey("Server", "e-net (ewol network interface)");
|
||||
}
|
||||
} else {
|
||||
if (m_requestHeader.getKey("User-Agent") == "") {
|
||||
m_requestHeader.setKey("User-Agent", "e-net (ewol network interface)");
|
||||
}
|
||||
}
|
||||
etk::String value = m_requestHeader.generate();
|
||||
write(value, false);
|
||||
}
|
||||
|
||||
void enet::Http::setAnswerHeader(const enet::HttpAnswer& _req) {
|
||||
m_answerHeader = _req;
|
||||
if (m_isServer == true) {
|
||||
if (m_requestHeader.getKey("Server") == "") {
|
||||
m_requestHeader.setKey("Server", "e-net (ewol network interface)");
|
||||
}
|
||||
} else {
|
||||
if (m_requestHeader.getKey("User-Agent") == "") {
|
||||
m_requestHeader.setKey("User-Agent", "e-net (ewol network interface)");
|
||||
}
|
||||
}
|
||||
etk::String value = m_answerHeader.generate();
|
||||
write(value, false);
|
||||
}
|
||||
|
||||
void enet::Http::getHeader() {
|
||||
ENET_VERBOSE("Read HTTP Header [START]");
|
||||
bool headerEnded = false;
|
||||
etk::String header;
|
||||
while (m_connection.getConnectionStatus() == enet::Tcp::status::link) {
|
||||
char type = '?';
|
||||
int32_t len = m_connection.read(&type, 1);
|
||||
if (len == 0) {
|
||||
ethread::sleepMilliSeconds(1);
|
||||
continue;
|
||||
}
|
||||
header += type;
|
||||
if ( header.size() > 4
|
||||
&& header[header.size()-1] == '\n'
|
||||
&& header[header.size()-2] == '\r'
|
||||
&& header[header.size()-3] == '\n'
|
||||
&& header[header.size()-4] == '\r') {
|
||||
// Normal end case ...
|
||||
break;
|
||||
} else if ( header.size() > 2
|
||||
&& header[header.size()-1] == '\n'
|
||||
&& header[header.size()-2] == '\n') {
|
||||
// linux end case
|
||||
break;
|
||||
} else if ( header.size() > 2
|
||||
&& header[header.size()-1] == '\r'
|
||||
&& header[header.size()-2] == '\r') {
|
||||
// Mac end case
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (m_connection.getConnectionStatus() != enet::Tcp::status::link) {
|
||||
ENET_ERROR("Read HTTP Header [STOP] : '" << header << "' ==> status move in unlink ...");
|
||||
return;
|
||||
}
|
||||
ENET_VERBOSE("Read HTTP Header [STOP] : '" << header << "'");
|
||||
m_headerIsSend = true;
|
||||
// parse header :
|
||||
etk::Vector<etk::String> list = etk::split(header, '\n');
|
||||
for (auto &it : list) {
|
||||
if ( it.size()>0
|
||||
&& it[it.size()-1] == '\r') {
|
||||
it.resize(it.size()-1);
|
||||
}
|
||||
}
|
||||
//parse first element:
|
||||
etk::Vector<etk::String> listLineOne = etk::split(list[0], ' ');
|
||||
if (listLineOne.size() < 2) {
|
||||
ENET_ERROR("can not parse answear : " << listLineOne);
|
||||
// answer bad request and close connection ...
|
||||
|
||||
return;
|
||||
}
|
||||
if ( listLineOne.size() >= 3
|
||||
&& ( listLineOne[0] == "GET"
|
||||
|| listLineOne[0] == "POST"
|
||||
|| listLineOne[0] == "HEAD"
|
||||
|| listLineOne[0] == "DELETE"
|
||||
|| listLineOne[0] == "PUT"
|
||||
|| listLineOne[0] == "OPTIONS" ) ) {
|
||||
// HTTP CALL
|
||||
if (m_isServer == false) {
|
||||
// can not have call in client mode
|
||||
ENET_ERROR("can not parse call in client mode ..." << listLineOne);
|
||||
m_answerHeader.setErrorCode(enet::HTTPAnswerCode::c400_badRequest);
|
||||
m_answerHeader.setHelp("Call a client with a request from server ...");
|
||||
setAnswerHeader(m_answerHeader);
|
||||
stop(true);
|
||||
return;
|
||||
}
|
||||
// get type call:
|
||||
enum enet::HTTPReqType valueType;
|
||||
etk::from_string(valueType, listLineOne[0]);
|
||||
m_requestHeader.setType(valueType);
|
||||
// get URI:
|
||||
etk::String basicUri = listLineOne[1];
|
||||
size_t pos = basicUri.find('?');
|
||||
if (pos == etk::String::npos) {
|
||||
m_requestHeader.setUri(listLineOne[1]);
|
||||
} else {
|
||||
m_requestHeader.setUri(basicUri.extract(0, pos));
|
||||
m_requestHeader.setQuery(pourcentUriDecode(basicUri.extract(pos+1)));
|
||||
}
|
||||
// Get http version:
|
||||
enum enet::HTTPProtocol valueProtocol;
|
||||
etk::from_string(valueProtocol, listLineOne[2]);
|
||||
m_requestHeader.setProtocol(valueProtocol);
|
||||
} else if ( listLineOne.size() >= 3
|
||||
&& etk::start_with(listLineOne[0],"HTTP/") == true) {
|
||||
// HTTP answer
|
||||
if (m_isServer == true) {
|
||||
// can not have anser ==> need to be a get ot something like this ...
|
||||
ENET_ERROR("can not parse answer in server mode ..." << listLineOne);
|
||||
m_answerHeader.setErrorCode(enet::HTTPAnswerCode::c400_badRequest);
|
||||
m_answerHeader.setHelp("Call a client with a request from server ...");
|
||||
setAnswerHeader(m_answerHeader);
|
||||
stop(true);
|
||||
return;
|
||||
}
|
||||
// Get http version:
|
||||
enum enet::HTTPProtocol valueProtocol;
|
||||
etk::from_string(valueProtocol, listLineOne[0]);
|
||||
m_answerHeader.setProtocol(valueProtocol);
|
||||
|
||||
enum HTTPAnswerCode valueErrorCode;
|
||||
etk::from_string(valueErrorCode, listLineOne[1]);
|
||||
m_answerHeader.setErrorCode(valueErrorCode);
|
||||
|
||||
// get comment:
|
||||
etk::String comment;
|
||||
for (size_t iii=2; iii<listLineOne.size(); ++iii) {
|
||||
if (comment.size() != 0) {
|
||||
comment += " ";
|
||||
}
|
||||
comment += listLineOne[iii];
|
||||
}
|
||||
m_answerHeader.setHelp(comment);
|
||||
} else {
|
||||
// can not have anser ==> need to be a get ot something like this ...
|
||||
ENET_ERROR("Un understand message ..." << listLineOne);
|
||||
m_answerHeader.setErrorCode(enet::HTTPAnswerCode::c400_badRequest);
|
||||
m_answerHeader.setHelp("Un understand message ...");
|
||||
setAnswerHeader(m_answerHeader);
|
||||
stop(true);
|
||||
return;
|
||||
}
|
||||
for (size_t iii=1; iii<list.size(); ++iii) {
|
||||
size_t found = list[iii].find(":");
|
||||
if (found == etk::String::npos) {
|
||||
// nothing
|
||||
continue;
|
||||
}
|
||||
etk::String key = unEscapeChar(etk::String(list[iii], 0, found));
|
||||
key = removeStartAndStopSpace(key);
|
||||
etk::String value = unEscapeChar(etk::String(list[iii], found+2));
|
||||
value = removeStartAndStopSpace(value);
|
||||
ENET_VERBOSE("header : key='" << key << "' value='" << value << "'");
|
||||
if (m_isServer == false) {
|
||||
m_answerHeader.setKey(key,value);
|
||||
} else {
|
||||
m_requestHeader.setKey(key,value);
|
||||
}
|
||||
if ( key == "Connection"
|
||||
&& value == "close") {
|
||||
ENET_DEBUG("connection closed by remote :");
|
||||
m_connection.unlink();
|
||||
}
|
||||
}
|
||||
m_headerIsSend = true;
|
||||
if (m_isServer == false) {
|
||||
if (m_observerAnswer != null) {
|
||||
m_observerAnswer(m_answerHeader);
|
||||
}
|
||||
} else {
|
||||
if (m_observerRequest != null) {
|
||||
m_observerRequest(m_requestHeader);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
bool enet::Http::get(const etk::String& _address) {
|
||||
m_header.m_map.clear();
|
||||
etk::String req = "GET http://" + m_connection.getName();
|
||||
if (_address != "") {
|
||||
req += "/";
|
||||
req += _address;
|
||||
}
|
||||
req += " HTTP/1.1\r\n";
|
||||
setSendHeaderProperties("Content-Length", "0");
|
||||
// add header properties :
|
||||
for (auto &it : m_header.m_map) {
|
||||
req += escapeChar(it.first) + ": " + escapeChar(it.second) + "\r\n";
|
||||
}
|
||||
// end of header
|
||||
req += "\r\n";
|
||||
// no body:
|
||||
|
||||
int32_t len = m_connection.write(req, false);
|
||||
ENET_VERBOSE("read write=" << len << " data: " << req);
|
||||
if (len != req.size()) {
|
||||
ENET_ERROR("An error occured when sending data " << len << "!=" << req.size());
|
||||
return false;
|
||||
}
|
||||
//return receiveData();
|
||||
return false;
|
||||
}
|
||||
|
||||
bool enet::Http::post(const etk::String& _address, const etk::Map<etk::String, etk::String>& _values) {
|
||||
m_header.m_map.clear();
|
||||
// First create body :
|
||||
etk::String body;
|
||||
for (auto &it : _values) {
|
||||
if (body.size() > 0) {
|
||||
body += "&";
|
||||
}
|
||||
body += escapeChar(it.first) + "=" + escapeChar(it.second);
|
||||
}
|
||||
return post(_address, "application/x-www-form-urlencoded", body);
|
||||
}
|
||||
|
||||
bool enet::Http::post(const etk::String& _address, const etk::String& _contentType, const etk::String& _data) {
|
||||
m_header.m_map.clear();
|
||||
etk::String req = "POST http://" + m_connection.getName();
|
||||
if (_address != "") {
|
||||
req += "/";
|
||||
req += _address;
|
||||
}
|
||||
req += " HTTP/1.0\n";
|
||||
setSendHeaderProperties("Content-Type", _contentType);
|
||||
setSendHeaderProperties("Content-Length", etk::toString(_data.size()));
|
||||
// add header properties :
|
||||
for (auto &it : m_header.m_map) {
|
||||
req += escapeChar(it.first) + ": " + escapeChar(it.second) + "\r\n";
|
||||
}
|
||||
// end of header
|
||||
req += "\n";
|
||||
req += _data;
|
||||
|
||||
int32_t len = m_connection.write(req, false);
|
||||
ENET_VERBOSE("read write=" << len << " data: " << req);
|
||||
if (len != req.size()) {
|
||||
ENET_ERROR("An error occured when sending data " << len << "!=" << req.size());
|
||||
return false;
|
||||
}
|
||||
//return receiveData();
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
int32_t enet::Http::write(const void* _data, int32_t _len) {
|
||||
return m_connection.write(_data, _len);
|
||||
}
|
||||
|
||||
|
||||
void enet::HttpHeader::setKey(const etk::String& _key, const etk::String& _value) {
|
||||
auto it = m_map.find(_key);
|
||||
if (it == m_map.end()) {
|
||||
m_map.add(_key, _value);
|
||||
} else {
|
||||
it->second = _value;
|
||||
}
|
||||
}
|
||||
|
||||
void enet::HttpHeader::rmKey(const etk::String& _key) {
|
||||
auto it = m_map.find(_key);
|
||||
if (it != m_map.end()) {
|
||||
m_map.erase(it);
|
||||
}
|
||||
}
|
||||
|
||||
etk::String enet::HttpHeader::getKey(const etk::String& _key) const {
|
||||
auto it = m_map.find(_key);
|
||||
if (it != m_map.end()) {
|
||||
return it->second;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
bool enet::HttpHeader::existKey(const etk::String& _key) const {
|
||||
auto it = m_map.find(_key);
|
||||
if (it != m_map.end()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
etk::String enet::HttpHeader::generateKeys() const {
|
||||
etk::String out;
|
||||
for (auto &it : m_map) {
|
||||
if ( it.first != ""
|
||||
&& it.second != "") {
|
||||
out += escapeChar(it.first) + ": " + escapeChar(it.second) + "\r\n";
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
void enet::HttpHeader::setQuery(const etk::Map<etk::String, etk::String>& _value) {
|
||||
m_query = _value;
|
||||
}
|
||||
void enet::HttpHeader::setQueryKey(const etk::String& _key, const etk::String& _value) {
|
||||
auto it = m_query.find(_key);
|
||||
if (it == m_query.end()) {
|
||||
m_query.add(_key, _value);
|
||||
} else {
|
||||
it->second = _value;
|
||||
}
|
||||
}
|
||||
|
||||
void enet::HttpHeader::rmQueryKey(const etk::String& _key) {
|
||||
auto it = m_query.find(_key);
|
||||
if (it != m_query.end()) {
|
||||
m_query.erase(it);
|
||||
}
|
||||
}
|
||||
|
||||
etk::String enet::HttpHeader::getQueryKey(const etk::String& _key) const {
|
||||
auto it = m_query.find(_key);
|
||||
if (it != m_query.end()) {
|
||||
return it->second;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
bool enet::HttpHeader::existQueryKey(const etk::String& _key) const {
|
||||
auto it = m_query.find(_key);
|
||||
if (it != m_query.end()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
etk::String enet::HttpHeader::generateQueryKeys() const {
|
||||
return enet::pourcentUriEncode(m_query);
|
||||
}
|
||||
|
||||
enet::HttpHeader::HttpHeader():
|
||||
m_protocol(enet::HTTPProtocol::http_1_0) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
// -----------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
enet::HttpAnswer::HttpAnswer(enum HTTPAnswerCode _code, const etk::String& _help):
|
||||
m_what(_code),
|
||||
m_helpMessage(_help) {
|
||||
|
||||
}
|
||||
|
||||
void enet::HttpAnswer::display() const {
|
||||
ENET_PRINT("display header 'Answer' ");
|
||||
ENET_PRINT(" protocol=" << m_protocol);
|
||||
ENET_PRINT(" Code=" << int32_t(m_what));
|
||||
ENET_PRINT(" message=" << m_helpMessage);
|
||||
ENET_PRINT(" Options:");
|
||||
for (auto &it : m_map) {
|
||||
if ( it.first != ""
|
||||
&& it.second != "") {
|
||||
ENET_PRINT(" '" + it.first + "' = '" + it.second + "'");
|
||||
}
|
||||
}
|
||||
ENET_PRINT(" query:");
|
||||
for (auto &it : m_query) {
|
||||
if ( it.first != ""
|
||||
&& it.second != "") {
|
||||
ENET_PRINT(" '" + it.first + "' = '" + it.second + "'");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
etk::String enet::HttpAnswer::generate() const {
|
||||
etk::String out;
|
||||
out += etk::toString(m_protocol);
|
||||
out += " ";
|
||||
out += etk::toString(int32_t(m_what));
|
||||
out += " ";
|
||||
if (m_helpMessage != "") {
|
||||
out += escapeChar(m_helpMessage);
|
||||
} else {
|
||||
auto it = getProtocolName().find(m_what);
|
||||
if (it != getProtocolName().end()) {
|
||||
out += escapeChar(it->second);
|
||||
} else {
|
||||
out += "???";
|
||||
}
|
||||
}
|
||||
out += "\r\n";
|
||||
out += generateKeys();
|
||||
out += "\r\n";
|
||||
return out;
|
||||
}
|
||||
enet::HttpServer::HttpServer(enet::Tcp _connection) :
|
||||
enet::Http(etk::move(_connection), true) {
|
||||
|
||||
}
|
||||
|
||||
enet::HttpClient::HttpClient(enet::Tcp _connection) :
|
||||
enet::Http(etk::move(_connection), false) {
|
||||
|
||||
}
|
||||
// -----------------------------------------------------------------------------------------
|
||||
|
||||
enet::HttpRequest::HttpRequest(enum enet::HTTPReqType _type):
|
||||
m_req(_type),
|
||||
m_uri() {
|
||||
|
||||
}
|
||||
|
||||
void enet::HttpRequest::display() const {
|
||||
ENET_PRINT("display header 'Request' ");
|
||||
ENET_PRINT(" type=" << m_req);
|
||||
ENET_PRINT(" protocol=" << m_protocol);
|
||||
ENET_PRINT(" uri=" << m_uri);
|
||||
ENET_PRINT(" Options:");
|
||||
for (auto &it : m_map) {
|
||||
if ( it.first != ""
|
||||
&& it.second != "") {
|
||||
ENET_PRINT(" '" + it.first + "' = '" + it.second + "'");
|
||||
}
|
||||
}
|
||||
ENET_PRINT(" query:");
|
||||
for (auto &it : m_query) {
|
||||
if ( it.first != ""
|
||||
&& it.second != "") {
|
||||
ENET_PRINT(" '" + it.first + "' = '" + it.second + "'");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
etk::String enet::HttpRequest::generate() const {
|
||||
etk::String out;
|
||||
out += etk::toString(m_req);
|
||||
out += " ";
|
||||
out += m_uri;
|
||||
etk::String querryData = generateQueryKeys();
|
||||
if (querryData.empty() != 0) {
|
||||
out += "?" + querryData;
|
||||
}
|
||||
out += " ";
|
||||
out += etk::toString(m_protocol);
|
||||
out += "\r\n";
|
||||
out += generateKeys();
|
||||
out += "\r\n";
|
||||
return out;
|
||||
}
|
||||
|
||||
|
||||
etk::Stream& enet::operator <<(etk::Stream& _os, enum enet::HTTPProtocol _obj) {
|
||||
_os << "enet::HTTPProtocol::" <<etk::toString(_obj);
|
||||
return _os;
|
||||
}
|
||||
|
||||
etk::Stream& enet::operator <<(etk::Stream& _os, enum enet::HTTPAnswerCode _obj) {
|
||||
_os << "enet::HTTPAnswerCode::" << etk::toString(_obj);
|
||||
return _os;
|
||||
}
|
||||
|
||||
etk::Stream& enet::operator <<(etk::Stream& _os, enum enet::HTTPReqType _obj) {
|
||||
_os << "enet::HTTPReqType::" << etk::toString(_obj);
|
||||
return _os;
|
||||
}
|
403
enet/Http.hpp
@ -1,403 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <enet/Tcp.hpp>
|
||||
#include <etk/Vector.hpp>
|
||||
#include <etk/Map.hpp>
|
||||
#include <ethread/Thread.hpp>
|
||||
#include <ethread/tools.hpp>
|
||||
#include <etk/Function.hpp>
|
||||
|
||||
namespace enet {
|
||||
enum class HTTPAnswerCode {
|
||||
c000_unknow = 0,
|
||||
//1xx: Information
|
||||
c100_continue = 100, //!< The server has received the request headers, and the client should proceed to send the request body
|
||||
c101_switchingProtocols, //!< The requester has asked the server to switch protocols
|
||||
c103_checkpoint, //!< Used in the resumable requests proposal to resume aborted PUT or POST requests
|
||||
//2xx: Successful
|
||||
c200_ok = 200, //!< The request is OK (this is the standard response for successful HTTP requests)
|
||||
c201_created, //!< The request has been fulfilled, and a new resource is created
|
||||
c202_accepted, //!< The request has been accepted for processing, but the processing has not been completed
|
||||
c203_nonAuthoritativeInformation, //!< The request has been successfully processed, but is returning information that may be from another source
|
||||
c204_noContent, //!< The request has been successfully processed, but is not returning any content
|
||||
c205_resetContent, //!< The request has been successfully processed, but is not returning any content, and requires that the requester reset the document view
|
||||
c206_partialContent, //!< The server is delivering only part of the resource due to a range header sent by the client
|
||||
//3xx: Redirection
|
||||
c300_multipleChoices = 300, //!< A link list. The user can select a link and go to that location. Maximum five addresses
|
||||
c301_movedPermanently, //!< The requested page has moved to a new URL
|
||||
c302_found, //!< The requested page has moved temporarily to a new URL
|
||||
c303_seeOther, //!< The requested page can be found under a different URL
|
||||
c304_notModified, //!< Indicates the requested page has not been modified since last requested
|
||||
c306_switchProxy, //!< No longer used
|
||||
c307_temporaryRedirect, //!< The requested page has moved temporarily to a new URL
|
||||
c308_resumeIncomplete, //!< Used in the resumable requests proposal to resume aborted PUT or POST requests
|
||||
//4xx: Client Error,
|
||||
c400_badRequest = 400, //!< The request cannot be fulfilled due to bad syntax
|
||||
c401_unauthorized, //!< The request was a legal request, but the server is refusing to respond to it. For use when authentication is possible but has failed or not yet been provided
|
||||
c402_paymentRequired, //!< Reserved for future use
|
||||
c403_forbidden, //!< The request was a legal request, but the server is refusing to respond to it
|
||||
c404_notFound, //!< The requested page could not be found but may be available again in the future
|
||||
c405_methodNotAllowed, //!< A request was made of a page using a request method not supported by that page
|
||||
c406_notAcceptable, //!< The server can only generate a response that is not accepted by the client
|
||||
c407_proxyAuthenticationRequired, //!< The client must first authenticate itself with the proxy
|
||||
c408_requestTimeout, //!< The server timed out waiting for the request
|
||||
c409_conflict, //!< The request could not be completed because of a conflict in the request
|
||||
c410_gone, //!< The requested page is no longer available
|
||||
c411_lengthRequired, //!< The "Content-Length" is not defined. The server will not accept the request without it
|
||||
c412_preconditionFailed, //!< The precondition given in the request evaluated to false by the server
|
||||
c413_requestEntityTooLarge, //!< The server will not accept the request, because the request entity is too large
|
||||
c414_requestURITooLong, //!< The server will not accept the request, because the URL is too long. Occurs when you convert a POST request to a GET request with a long query information
|
||||
c415_unsupportedMediaType, //!< The server will not accept the request, because the media type is not supported
|
||||
c416_requestedRangeNotSatisfiable, //!< The client has asked for a portion of the file, but the server cannot supply that portion
|
||||
c417_expectationFailed, //!< The server cannot meet the requirements of the Expect request-header field
|
||||
//5xx: Server Error
|
||||
c500_internalServerError = 500, //!< A generic error message, given when no more specific message is suitable
|
||||
c501_notImplemented, //!< The server either does not recognize the request method, or it lacks the ability to fulfill the request
|
||||
c502_badGateway, //!< The server was acting as a gateway or proxy and received an invalid response from the upstream server
|
||||
c503_serviceUnavailable, //!< The server is currently unavailable (overloaded or down)
|
||||
c504_gatewayTimeout, //!< The server was acting as a gateway or proxy and did not receive a timely response from the upstream server
|
||||
c505_httpVersionNotSupported, //!< The server does not support the HTTP protocol version used in the request
|
||||
c511_networkAuthenticationRequired, //!< The client needs to authenticate to gain network access
|
||||
};
|
||||
etk::Stream& operator <<(etk::Stream& _os, enum enet::HTTPAnswerCode _obj);
|
||||
|
||||
enum class HTTPProtocol {
|
||||
http_0_1,
|
||||
http_0_2,
|
||||
http_0_3,
|
||||
http_0_4,
|
||||
http_0_5,
|
||||
http_0_6,
|
||||
http_0_7,
|
||||
http_0_8,
|
||||
http_0_9,
|
||||
http_0_10,
|
||||
http_1_0,
|
||||
http_1_1,
|
||||
http_1_2,
|
||||
http_1_3,
|
||||
http_1_4,
|
||||
http_1_5,
|
||||
http_1_6,
|
||||
http_1_7,
|
||||
http_1_8,
|
||||
http_1_9,
|
||||
http_1_10,
|
||||
http_2_0,
|
||||
http_2_1,
|
||||
http_2_2,
|
||||
http_2_3,
|
||||
http_2_4,
|
||||
http_2_5,
|
||||
http_2_6,
|
||||
http_2_7,
|
||||
http_2_8,
|
||||
http_2_9,
|
||||
http_2_10,
|
||||
http_3_0,
|
||||
http_3_1,
|
||||
http_3_2,
|
||||
http_3_3,
|
||||
http_3_4,
|
||||
http_3_5,
|
||||
http_3_6,
|
||||
http_3_7,
|
||||
http_3_8,
|
||||
http_3_9,
|
||||
http_3_10,
|
||||
};
|
||||
etk::Stream& operator <<(etk::Stream& _os, enum enet::HTTPProtocol _obj);
|
||||
class HttpHeader {
|
||||
protected:
|
||||
// key, val
|
||||
etk::Map<etk::String, etk::String> m_map;
|
||||
etk::Map<etk::String, etk::String> m_query;
|
||||
enum HTTPProtocol m_protocol;
|
||||
public:
|
||||
void setKey(const etk::String& _key, const etk::String& _value);
|
||||
void rmKey(const etk::String& _key);
|
||||
etk::String getKey(const etk::String& _key) const;
|
||||
bool existKey(const etk::String& _key) const;
|
||||
protected:
|
||||
etk::String generateKeys() const;
|
||||
public:
|
||||
void setQuery(const etk::Map<etk::String, etk::String>& _value);
|
||||
void setQueryKey(const etk::String& _key, const etk::String& _value);
|
||||
void rmQueryKey(const etk::String& _key);
|
||||
etk::String getQueryKey(const etk::String& _key) const;
|
||||
bool existQueryKey(const etk::String& _key) const;
|
||||
protected:
|
||||
etk::String generateQueryKeys() const;
|
||||
public:
|
||||
enum HTTPProtocol getProtocol() const {
|
||||
return m_protocol;
|
||||
}
|
||||
void setProtocol(enum HTTPProtocol _protocol) {
|
||||
m_protocol = _protocol;
|
||||
}
|
||||
HttpHeader();
|
||||
virtual ~HttpHeader() = default;
|
||||
virtual etk::String generate() const = 0;
|
||||
};
|
||||
|
||||
class HttpAnswer : public HttpHeader {
|
||||
private:
|
||||
enet::HTTPAnswerCode m_what;
|
||||
etk::String m_helpMessage;
|
||||
public:
|
||||
HttpAnswer(enum HTTPAnswerCode _code = enet::HTTPAnswerCode::c400_badRequest, const etk::String& _help="");
|
||||
void display() const;
|
||||
etk::String generate() const;
|
||||
void setErrorCode(enum HTTPAnswerCode _value) {
|
||||
m_what = _value;
|
||||
}
|
||||
enum HTTPAnswerCode getErrorCode() const {
|
||||
return m_what;
|
||||
}
|
||||
void setHelp(const etk::String& _value) {
|
||||
m_helpMessage = _value;
|
||||
}
|
||||
const etk::String& getHelp() const {
|
||||
return m_helpMessage;
|
||||
}
|
||||
};
|
||||
enum class HTTPReqType {
|
||||
HTTP_GET,
|
||||
HTTP_HEAD,
|
||||
HTTP_POST,
|
||||
HTTP_PUT,
|
||||
HTTP_DELETE,
|
||||
HTTP_OPTIONS,
|
||||
};
|
||||
etk::Stream& operator <<(etk::Stream& _os, enum enet::HTTPReqType _obj);
|
||||
class HttpRequest : public HttpHeader {
|
||||
private:
|
||||
// key, val
|
||||
enum HTTPReqType m_req;
|
||||
etk::String m_uri;
|
||||
public:
|
||||
HttpRequest(enum enet::HTTPReqType _type=enet::HTTPReqType::HTTP_GET);
|
||||
void display() const;
|
||||
etk::String generate() const;
|
||||
void setType(enum enet::HTTPReqType _value) {
|
||||
m_req = _value;
|
||||
}
|
||||
enum enet::HTTPReqType getType() const{
|
||||
return m_req;
|
||||
}
|
||||
void setUri(const etk::String& _value) {
|
||||
m_uri = _value;
|
||||
}
|
||||
const etk::String& getUri() const {
|
||||
return m_uri;
|
||||
}
|
||||
};
|
||||
class Http {
|
||||
public:
|
||||
Http(enet::Tcp _connection, bool _isServer=false);
|
||||
virtual ~Http();
|
||||
private:
|
||||
bool m_isServer;
|
||||
public:
|
||||
bool getServerState() {
|
||||
return m_isServer;
|
||||
}
|
||||
bool isServer() {
|
||||
return m_isServer;
|
||||
}
|
||||
protected:
|
||||
enet::HttpRequest m_requestHeader;
|
||||
void setRequestHeader(const enet::HttpRequest& _req);
|
||||
public:
|
||||
const enet::HttpRequest& getRequestHeader() {
|
||||
return m_requestHeader;
|
||||
}
|
||||
protected:
|
||||
enet::HttpAnswer m_answerHeader;
|
||||
void setAnswerHeader(const enet::HttpAnswer& _req);
|
||||
public:
|
||||
const enet::HttpAnswer& getAnswerHeader() {
|
||||
return m_answerHeader;
|
||||
}
|
||||
protected:
|
||||
enet::Tcp m_connection;
|
||||
bool m_headerIsSend;
|
||||
ethread::Thread* m_thread;
|
||||
bool m_threadRunning;
|
||||
etk::Vector<uint8_t> m_temporaryBuffer;
|
||||
public:
|
||||
/**
|
||||
* @brief Get the adress of the connection source IP:port
|
||||
* @return string with the remote address name.
|
||||
*/
|
||||
const etk::String& getRemoteAddress() const {
|
||||
return m_connection.getRemoteName();
|
||||
}
|
||||
private:
|
||||
void threadCallback();
|
||||
private:
|
||||
void getHeader();
|
||||
public:
|
||||
void start();
|
||||
void stop(bool _inThread=false);
|
||||
bool isAlive() const {
|
||||
return m_connection.getConnectionStatus() == enet::Tcp::status::link;
|
||||
}
|
||||
public:
|
||||
/**
|
||||
* @brief Redirect the current HTTP request to an other network address.
|
||||
* @param[in] _addressRedirect new redirection address:port
|
||||
* @param[in] _inThreadStop the http thread request an auto-stop.
|
||||
*/
|
||||
void redirectTo(const etk::String& _addressRedirect, bool _inThreadStop=false);
|
||||
public:
|
||||
using Observer = etk::Function<void(etk::Vector<uint8_t>&)>; //!< Define an Observer: function pointer
|
||||
Observer m_observer;
|
||||
/**
|
||||
* @brief Connect an function member on the signal with the shared_ptr object.
|
||||
* @param[in] _class shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr.
|
||||
* @param[in] _func Function to call.
|
||||
* @param[in] _args Argument optinnal the user want to add.
|
||||
*/
|
||||
template<class CLASS_TYPE>
|
||||
void connect(CLASS_TYPE* _class, void (CLASS_TYPE::*_func)(etk::Vector<uint8_t>&)) {
|
||||
m_observer = [=](etk::Vector<uint8_t>& _value){
|
||||
(*_class.*_func)(_value);
|
||||
};
|
||||
}
|
||||
void connect(Observer _func) {
|
||||
m_observer = _func;
|
||||
}
|
||||
public:
|
||||
using ObserverRaw = etk::Function<void(enet::Tcp&)>; //!< Define an Observer: function pointer
|
||||
ObserverRaw m_observerRaw;
|
||||
/**
|
||||
* @brief Connect an function member on the signal with the shared_ptr object.
|
||||
* @param[in] _class shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr.
|
||||
* @param[in] _func Function to call.
|
||||
* @param[in] _args Argument optinnal the user want to add.
|
||||
*/
|
||||
template<class CLASS_TYPE>
|
||||
void connectRaw(CLASS_TYPE* _class, void (CLASS_TYPE::*_func)(enet::Tcp&)) {
|
||||
m_observerRaw = [=](enet::Tcp& _connection){
|
||||
(*_class.*_func)(_connection);
|
||||
};
|
||||
}
|
||||
void connectRaw(ObserverRaw _func) {
|
||||
m_observerRaw = _func;
|
||||
}
|
||||
public:
|
||||
using ObserverRequest = etk::Function<void(const enet::HttpRequest&)>; //!< Define an Observer: function pointer
|
||||
protected:
|
||||
ObserverRequest m_observerRequest;
|
||||
public:
|
||||
using ObserverAnswer = etk::Function<void(const enet::HttpAnswer&)>; //!< Define an Observer: function pointer
|
||||
protected:
|
||||
ObserverAnswer m_observerAnswer;
|
||||
public:
|
||||
/**
|
||||
* @brief Write a chunk of data on the socket
|
||||
* @param[in] _data pointer on the data might be write
|
||||
* @param[in] _len Size that must be written socket
|
||||
* @return >0 byte size on the socket write
|
||||
* @return -1 an error occured.
|
||||
*/
|
||||
int32_t write(const void* _data, int32_t _len);
|
||||
/**
|
||||
* @brief Write a chunk of data on the socket
|
||||
* @param[in] _data String to rite on the soccket
|
||||
* @param[in] _writeBackSlashZero if false, the \0 is not write
|
||||
* @return >0 byte size on the socket write
|
||||
* @return -1 an error occured.
|
||||
*/
|
||||
int32_t write(const etk::String& _data, bool _writeBackSlashZero = true) {
|
||||
if (_data.size() == 0) {
|
||||
return 0;
|
||||
}
|
||||
if (_writeBackSlashZero == true) {
|
||||
return write(_data.c_str(), _data.size()+1);
|
||||
}
|
||||
return write(_data.c_str(), _data.size());
|
||||
}
|
||||
/**
|
||||
* @brief Write a chunk of data on the socket
|
||||
* @param[in] _data String to rite on the soccket
|
||||
* @param[in] _writeBackSlashZero if false, the \0 is not write
|
||||
* @return >0 T element write on the socket
|
||||
* @return -1 an error occured.
|
||||
*/
|
||||
template <class T>
|
||||
int32_t write(const etk::Vector<T>& _data) {
|
||||
if (_data.size() == 0) {
|
||||
return 0;
|
||||
}
|
||||
size_t ret = write(&_data[0], _data.size()*sizeof(T));
|
||||
if (ret <=0) {
|
||||
return ret;
|
||||
}
|
||||
return ret/sizeof(T);
|
||||
}
|
||||
};
|
||||
|
||||
class HttpClient : public Http {
|
||||
public:
|
||||
HttpClient(enet::Tcp _connection);
|
||||
public:
|
||||
void setHeader(const enet::HttpRequest& _header) {
|
||||
_header.display();
|
||||
setRequestHeader(_header);
|
||||
}
|
||||
public:
|
||||
//bool get(const etk::String& _address);
|
||||
//bool post(const etk::String& _address, const etk::Map<etk::String, etk::String>& _values);
|
||||
//bool post(const etk::String& _address, const etk::String& _contentType, const etk::String& _data);
|
||||
public:
|
||||
/**
|
||||
* @brief Connect an function member on the signal with the shared_ptr object.
|
||||
* @param[in] _class shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr.
|
||||
* @param[in] _func Function to call.
|
||||
* @param[in] _args Argument optinnal the user want to add.
|
||||
*/
|
||||
template<class CLASS_TYPE>
|
||||
void connectHeader(CLASS_TYPE* _class, void (CLASS_TYPE::*_func)(const enet::HttpAnswer&)) {
|
||||
m_observerAnswer = [=](const enet::HttpAnswer& _value){
|
||||
(*_class.*_func)(_value);
|
||||
};
|
||||
}
|
||||
void connectHeader(Http::ObserverAnswer _func) {
|
||||
m_observerAnswer = _func;
|
||||
}
|
||||
};
|
||||
|
||||
class HttpServer : public Http {
|
||||
public:
|
||||
HttpServer(enet::Tcp _connection);
|
||||
public:
|
||||
void setHeader(const enet::HttpAnswer& _header) {
|
||||
_header.display();
|
||||
setAnswerHeader(_header);
|
||||
}
|
||||
public:
|
||||
/**
|
||||
* @brief Connect an function member on the signal with the shared_ptr object.
|
||||
* @param[in] _class shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr.
|
||||
* @param[in] _func Function to call.
|
||||
* @param[in] _args Argument optinnal the user want to add.
|
||||
*/
|
||||
template<class CLASS_TYPE>
|
||||
void connectHeader(CLASS_TYPE* _class, void (CLASS_TYPE::*_func)(const enet::HttpRequest&)) {
|
||||
m_observerRequest = [=](const enet::HttpRequest& _value){
|
||||
(*_class.*_func)(_value);
|
||||
};
|
||||
}
|
||||
void connectHeader(Http::ObserverRequest _func) {
|
||||
m_observerRequest = _func;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
233
enet/Tcp.cpp
@ -1,233 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <enet/debug.hpp>
|
||||
#include <enet/Tcp.hpp>
|
||||
#include <sys/types.h>
|
||||
extern "C" {
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
}
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <ethread/tools.hpp>
|
||||
|
||||
#ifdef __TARGET_OS__Windows
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
||||
#ifdef ENET_STORE_INPUT
|
||||
static uint32_t baseID = 0;
|
||||
#endif
|
||||
|
||||
bool enet::Tcp::setTCPNoDelay(bool _enabled) {
|
||||
if (m_socketId >= 0) {
|
||||
int flag = _enabled==true?1:0;
|
||||
if(setsockopt(m_socketId, IPPROTO_TCP, TCP_NODELAY, (char*)&flag, sizeof(flag)) == -1) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
enet::Tcp::Tcp() :
|
||||
#ifdef __TARGET_OS__Windows
|
||||
m_socketId(INVALID_SOCKET),
|
||||
#else
|
||||
m_socketId(-1),
|
||||
#endif
|
||||
m_name(),
|
||||
m_status(status::error) {
|
||||
|
||||
}
|
||||
|
||||
#ifdef __TARGET_OS__Windows
|
||||
enet::Tcp::Tcp(SOCKET _idSocket, const etk::String& _name, const etk::String& _remoteName) :
|
||||
#else
|
||||
enet::Tcp::Tcp(int32_t _idSocket, const etk::String& _name, const etk::String& _remoteName) :
|
||||
#endif
|
||||
m_socketId(_idSocket),
|
||||
m_name(_name),
|
||||
m_remoteName(_remoteName),
|
||||
m_status(status::link) {
|
||||
#ifdef ENET_STORE_INPUT
|
||||
m_nodeStoreInput = etk::FSNode("CACHE:StoreTCPdata_" + etk::toString(baseID++) + ".tcp");
|
||||
m_nodeStoreInput.fileOpenWrite();
|
||||
#endif
|
||||
}
|
||||
|
||||
enet::Tcp::Tcp(Tcp&& _obj) :
|
||||
m_socketId(_obj.m_socketId),
|
||||
m_name(_obj.m_name),
|
||||
m_remoteName(_obj.m_remoteName),
|
||||
m_status(_obj.m_status) {
|
||||
#ifdef ENET_STORE_INPUT
|
||||
m_nodeStoreInput = etk::FSNode("CACHE:StoreTCPdata_" + etk::toString(baseID++) + ".tcp");
|
||||
m_nodeStoreInput.fileOpenWrite();
|
||||
#endif
|
||||
#ifdef __TARGET_OS__Windows
|
||||
_obj.m_socketId = INVALID_SOCKET;
|
||||
#else
|
||||
_obj.m_socketId = -1;
|
||||
#endif
|
||||
_obj.m_name = "";
|
||||
_obj.m_status = status::error;
|
||||
}
|
||||
|
||||
enet::Tcp::~Tcp() {
|
||||
unlink();
|
||||
}
|
||||
|
||||
enet::Tcp& enet::Tcp::operator = (enet::Tcp&& _obj) {
|
||||
unlink();
|
||||
#ifdef ENET_STORE_INPUT
|
||||
m_nodeStoreInput = etk::FSNode("CACHE:StoreTCPdata_" + etk::toString(baseID++) + ".tcp");
|
||||
m_nodeStoreInput.fileOpenWrite();
|
||||
#endif
|
||||
m_socketId = _obj.m_socketId;
|
||||
#ifdef __TARGET_OS__Windows
|
||||
_obj.m_socketId = INVALID_SOCKET;
|
||||
#else
|
||||
_obj.m_socketId = -1;
|
||||
#endif
|
||||
m_name = _obj.m_name;
|
||||
_obj.m_name = "";
|
||||
m_status = _obj.m_status;
|
||||
_obj.m_status = status::error;
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool enet::Tcp::unlink() {
|
||||
// prevent call while stoping ...
|
||||
m_status = status::unlink;
|
||||
if (m_socketId >= 0) {
|
||||
ENET_INFO("Close socket (start)");
|
||||
#ifdef __TARGET_OS__Windows
|
||||
shutdown(m_socketId, SD_BOTH);
|
||||
// Release hand of the socket to permit the Select to exit ... ==> otherwise it lock ...
|
||||
ethread::sleepMilliSeconds((20));
|
||||
closesocket(m_socketId);
|
||||
m_socketId = INVALID_SOCKET;
|
||||
#else
|
||||
shutdown(m_socketId, SHUT_RDWR);
|
||||
// Release hand of the socket to permit the Select to exit ... ==> otherwise it lock ...
|
||||
ethread::sleepMilliSeconds((20));
|
||||
close(m_socketId);
|
||||
m_socketId = -1;
|
||||
#endif
|
||||
ENET_INFO("Close socket (done)");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
int32_t enet::Tcp::read(void* _data, int32_t _maxLen) {
|
||||
if (m_status != status::link) {
|
||||
ENET_ERROR("Can not read on unlink connection");
|
||||
return -1;
|
||||
}
|
||||
int32_t size = -1;
|
||||
|
||||
fd_set sock;
|
||||
// Initialize the timeout to 3 minutes. If no activity after 3 minutes this program will end. timeout value is based on milliseconds.
|
||||
struct timeval timeOutStruct;
|
||||
timeOutStruct.tv_sec = (3 * 60 * 1000);
|
||||
timeOutStruct.tv_usec = 0;
|
||||
FD_ZERO(&sock);
|
||||
FD_SET(m_socketId,&sock);
|
||||
ENET_VERBOSE(" select ...");
|
||||
int rc = select(m_socketId+1, &sock, NULL, NULL, &timeOutStruct);
|
||||
ENET_VERBOSE(" select (done)");
|
||||
// Check to see if the poll call failed.
|
||||
if (rc < 0) {
|
||||
ENET_ERROR(" select() failed");
|
||||
return -1;
|
||||
}
|
||||
// Check to see if the 3 minute time out expired.
|
||||
if (rc == 0) {
|
||||
ENET_ERROR(" select() timed out.");
|
||||
return -2;
|
||||
}
|
||||
if (!FD_ISSET(m_socketId, &sock)) {
|
||||
ENET_ERROR(" select() id is not set...");
|
||||
return -1;
|
||||
}
|
||||
bool closeConn = false;
|
||||
// Receive all incoming data on this socket before we loop back and call poll again.
|
||||
// Receive data on this connection until the recv fails with EWOULDBLOCK.
|
||||
// If any other failure occurs, we will close the connection.
|
||||
{
|
||||
ethread::UniqueLock lock(m_mutex);
|
||||
rc = recv(m_socketId, (char *)_data, _maxLen, 0);
|
||||
}
|
||||
if (rc < 0) {
|
||||
if (errno != EWOULDBLOCK) {
|
||||
ENET_ERROR(" recv() failed");
|
||||
closeConn = true;
|
||||
}
|
||||
}
|
||||
// Check to see if the connection has been closed by the client
|
||||
if (rc == 0) {
|
||||
ENET_INFO("Connection closed");
|
||||
closeConn = true;
|
||||
size = 0;
|
||||
}
|
||||
if (closeConn == false) {
|
||||
// Data was received
|
||||
size = rc;
|
||||
} else {
|
||||
// If the close_conn flag was turned on, we need to clean up this active connection.
|
||||
// This clean up process includes removing the descriptor.
|
||||
ENET_DEBUG(" Set status at remote close ...");
|
||||
m_status = status::linkRemoteClose;
|
||||
}
|
||||
#ifdef ENET_STORE_INPUT
|
||||
m_nodeStoreInput.fileWrite(_data, 1, size);
|
||||
#endif
|
||||
return size;
|
||||
}
|
||||
|
||||
|
||||
int32_t enet::Tcp::write(const void* _data, int32_t _len) {
|
||||
if (m_status != status::link) {
|
||||
ENET_ERROR("Can not write on unlink connection");
|
||||
return -1;
|
||||
}
|
||||
if (_data == null) {
|
||||
ENET_ERROR("try write null data on TCP socket");
|
||||
return -1;
|
||||
}
|
||||
if (_len <= 0) {
|
||||
if (_len == 0) {
|
||||
ENET_WARNING("try write data with lenght=" << _len << " ==> bad case");
|
||||
return 0;
|
||||
}
|
||||
ENET_ERROR("try write data with lenght=" << _len << " ==> bad case");
|
||||
elog::displayBacktrace();
|
||||
return -1;
|
||||
}
|
||||
//ENET_DEBUG("write on socketid = " << m_socketId << " data@=" << int64_t(_data) << " size=" << _len );
|
||||
int32_t size;
|
||||
{
|
||||
ethread::UniqueLock lock(m_mutex);
|
||||
size = ::send(m_socketId, (const char *)_data, _len, 0);
|
||||
}
|
||||
if ( size != _len
|
||||
&& errno != 0) {
|
||||
ENET_ERROR("PB when writing data on the FD : request=" << _len << " have=" << size << ", erno=" << errno << "," << strerror(errno));
|
||||
m_status = status::error;
|
||||
return -1;
|
||||
}
|
||||
return size;
|
||||
}
|
146
enet/Tcp.hpp
@ -1,146 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.hpp>
|
||||
#include <ethread/Mutex.hpp>
|
||||
#include <etk/Function.hpp>
|
||||
#ifdef __TARGET_OS__Windows
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
//#define ENET_STORE_INPUT
|
||||
|
||||
#ifdef ENET_STORE_INPUT
|
||||
#include <etk/os/FSNode.hpp>
|
||||
#endif
|
||||
|
||||
namespace enet {
|
||||
class Tcp {
|
||||
private:
|
||||
#ifdef __TARGET_OS__Windows
|
||||
SOCKET m_socketId; //!< socket Windows interface generic
|
||||
#else
|
||||
int32_t m_socketId; //!< socket linux interface generic
|
||||
#endif
|
||||
#ifdef ENET_STORE_INPUT
|
||||
etk::FSNode m_nodeStoreInput;
|
||||
#endif
|
||||
ethread::Mutex m_mutex;
|
||||
public:
|
||||
Tcp();
|
||||
#ifdef __TARGET_OS__Windows
|
||||
Tcp(SOCKET _idSocket, const etk::String& _name, const etk::String& _remoteName="");
|
||||
#else
|
||||
Tcp(int32_t _idSocket, const etk::String& _name, const etk::String& _remoteName="");
|
||||
#endif
|
||||
// move constructor
|
||||
Tcp(Tcp&& _obj);
|
||||
// Move operator;
|
||||
Tcp& operator= (Tcp&& _obj);
|
||||
// Remove copy operator ... ==> not valid ...
|
||||
Tcp& operator= (Tcp& _obj) = delete;
|
||||
virtual ~Tcp();
|
||||
private:
|
||||
etk::String m_name; //!< hostname/IP:port.
|
||||
public:
|
||||
/**
|
||||
* @brief Get the decriptive name hot the host:port
|
||||
* @return the string requested
|
||||
*/
|
||||
const etk::String& getName() const {
|
||||
return m_name;
|
||||
}
|
||||
private:
|
||||
etk::String m_remoteName; //!< remote IP:port.
|
||||
public:
|
||||
/**
|
||||
* @brief Get the decriptive name hot the host:port
|
||||
* @return the string requested
|
||||
*/
|
||||
const etk::String& getRemoteName() const {
|
||||
return m_remoteName;
|
||||
}
|
||||
public:
|
||||
enum class status {
|
||||
unlink,
|
||||
link,
|
||||
linkRemoteClose,
|
||||
error
|
||||
};
|
||||
private:
|
||||
enum status m_status; //!< current connection status
|
||||
public:
|
||||
/**
|
||||
* @brief Get the current Status of the connection
|
||||
* @return The status.
|
||||
*/
|
||||
enum status getConnectionStatus() const {
|
||||
return m_status;
|
||||
}
|
||||
public:
|
||||
/**
|
||||
* @brief Unlink on a specific interface.
|
||||
* @return true if connection is removed
|
||||
* @return false otherwise ...
|
||||
*/
|
||||
bool unlink();
|
||||
/**
|
||||
* @brief Read a chunk of data on the socket
|
||||
* @param[in] _data pointer on the data might be write
|
||||
* @param[in] _maxLen Size that can be written on the pointer
|
||||
* @return >0 byte size on the socket read
|
||||
* @return -1 an error occured.
|
||||
*/
|
||||
int32_t read(void* _data, int32_t _maxLen);
|
||||
/**
|
||||
* @brief Write a chunk of data on the socket
|
||||
* @param[in] _data pointer on the data might be write
|
||||
* @param[in] _len Size that must be written socket
|
||||
* @return >0 byte size on the socket write
|
||||
* @return -1 an error occured.
|
||||
*/
|
||||
int32_t write(const void* _data, int32_t _len);
|
||||
/**
|
||||
* @brief Write a chunk of data on the socket
|
||||
* @param[in] _data String to rite on the soccket
|
||||
* @param[in] _writeBackSlashZero if false, the \0 is not write
|
||||
* @return >0 byte size on the socket write
|
||||
* @return -1 an error occured.
|
||||
*/
|
||||
int32_t write(const etk::String& _data, bool _writeBackSlashZero = true) {
|
||||
if (_data.size() == 0) {
|
||||
return 0;
|
||||
}
|
||||
if (_writeBackSlashZero == true) {
|
||||
return write(_data.c_str(), _data.size()+1);
|
||||
}
|
||||
return write(_data.c_str(), _data.size());
|
||||
}
|
||||
/**
|
||||
* @brief Write a chunk of data on the socket
|
||||
* @param[in] _data String to rite on the soccket
|
||||
* @param[in] _writeBackSlashZero if false, the \0 is not write
|
||||
* @return >0 T element write on the socket
|
||||
* @return -1 an error occured.
|
||||
*/
|
||||
template <class T>
|
||||
int32_t write(const etk::Vector<T>& _data) {
|
||||
if (_data.size() == 0) {
|
||||
return 0;
|
||||
}
|
||||
size_t ret = write(&_data[0], _data.size()*sizeof(T));
|
||||
if (ret <=0) {
|
||||
return ret;
|
||||
}
|
||||
return ret/sizeof(T);
|
||||
}
|
||||
|
||||
bool setTCPNoDelay(bool _enabled);
|
||||
};
|
||||
}
|
||||
|
@ -1,206 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <enet/debug.hpp>
|
||||
#include <enet/Tcp.hpp>
|
||||
#include <enet/TcpClient.hpp>
|
||||
#include <enet/enet.hpp>
|
||||
extern "C" {
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
}
|
||||
#include <etk/stdTools.hpp>
|
||||
|
||||
#ifdef __TARGET_OS__Windows
|
||||
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
enet::Tcp enet::connectTcpClient(const etk::String& _config, uint32_t _numberRetry, echrono::Duration _timeOut) {
|
||||
size_t pos = _config.find(':');
|
||||
if (pos == etk::String::npos) {
|
||||
return etk::move(enet::connectTcpClient(_config, 0, _numberRetry, _timeOut));
|
||||
}
|
||||
return etk::move(enet::connectTcpClient(_config.extract(0, pos),
|
||||
etk::string_to_uint16_t(_config.extract(pos+1)),
|
||||
_numberRetry,
|
||||
_timeOut));
|
||||
}
|
||||
|
||||
enet::Tcp enet::connectTcpClient(uint8_t _ip1, uint8_t _ip2, uint8_t _ip3, uint8_t _ip4, uint16_t _port, uint32_t _numberRetry, echrono::Duration _timeOut) {
|
||||
etk::String tmpname;
|
||||
tmpname = etk::toString(_ip1);
|
||||
tmpname += ".";
|
||||
tmpname += etk::toString(_ip2);
|
||||
tmpname += ".";
|
||||
tmpname += etk::toString(_ip3);
|
||||
tmpname += ".";
|
||||
tmpname += etk::toString(_ip4);
|
||||
return etk::move(enet::connectTcpClient(tmpname, _port, _numberRetry, _timeOut));
|
||||
}
|
||||
|
||||
#ifdef __TARGET_OS__Windows
|
||||
enet::Tcp enet::connectTcpClient(const etk::String& _hostname, uint16_t _port, uint32_t _numberRetry, echrono::Duration _timeOut) {
|
||||
if (enet::isInit() == false) {
|
||||
ENET_ERROR("Need call enet::init(...) before accessing to the socket");
|
||||
return etk::move(enet::Tcp());
|
||||
}
|
||||
if (_hostname == "") {
|
||||
ENET_ERROR("get connection wihtout hostname");
|
||||
return etk::move(enet::Tcp());
|
||||
}
|
||||
SOCKET socketId = INVALID_SOCKET;
|
||||
ENET_INFO("Start connection on " << _hostname << ":" << _port);
|
||||
for(int32_t iii=0; iii<_numberRetry ;iii++) {
|
||||
if (iii > 0) {
|
||||
ethread::sleepMilliSeconds((200));
|
||||
}
|
||||
// open in Socket normal mode
|
||||
socketId = socket(AF_INET, SOCK_STREAM, 0);
|
||||
if (socketId < 0) {
|
||||
ENET_ERROR("ERROR while opening socket : errno=" << errno << "," << strerror(errno));
|
||||
continue;
|
||||
}
|
||||
ENET_INFO("Try connect on socket ... (" << iii+1 << "/" << _numberRetry << ")");
|
||||
|
||||
struct addrinfo hints;
|
||||
memset(&hints, 0, sizeof(hints));
|
||||
hints.ai_family = AF_UNSPEC;
|
||||
hints.ai_socktype = SOCK_STREAM;
|
||||
hints.ai_protocol = IPPROTO_TCP;
|
||||
|
||||
// Resolve the server address and port
|
||||
struct addrinfo* result = null;
|
||||
etk::String portValue = etk::toString(_port);
|
||||
int iResult = getaddrinfo(_hostname.c_str(), portValue.c_str(), &hints, &result);
|
||||
if (iResult != 0) {
|
||||
ENET_ERROR("getaddrinfo failed with error: " << iResult);
|
||||
continue;
|
||||
}
|
||||
|
||||
// Attempt to connect to an address until one succeeds
|
||||
for(struct addrinfo* ptr=result;
|
||||
ptr != null;
|
||||
ptr=ptr->ai_next) {
|
||||
ENET_DEBUG(" find one ...");
|
||||
// Create a SOCKET for connecting to server
|
||||
socketId = socket(ptr->ai_family, ptr->ai_socktype, ptr->ai_protocol);
|
||||
if (socketId == INVALID_SOCKET) {
|
||||
ENET_ERROR("socket failed with error: " << WSAGetLastError());
|
||||
break;
|
||||
}
|
||||
// Connect to server.
|
||||
iResult = connect(socketId, ptr->ai_addr, (int)ptr->ai_addrlen);
|
||||
if (iResult == SOCKET_ERROR) {
|
||||
ENET_ERROR("socket connection failed with error: " << WSAGetLastError());
|
||||
closesocket(socketId);
|
||||
socketId = INVALID_SOCKET;
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
freeaddrinfo(result);
|
||||
|
||||
if (socketId == INVALID_SOCKET) {
|
||||
ENET_ERROR("Unable to connect to server!");
|
||||
continue;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (socketId == INVALID_SOCKET) {
|
||||
ENET_ERROR("ERROR connecting ... (after all try)");
|
||||
return etk::move(enet::Tcp());
|
||||
}
|
||||
ENET_DEBUG("Connection done");
|
||||
return etk::move(enet::Tcp(socketId, _hostname + ":" + etk::toString(_port)));
|
||||
}
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
enet::Tcp enet::connectTcpClient(const etk::String& _hostname, uint16_t _port, uint32_t _numberRetry, echrono::Duration _timeOut) {
|
||||
if (enet::isInit() == false) {
|
||||
ENET_ERROR("Need call enet::init(...) before accessing to the socket");
|
||||
return etk::move(enet::Tcp());
|
||||
}
|
||||
if (_hostname == "") {
|
||||
ENET_ERROR("get connection wihtout hostname");
|
||||
return etk::move(enet::Tcp());
|
||||
}
|
||||
int32_t socketId = -1;
|
||||
ENET_INFO("Start connection on " << _hostname << ":" << _port);
|
||||
for(int32_t iii=0; iii<_numberRetry ;iii++) {
|
||||
if (iii > 0) {
|
||||
ethread::sleepMilliSeconds((200));
|
||||
}
|
||||
// open in Socket normal mode
|
||||
socketId = socket(AF_INET, SOCK_STREAM, 0);
|
||||
if (socketId < 0) {
|
||||
ENET_ERROR("ERROR while opening socket : errno=" << errno << "," << strerror(errno));
|
||||
continue;
|
||||
}
|
||||
ENET_INFO("Try connect on socket ... (" << iii+1 << "/" << _numberRetry << ")");
|
||||
struct sockaddr_in servAddr;
|
||||
struct hostent* server = null;
|
||||
if ( _hostname.c_str()[0] >= '0'
|
||||
&& _hostname.c_str()[0] <= '9') {
|
||||
ENET_INFO("Calling gethostbyaddr with " << _hostname);
|
||||
struct in_addr addr;
|
||||
addr.s_addr = inet_addr(_hostname.c_str());
|
||||
if (addr.s_addr == INADDR_NONE) {
|
||||
ENET_ERROR("The IPv4 address entered must be a legal address" << _hostname.c_str());
|
||||
return etk::move(enet::Tcp());
|
||||
} else {
|
||||
// TODO : This is deprecated use getaddrinfo like windows ...
|
||||
server = gethostbyaddr((char *) &addr, 4, AF_INET);
|
||||
}
|
||||
} else {
|
||||
ENET_INFO("Calling gethostbyname with " << _hostname);
|
||||
// TODO : This is deprecated use getaddrinfo like windows ...
|
||||
server = gethostbyname(_hostname.c_str());
|
||||
}
|
||||
if (server == null) {
|
||||
ENET_ERROR("ERROR, no such host : " << _hostname);
|
||||
continue;
|
||||
}
|
||||
bzero((char *) &servAddr, sizeof(servAddr));
|
||||
servAddr.sin_family = AF_INET;
|
||||
bcopy((char *)server->h_addr, (char *)&servAddr.sin_addr.s_addr, server->h_length);
|
||||
servAddr.sin_port = htons(_port);
|
||||
ENET_INFO("Start connexion ...");
|
||||
if (connect(socketId, (struct sockaddr *)&servAddr, sizeof(servAddr)) != 0) {
|
||||
if(errno != EINPROGRESS) {
|
||||
if( errno != ENOENT
|
||||
&& errno != EAGAIN
|
||||
&& errno != ECONNREFUSED) {
|
||||
ENET_ERROR("ERROR connecting on : errno=" << errno << "," << strerror(errno));
|
||||
}
|
||||
#ifdef __TARGET_OS__Windows
|
||||
closesocket(socketId);
|
||||
#else
|
||||
close(socketId);
|
||||
#endif
|
||||
socketId = -1;
|
||||
}
|
||||
ENET_ERROR("ERROR connecting, maybe retry ... errno=" << errno << "," << strerror(errno));
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (socketId<0) {
|
||||
ENET_ERROR("ERROR connecting ... (after all try)");
|
||||
return etk::move(enet::Tcp());
|
||||
}
|
||||
ENET_INFO("Connection done");
|
||||
return etk::move(enet::Tcp(socketId, _hostname + ":" + etk::toString(_port)));
|
||||
}
|
||||
#endif
|
||||
|
@ -1,15 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <enet/Tcp.hpp>
|
||||
#include <echrono/Duration.hpp>
|
||||
|
||||
namespace enet {
|
||||
enet::Tcp connectTcpClient(uint8_t _ip1, uint8_t _ip2, uint8_t _ip3, uint8_t _ip4, uint16_t _port, uint32_t _numberRetry=5, echrono::Duration _timeOut = echrono::seconds(1));
|
||||
enet::Tcp connectTcpClient(const etk::String& _hostname, uint16_t _port, uint32_t _numberRetry=5, echrono::Duration _timeOut = echrono::seconds(1));
|
||||
enet::Tcp connectTcpClient(const etk::String& _config, uint32_t _numberRetry, echrono::Duration _timeOut);
|
||||
}
|
@ -1,255 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <enet/debug.hpp>
|
||||
#include <enet/Tcp.hpp>
|
||||
#include <enet/TcpServer.hpp>
|
||||
#include <enet/enet.hpp>
|
||||
extern "C" {
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
}
|
||||
#include <etk/stdTools.hpp>
|
||||
|
||||
#ifdef __TARGET_OS__Windows
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
//https://msdn.microsoft.com/fr-fr/library/windows/desktop/ms737889(v=vs.85).aspx
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
||||
enet::TcpServer::TcpServer() :
|
||||
m_socketId(-1),
|
||||
m_host("127.0.0.1"),
|
||||
m_port(23191) {
|
||||
|
||||
}
|
||||
|
||||
enet::TcpServer::~TcpServer() {
|
||||
unlink();
|
||||
}
|
||||
|
||||
void enet::TcpServer::setIpV4(uint8_t _fist, uint8_t _second, uint8_t _third, uint8_t _quatro) {
|
||||
etk::String tmpname;
|
||||
tmpname = etk::toString(_fist);
|
||||
tmpname += ".";
|
||||
tmpname += etk::toString(_second);
|
||||
tmpname += ".";
|
||||
tmpname += etk::toString(_third);
|
||||
tmpname += ".";
|
||||
tmpname += etk::toString(_quatro);
|
||||
setHostNane(tmpname);
|
||||
}
|
||||
|
||||
void enet::TcpServer::setHostNane(const etk::String& _name) {
|
||||
if (_name == m_host) {
|
||||
return;
|
||||
}
|
||||
m_host = _name;
|
||||
}
|
||||
|
||||
void enet::TcpServer::setPort(uint16_t _port) {
|
||||
if (_port == m_port) {
|
||||
return;
|
||||
}
|
||||
m_port = _port;
|
||||
}
|
||||
|
||||
#ifdef __TARGET_OS__Windows
|
||||
bool enet::TcpServer::link() {
|
||||
if (enet::isInit() == false) {
|
||||
ENET_ERROR("Need call enet::init(...) before accessing to the socket");
|
||||
return false;
|
||||
}
|
||||
ENET_INFO("Start connection on " << m_host << ":" << m_port);
|
||||
|
||||
struct addrinfo *result = null;
|
||||
struct addrinfo hints;
|
||||
ZeroMemory(&hints, sizeof(hints));
|
||||
hints.ai_family = AF_INET;
|
||||
hints.ai_socktype = SOCK_STREAM;
|
||||
hints.ai_protocol = IPPROTO_TCP;
|
||||
hints.ai_flags = AI_PASSIVE;
|
||||
|
||||
// Resolve the server address and port
|
||||
etk::String portValue = etk::toString(m_port);
|
||||
int iResult = getaddrinfo(null, portValue.c_str(), &hints, &result);
|
||||
if (iResult != 0) {
|
||||
ENET_ERROR("getaddrinfo failed with error: " << iResult);
|
||||
return 1;
|
||||
}
|
||||
|
||||
// open in Socket normal mode
|
||||
m_socketId = socket(result->ai_family, result->ai_socktype, result->ai_protocol);
|
||||
if (m_socketId == INVALID_SOCKET) {
|
||||
ENET_ERROR("ERROR while opening socket : errno=" << errno << "," << strerror(errno));
|
||||
freeaddrinfo(result);
|
||||
return false;
|
||||
}
|
||||
// set the reuse of the socket if previously opened :
|
||||
int sockOpt = 1;
|
||||
if(setsockopt(m_socketId, SOL_SOCKET, SO_REUSEADDR, (const char*)&sockOpt, sizeof(int)) != 0) {
|
||||
ENET_ERROR("ERROR while configuring socket re-use : errno=" << errno << "," << strerror(errno));
|
||||
return false;
|
||||
}
|
||||
ENET_INFO("Start binding Socket ... (can take some time ...)");
|
||||
if (bind(m_socketId, result->ai_addr, (int)result->ai_addrlen) == SOCKET_ERROR) {
|
||||
ENET_ERROR("ERROR on binding errno=" << WSAGetLastError());
|
||||
freeaddrinfo(result);
|
||||
closesocket(m_socketId);
|
||||
m_socketId = INVALID_SOCKET;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
bool enet::TcpServer::link() {
|
||||
if (enet::isInit() == false) {
|
||||
ENET_ERROR("Need call enet::init(...) before accessing to the socket");
|
||||
return false;
|
||||
}
|
||||
ENET_INFO("Start connection on " << m_host << ":" << m_port);
|
||||
// open in Socket normal mode
|
||||
m_socketId = socket(AF_INET, SOCK_STREAM, 0);
|
||||
if (m_socketId < 0) {
|
||||
ENET_ERROR("ERROR while opening socket : errno=" << errno << "," << strerror(errno));
|
||||
return false;
|
||||
}
|
||||
// set the reuse of the socket if previously opened :
|
||||
int sockOpt = 1;
|
||||
if(setsockopt(m_socketId, SOL_SOCKET, SO_REUSEADDR, (const char*)&sockOpt, sizeof(int)) != 0) {
|
||||
ENET_ERROR("ERROR while configuring socket re-use : errno=" << errno << "," << strerror(errno));
|
||||
return false;
|
||||
}
|
||||
// clear all
|
||||
struct sockaddr_in servAddr;
|
||||
bzero((char *) &servAddr, sizeof(servAddr));
|
||||
servAddr.sin_family = AF_INET;
|
||||
servAddr.sin_addr.s_addr = INADDR_ANY;
|
||||
servAddr.sin_port = htons(m_port);
|
||||
ENET_INFO("Start binding Socket ... (can take some time ...)");
|
||||
if (bind(m_socketId, (struct sockaddr *) &servAddr, sizeof(servAddr)) < 0) {
|
||||
ENET_ERROR("ERROR on binding errno=" << errno << "," << strerror(errno));
|
||||
#ifdef __TARGET_OS__Windows
|
||||
closesocket(m_socketId);
|
||||
m_socketId = INVALID_SOCKET;
|
||||
#else
|
||||
close(m_socketId);
|
||||
m_socketId = -1;
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
enet::Tcp enet::TcpServer::waitNext() {
|
||||
if (enet::isInit() == false) {
|
||||
ENET_ERROR("Need call enet::init(...) before accessing to the socket");
|
||||
return etk::move(enet::Tcp());
|
||||
}
|
||||
ENET_INFO("End binding Socket ... (start listen)");
|
||||
#ifdef __TARGET_OS__Windows
|
||||
int ret = listen(m_socketId, SOMAXCONN);
|
||||
if (ret == SOCKET_ERROR) {
|
||||
ENET_ERROR("listen failed with error: " << WSAGetLastError());
|
||||
return enet::Tcp();;
|
||||
}
|
||||
#else
|
||||
listen(m_socketId, 1); // 1 is for the number of connection at the same time ...
|
||||
#endif
|
||||
ENET_INFO("End listen Socket ... (start accept)");
|
||||
struct sockaddr_in clientAddr;
|
||||
socklen_t clilen = sizeof(clientAddr);
|
||||
int32_t socketIdClient = accept(m_socketId, (struct sockaddr *) &clientAddr, &clilen);
|
||||
if (socketIdClient < 0) {
|
||||
ENET_ERROR("ERROR on accept errno=" << errno << "," << strerror(errno));
|
||||
#ifdef __TARGET_OS__Windows
|
||||
closesocket(m_socketId);
|
||||
m_socketId = INVALID_SOCKET;
|
||||
#else
|
||||
close(m_socketId);
|
||||
m_socketId = -1;
|
||||
#endif
|
||||
|
||||
return enet::Tcp();
|
||||
}
|
||||
etk::String remoteAddress;
|
||||
{
|
||||
struct sockaddr_storage addr;
|
||||
char ipstr[INET6_ADDRSTRLEN];
|
||||
socklen_t len = sizeof(addr);
|
||||
getpeername(socketIdClient, (struct sockaddr*)&addr, &len);
|
||||
// deal with both IPv4 and IPv6:
|
||||
if (addr.ss_family == AF_INET) {
|
||||
struct sockaddr_in *s = (struct sockaddr_in *)&addr;
|
||||
int port = ntohs(s->sin_port);
|
||||
remoteAddress = etk::toString(s->sin_addr.s_addr&0xFF);
|
||||
remoteAddress += ".";
|
||||
remoteAddress += etk::toString((s->sin_addr.s_addr>>8)&0xFF);
|
||||
remoteAddress += ".";
|
||||
remoteAddress += etk::toString((s->sin_addr.s_addr>>16)&0xFF);
|
||||
remoteAddress += ".";
|
||||
remoteAddress += etk::toString((s->sin_addr.s_addr>>24)&0xFF);
|
||||
remoteAddress += ":";
|
||||
remoteAddress += etk::toString(port);
|
||||
} else { // AF_INET6
|
||||
struct sockaddr_in6 *s = (struct sockaddr_in6 *)&addr;
|
||||
int port = ntohs(s->sin6_port);
|
||||
remoteAddress = etk::toHex(s->sin6_addr.s6_addr[0], 2);
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[1], 2);
|
||||
remoteAddress += ".";
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[2], 2);
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[3], 2);
|
||||
remoteAddress += ".";
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[4], 2);
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[5], 2);
|
||||
remoteAddress += ".";
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[6], 2);
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[7], 2);
|
||||
remoteAddress += ".";
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[8], 2);
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[9], 2);
|
||||
remoteAddress += ".";
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[10], 2);
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[11], 2);
|
||||
remoteAddress += ".";
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[12], 2);
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[13], 2);
|
||||
remoteAddress += ".";
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[14], 2);
|
||||
remoteAddress += etk::toHex(s->sin6_addr.s6_addr[15], 2);
|
||||
remoteAddress += ":";
|
||||
remoteAddress += etk::toString(port);
|
||||
}
|
||||
}
|
||||
ENET_ERROR("End configuring Socket ... Find New one FROM " << remoteAddress);
|
||||
return enet::Tcp(socketIdClient, m_host + ":" + etk::toString(m_port), remoteAddress);
|
||||
}
|
||||
|
||||
|
||||
bool enet::TcpServer::unlink() {
|
||||
#ifdef __TARGET_OS__Windows
|
||||
if (m_socketId != INVALID_SOCKET) {
|
||||
ENET_INFO(" close server socket");
|
||||
closesocket(m_socketId);
|
||||
m_socketId = INVALID_SOCKET;
|
||||
}
|
||||
#else
|
||||
if (m_socketId >= 0) {
|
||||
ENET_INFO(" close server socket");
|
||||
close(m_socketId);
|
||||
m_socketId = -1;
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
#include <enet/Tcp.hpp>
|
||||
#ifdef __TARGET_OS__Windows
|
||||
|
||||
#else
|
||||
#include <poll.h>
|
||||
#endif
|
||||
|
||||
namespace enet {
|
||||
class TcpServer {
|
||||
private:
|
||||
#ifdef __TARGET_OS__Windows
|
||||
SOCKET m_socketId; //!< socket Windows interface generic
|
||||
#else
|
||||
int32_t m_socketId; //!< socket linux interface generic
|
||||
#endif
|
||||
#ifndef __TARGET_OS__Windows
|
||||
struct pollfd m_fds[1];
|
||||
#endif
|
||||
public:
|
||||
TcpServer();
|
||||
virtual ~TcpServer();
|
||||
private:
|
||||
etk::String m_host; //!< hostname/IP to connect with.
|
||||
public:
|
||||
/**
|
||||
* @brief Set the connection IP id.
|
||||
* @param[in] _first Firt number of the IP v4.
|
||||
* @param[in] _second Second number of the IP v4.
|
||||
* @param[in] _third Third number of the IP v4.
|
||||
* @param[in] _quatro Quatro number of the IP v4.
|
||||
*/
|
||||
void setIpV4(uint8_t _fist, uint8_t _second, uint8_t _third, uint8_t _quatro);
|
||||
/**
|
||||
* @brief set the Host name is the same things as set an Ip adress, but in test mode "127.0.0.1" or "localhost".
|
||||
* @param[in] _name Host name to connect.
|
||||
*/
|
||||
void setHostNane(const etk::String& _name);
|
||||
/**
|
||||
* @brief Get the decriptive name hot the host
|
||||
* @return the string requested
|
||||
*/
|
||||
const etk::String& getHostName() {
|
||||
return m_host;
|
||||
}
|
||||
private:
|
||||
uint16_t m_port; //!< IP port to connect with.
|
||||
public:
|
||||
/**
|
||||
* @brief set the port number to connect or to spy
|
||||
* @param[in] _port Number of the port requested
|
||||
*/
|
||||
void setPort(uint16_t _port);
|
||||
/**
|
||||
* @brief Get the port number.
|
||||
* @return The requested port number.
|
||||
*/
|
||||
uint16_t getPort() {
|
||||
return m_port;
|
||||
}
|
||||
public:
|
||||
bool link();
|
||||
bool unlink();
|
||||
/**
|
||||
* @brief Wait next extern connection
|
||||
* @return element with the connection
|
||||
*/
|
||||
enet::Tcp waitNext();
|
||||
};
|
||||
}
|
||||
|
@ -1,9 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <enet/debug.hpp>
|
||||
#include <enet/Udp.hpp>
|
||||
|
15
enet/Udp.hpp
@ -1,15 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
namespace enet {
|
||||
class Udp {
|
||||
public:
|
||||
Udp() { };
|
||||
virtual ~Udp() { };
|
||||
};
|
||||
}
|
||||
|
@ -1,590 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <enet/debug.hpp>
|
||||
#include <enet/WebSocket.hpp>
|
||||
#include <etk/Map.hpp>
|
||||
#include <etk/stdTools.hpp>
|
||||
#include <etk/String.hpp>
|
||||
#include <etk/tool.hpp>
|
||||
#include <algue/base64.hpp>
|
||||
#include <algue/sha1.hpp>
|
||||
|
||||
|
||||
|
||||
namespace enet {
|
||||
namespace websocket {
|
||||
static const uint32_t FLAG_FIN = 0x80;
|
||||
static const uint32_t FLAG_MASK = 0x80;
|
||||
static const uint32_t OPCODE_FRAME_TEXT = 0x01;
|
||||
static const uint32_t OPCODE_FRAME_BINARY = 0x02;
|
||||
static const uint32_t OPCODE_FRAME_CLOSE = 0x08;
|
||||
static const uint32_t OPCODE_FRAME_PING = 0x09;
|
||||
static const uint32_t OPCODE_FRAME_PONG = 0x0A;
|
||||
}
|
||||
}
|
||||
|
||||
enet::WebSocket::WebSocket() :
|
||||
m_connectionValidate(false),
|
||||
m_interface(null),
|
||||
m_observer(null),
|
||||
m_observerUriCheck(null) {
|
||||
|
||||
}
|
||||
|
||||
enet::WebSocket::WebSocket(enet::Tcp _connection, bool _isServer) :
|
||||
m_connectionValidate(false),
|
||||
m_interface(null),
|
||||
m_observer(null),
|
||||
m_observerUriCheck(null) {
|
||||
setInterface(etk::move(_connection), _isServer);
|
||||
}
|
||||
|
||||
const etk::String& enet::WebSocket::getRemoteAddress() const {
|
||||
if (m_interface == null) {
|
||||
static const etk::String tmpOut;
|
||||
return tmpOut;
|
||||
}
|
||||
return m_interface->getRemoteAddress();
|
||||
}
|
||||
|
||||
void enet::WebSocket::setInterface(enet::Tcp _connection, bool _isServer) {
|
||||
_connection.setTCPNoDelay(true);
|
||||
if (_isServer == true) {
|
||||
ememory::SharedPtr<enet::HttpServer> interface = ememory::makeShared<enet::HttpServer>(etk::move(_connection));
|
||||
m_interface = interface;
|
||||
if (interface != null) {
|
||||
interface->connectHeader(this, &enet::WebSocket::onReceiveRequest);
|
||||
}
|
||||
} else {
|
||||
ememory::SharedPtr<enet::HttpClient> interface = ememory::makeShared<enet::HttpClient>(etk::move(_connection));
|
||||
m_interface = interface;
|
||||
if (interface != null) {
|
||||
interface->connectHeader(this, &enet::WebSocket::onReceiveAnswer);
|
||||
}
|
||||
}
|
||||
if (m_interface == null) {
|
||||
ENET_ERROR("can not create interface for the websocket");
|
||||
return;
|
||||
}
|
||||
m_interface->connectRaw(this, &enet::WebSocket::onReceiveData);
|
||||
}
|
||||
|
||||
enet::WebSocket::~WebSocket() {
|
||||
if (m_interface == null) {
|
||||
return;
|
||||
}
|
||||
stop(true);
|
||||
}
|
||||
|
||||
static etk::String generateKey() {
|
||||
uint8_t dataKey[16];
|
||||
// create dynamic key:
|
||||
for (size_t iii=0; iii<16; ++iii) {
|
||||
dataKey[iii] = uint8_t(etk::tool::urand(0,255));
|
||||
}
|
||||
return algue::base64::encode(dataKey, 16);
|
||||
}
|
||||
|
||||
static etk::String generateCheckKey(const etk::String& _key) {
|
||||
etk::String out = _key + "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
|
||||
etk::Vector<uint8_t> keyData = algue::sha1::encode(out);
|
||||
return algue::base64::encode(keyData);
|
||||
}
|
||||
|
||||
void enet::WebSocket::start(const etk::String& _uri, const etk::Vector<etk::String>& _listProtocols) {
|
||||
if (m_interface == null) {
|
||||
ENET_ERROR("Nullptr interface ...");
|
||||
return;
|
||||
}
|
||||
if (m_interface->isServer() == true) {
|
||||
m_interface->start();
|
||||
} else {
|
||||
do {
|
||||
m_redirectInProgress = false;
|
||||
m_interface->start();
|
||||
enet::HttpRequest req(enet::HTTPReqType::HTTP_GET);
|
||||
req.setProtocol(enet::HTTPProtocol::http_1_1);
|
||||
req.setUri(_uri);
|
||||
req.setKey("Upgrade", "websocket");
|
||||
req.setKey("Connection", "Upgrade");
|
||||
m_checkKey = generateKey();
|
||||
req.setKey("Sec-WebSocket-Key", m_checkKey); // this is an example key ...
|
||||
m_checkKey = generateCheckKey(m_checkKey);
|
||||
req.setKey("Sec-WebSocket-Version", "13");
|
||||
req.setKey("Pragma", "no-cache");
|
||||
req.setKey("Cache-Control", "no-cache");
|
||||
etk::String protocolList;
|
||||
for (auto &it : _listProtocols) {
|
||||
if (it == "") {
|
||||
continue;
|
||||
}
|
||||
if (protocolList != "") {
|
||||
protocolList += ", ";
|
||||
}
|
||||
protocolList += it;
|
||||
}
|
||||
if (protocolList != "") {
|
||||
req.setKey("Sec-WebSocket-Protocol", protocolList);
|
||||
}
|
||||
ememory::SharedPtr<enet::HttpClient> interface = ememory::dynamicPointerCast<enet::HttpClient>(m_interface);
|
||||
if (interface != null) {
|
||||
interface->setHeader(req);
|
||||
int32_t timeout = 500000; // 5 second
|
||||
while ( timeout>=0
|
||||
&& m_redirectInProgress == false) {
|
||||
if ( m_connectionValidate == true
|
||||
|| m_interface->isAlive() == false) {
|
||||
break;
|
||||
}
|
||||
ethread::sleepMilliSeconds(10);
|
||||
timeout--;
|
||||
}
|
||||
if (m_redirectInProgress == true) {
|
||||
ENET_WARNING("Request a redirection (wait 500ms)");
|
||||
ethread::sleepMilliSeconds(500);
|
||||
ENET_WARNING("Request a redirection (wait-end)");
|
||||
} else {
|
||||
if ( m_connectionValidate == false
|
||||
|| m_interface->isAlive() == false) {
|
||||
ENET_ERROR("Connection refused by SERVER ...");
|
||||
}
|
||||
}
|
||||
}
|
||||
} while (m_redirectInProgress == true);
|
||||
}
|
||||
}
|
||||
|
||||
void enet::WebSocket::stop(bool _inThread) {
|
||||
ENET_DEBUG("Stop interface ...");
|
||||
if (m_interface == null) {
|
||||
ENET_ERROR("Nullptr interface ...");
|
||||
return;
|
||||
}
|
||||
m_interface->stop(_inThread);
|
||||
// deadlock ... m_interface.reset();
|
||||
}
|
||||
|
||||
void enet::WebSocket::onReceiveData(enet::Tcp& _connection) {
|
||||
uint8_t opcode = 0;
|
||||
int32_t len = _connection.read(&opcode, sizeof(uint8_t));
|
||||
if (len <= 0) {
|
||||
if (len < 0) {
|
||||
if (_connection.getConnectionStatus() == enet::Tcp::status::link) {
|
||||
ENET_ERROR("Protocol error occured ...");
|
||||
}
|
||||
ENET_VERBOSE("ReadRaw 1 [STOP]");
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
ENET_ERROR("Time out ... ==> not managed ...");
|
||||
ENET_VERBOSE("ReadRaw 2 [STOP]");
|
||||
return;
|
||||
}
|
||||
m_lastReceive = echrono::Steady::now();
|
||||
if ((opcode & 0x80) == 0) {
|
||||
ENET_ERROR("Multiple frames ... NOT managed ... : " << (opcode & 0x80) << (opcode & 0x40) << (opcode & 0x20) << (opcode & 0x10) << (opcode & 0x08) << (opcode & 0x04) << (opcode & 0x02) << (opcode & 0x01));
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
int8_t size1 = 0;
|
||||
len = _connection.read(&size1, sizeof(uint8_t));
|
||||
int32_t maxIteration = 50;
|
||||
// We must get the payload size in all case ... ==> otherwise it create problems
|
||||
while ( len <= 0
|
||||
&& maxIteration > 0) {
|
||||
if (len < 0) {
|
||||
if (_connection.getConnectionStatus() == enet::Tcp::status::link) {
|
||||
ENET_ERROR("Protocol error occured ...");
|
||||
}
|
||||
ENET_VERBOSE("ReadRaw 1 [STOP]");
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
ENET_ERROR("Time out ... ==> not managed ...");
|
||||
ENET_VERBOSE("ReadRaw 2 [STOP]");
|
||||
len = _connection.read(&size1, sizeof(uint8_t));
|
||||
maxIteration--;
|
||||
}
|
||||
if (maxIteration <= 0) {
|
||||
ENET_ERROR("Can not read the Socket >> auto kill");
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
uint64_t totalSize = size1 & 0x7F;
|
||||
if (totalSize == 126) {
|
||||
uint16_t tmpSize;
|
||||
len = _connection.read(&tmpSize, sizeof(uint16_t));
|
||||
if (len <= 1) {
|
||||
if (len < 0) {
|
||||
if (_connection.getConnectionStatus() == enet::Tcp::status::link) {
|
||||
ENET_ERROR("Protocol error occured ...");
|
||||
}
|
||||
ENET_VERBOSE("ReadRaw 1 [STOP]");
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
ENET_ERROR("Time out ... ==> not managed ...");
|
||||
ENET_VERBOSE("ReadRaw 2 [STOP]");
|
||||
return;
|
||||
}
|
||||
totalSize = tmpSize;
|
||||
} else if (totalSize == 127) {
|
||||
len = _connection.read(&totalSize, sizeof(uint64_t));
|
||||
if (len <= 7) {
|
||||
if (len < 0) {
|
||||
if (_connection.getConnectionStatus() == enet::Tcp::status::link) {
|
||||
ENET_ERROR("Protocol error occured ...");
|
||||
}
|
||||
ENET_VERBOSE("ReadRaw 1 [STOP]");
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
ENET_ERROR("Time out ... ==> not managed ...");
|
||||
ENET_VERBOSE("ReadRaw 2 [STOP]");
|
||||
return;
|
||||
}
|
||||
}
|
||||
uint8_t dataMask[4];
|
||||
// Need get the mask:
|
||||
if ((size1 & 0x80) != 0) {
|
||||
len = _connection.read(&dataMask, sizeof(uint32_t));
|
||||
if (len <= 3) {
|
||||
if (len < 0) {
|
||||
if (_connection.getConnectionStatus() == enet::Tcp::status::link) {
|
||||
ENET_ERROR("Protocol error occured ...");
|
||||
}
|
||||
ENET_VERBOSE("ReadRaw 1 [STOP]");
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
ENET_ERROR("Time out ... ==> not managed ...");
|
||||
ENET_VERBOSE("ReadRaw 2 [STOP]");
|
||||
return;
|
||||
}
|
||||
}
|
||||
m_buffer.resize(totalSize);
|
||||
if (totalSize > 0) {
|
||||
uint64_t offset = 0;
|
||||
while (offset != totalSize) {
|
||||
len = _connection.read(&m_buffer[offset], totalSize-offset);
|
||||
offset += len;
|
||||
if (len == 0) {
|
||||
ENET_WARNING("Read No data");
|
||||
}
|
||||
if (len < 0) {
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
// Need apply the mask:
|
||||
if ((size1 & 0x80) != 0) {
|
||||
for (size_t iii= 0; iii<m_buffer.size(); ++iii) {
|
||||
m_buffer[iii] ^= dataMask[iii%4];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// check opcode:
|
||||
if ((opcode & 0x0F) == enet::websocket::OPCODE_FRAME_CLOSE) {
|
||||
// Close the conection by remote:
|
||||
ENET_WARNING("Close connection by remote :");
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
if ((opcode & 0x0F) == enet::websocket::OPCODE_FRAME_PING) {
|
||||
// Close the conection by remote:
|
||||
ENET_WARNING("Receive a ping (send a pong)");
|
||||
controlPong();
|
||||
return;
|
||||
}
|
||||
if ((opcode & 0x0F) == enet::websocket::OPCODE_FRAME_PONG) {
|
||||
// Close the conection by remote:
|
||||
ENET_WARNING("Receive a pong");
|
||||
return;
|
||||
}
|
||||
if ((opcode & 0x0F) == enet::websocket::OPCODE_FRAME_TEXT) {
|
||||
// Close the conection by remote:
|
||||
ENET_WARNING("Receive a Text(UTF-8) data " << m_buffer.size() << " Bytes");
|
||||
if (m_observer != null) {
|
||||
m_observer(m_buffer, true);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if ((opcode & 0x0F) == enet::websocket::OPCODE_FRAME_BINARY) {
|
||||
// Close the conection by remote:
|
||||
if (m_observer != null) {
|
||||
m_observer(m_buffer, false);
|
||||
}
|
||||
return;
|
||||
}
|
||||
ENET_ERROR("ReadRaw [STOP] (no opcode manage ... " << int32_t(opcode & 0x0F));
|
||||
}
|
||||
|
||||
static etk::String removeStartAndStopSpace(const etk::String& _value) {
|
||||
etk::String out;
|
||||
out.reserve(_value.size());
|
||||
bool findSpace = false;
|
||||
for (auto &it : _value) {
|
||||
if (it != ' ') {
|
||||
if ( findSpace == true
|
||||
&& out.size() != 0) {
|
||||
out += ' ';
|
||||
}
|
||||
out += it;
|
||||
findSpace = false;
|
||||
} else {
|
||||
findSpace = true;
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
void enet::WebSocket::onReceiveRequest(const enet::HttpRequest& _data) {
|
||||
ememory::SharedPtr<enet::HttpServer> interface = ememory::dynamicPointerCast<enet::HttpServer>(m_interface);
|
||||
if (interface == null) {
|
||||
ENET_ERROR("Nullptr interface ...");
|
||||
return;
|
||||
}
|
||||
_data.display();
|
||||
if (_data.getType() != enet::HTTPReqType::HTTP_GET) {
|
||||
enet::HttpAnswer answer(enet::HTTPAnswerCode::c400_badRequest, "support only GET");
|
||||
answer.setProtocol(enet::HTTPProtocol::http_1_1);
|
||||
answer.setKey("Connection", "close");
|
||||
interface->setHeader(answer);
|
||||
interface->stop(true);
|
||||
return;
|
||||
}
|
||||
if (_data.getKey("Connection") == "close") {
|
||||
enet::HttpAnswer answer(enet::HTTPAnswerCode::c200_ok);
|
||||
answer.setProtocol(enet::HTTPProtocol::http_1_1);
|
||||
answer.setKey("Connection", "close");
|
||||
interface->setHeader(answer);
|
||||
interface->stop(true);
|
||||
return;
|
||||
}
|
||||
if (_data.getKey("Upgrade") != "websocket") {
|
||||
enet::HttpAnswer answer(enet::HTTPAnswerCode::c400_badRequest, "websocket support only with Upgrade: websocket");
|
||||
answer.setProtocol(enet::HTTPProtocol::http_1_1);
|
||||
answer.setKey("Connection", "close");
|
||||
interface->setHeader(answer);
|
||||
interface->stop(true);
|
||||
return;
|
||||
}
|
||||
if (_data.getKey("Sec-WebSocket-Key") == "") {
|
||||
enet::HttpAnswer answer(enet::HTTPAnswerCode::c400_badRequest, "websocket missing 'Sec-WebSocket-Key'");
|
||||
answer.setProtocol(enet::HTTPProtocol::http_1_1);
|
||||
answer.setKey("Connection", "close");
|
||||
interface->setHeader(answer);
|
||||
interface->stop(true);
|
||||
return;
|
||||
}
|
||||
// parse all protocols:
|
||||
etk::Vector<etk::String> listProtocol;
|
||||
if (_data.getKey("Sec-WebSocket-Protocol") != "") {
|
||||
listProtocol = etk::split(_data.getKey("Sec-WebSocket-Protocol"),',');
|
||||
for (size_t iii=0; iii<listProtocol.size(); ++iii) {
|
||||
listProtocol[iii] = removeStartAndStopSpace(listProtocol[iii]);
|
||||
}
|
||||
}
|
||||
if (m_observerUriCheck != null) {
|
||||
etk::String ret = m_observerUriCheck(_data.getUri(), listProtocol);
|
||||
if (ret == "OK") {
|
||||
// Nothing to do
|
||||
} else if (ret.startWith("REDIRECT:") == true) {
|
||||
ENET_INFO("Request redirection of HTTP/WebSocket connection to : '" << ret.extract(9, ret.size()) << "'");
|
||||
enet::HttpAnswer answer(enet::HTTPAnswerCode::c307_temporaryRedirect);
|
||||
answer.setProtocol(enet::HTTPProtocol::http_1_1);
|
||||
answer.setKey("Location", ret.extract(9, ret.size()));
|
||||
interface->setHeader(answer);
|
||||
interface->stop(true);
|
||||
return;
|
||||
} else {
|
||||
if (ret != "CLOSE") {
|
||||
ENET_ERROR("UNKNOW return type of URI request: '" << ret << "'");
|
||||
}
|
||||
enet::HttpAnswer answer(enet::HTTPAnswerCode::c404_notFound);
|
||||
answer.setProtocol(enet::HTTPProtocol::http_1_1);
|
||||
answer.setKey("Connection", "close");
|
||||
interface->setHeader(answer);
|
||||
interface->stop(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
enet::HttpAnswer answer(enet::HTTPAnswerCode::c101_switchingProtocols);
|
||||
answer.setProtocol(enet::HTTPProtocol::http_1_1);
|
||||
answer.setKey("Upgrade", "websocket");
|
||||
answer.setKey("Connection", "Upgrade");
|
||||
etk::String answerKey = generateCheckKey(_data.getKey("Sec-WebSocket-Key"));
|
||||
answer.setKey("Sec-WebSocket-Accept", answerKey);
|
||||
if (m_protocol != "") {
|
||||
answer.setKey("Sec-WebSocket-Protocol", m_protocol);
|
||||
}
|
||||
interface->setHeader(answer);
|
||||
}
|
||||
|
||||
void enet::WebSocket::onReceiveAnswer(const enet::HttpAnswer& _data) {
|
||||
if (m_interface == null) {
|
||||
ENET_ERROR("Nullptr interface ...");
|
||||
return;
|
||||
}
|
||||
_data.display();
|
||||
if (_data.getErrorCode() == enet::HTTPAnswerCode::c307_temporaryRedirect) {
|
||||
ENET_ERROR("Request connection redirection to '" << _data.getKey("Location") << "'");
|
||||
// We are a client mode, we need to recreate a TCP connection on the new remote interface
|
||||
// This is the generic way to accept a redirection
|
||||
m_redirectInProgress = true;
|
||||
m_interface->redirectTo(_data.getKey("Location"), true);
|
||||
return;
|
||||
}
|
||||
if (_data.getErrorCode() != enet::HTTPAnswerCode::c101_switchingProtocols) {
|
||||
ENET_ERROR("change protocol has not been accepted ... " << _data.getErrorCode() << " with message : " << _data.getHelp());
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
if (_data.getKey("Connection") != "Upgrade") {
|
||||
ENET_ERROR("Missing key : 'Connection : Upgrade' get '" << _data.getKey("Connection") << "'");
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
if (_data.getKey("Upgrade") != "websocket") {
|
||||
ENET_ERROR("Missing key : 'Upgrade : websocket' get '" << _data.getKey("Upgrade") << "'");
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
// NOTE : This is a temporary magic check ...
|
||||
if (_data.getKey("Sec-WebSocket-Accept") != m_checkKey) {
|
||||
ENET_ERROR("Wrong key : 'Sec-WebSocket-Accept : xxx' get '" << _data.getKey("Sec-WebSocket-Accept") << "'");
|
||||
m_interface->stop(true);
|
||||
return;
|
||||
}
|
||||
setProtocol(_data.getKey("Sec-WebSocket-Protocol"));
|
||||
// TODO : Create a methode to check the current protocol ...
|
||||
// now we can release the client call connection ...
|
||||
m_connectionValidate = true;
|
||||
}
|
||||
#define ZEUS_BASE_OFFSET_HEADER (15)
|
||||
bool enet::WebSocket::configHeader(bool _isString, bool _mask) {
|
||||
m_isString = _isString;
|
||||
m_haveMask = _mask;
|
||||
m_sendBuffer.clear();
|
||||
m_sendBuffer.resize(ZEUS_BASE_OFFSET_HEADER, 0);
|
||||
if (_mask == true) {
|
||||
m_dataMask[0] = uint8_t(etk::tool::urand(0,255));
|
||||
m_dataMask[1] = uint8_t(etk::tool::urand(0,255));
|
||||
m_dataMask[2] = uint8_t(etk::tool::urand(0,255));
|
||||
m_dataMask[3] = uint8_t(etk::tool::urand(0,255));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
int32_t enet::WebSocket::writeData(uint8_t* _data, int32_t _len) {
|
||||
size_t offset = m_sendBuffer.size();
|
||||
m_sendBuffer.resize(offset + _len);
|
||||
memcpy(&m_sendBuffer[offset], _data, _len);
|
||||
return _len;
|
||||
}
|
||||
|
||||
int32_t enet::WebSocket::send() {
|
||||
if (m_interface == null) {
|
||||
ENET_ERROR("Nullptr interface ...");
|
||||
return -1;
|
||||
}
|
||||
if (m_haveMask == true) {
|
||||
for (size_t iii=ZEUS_BASE_OFFSET_HEADER; iii<m_sendBuffer.size(); ++iii) {
|
||||
m_sendBuffer[iii] ^= m_dataMask[iii%4];
|
||||
}
|
||||
}
|
||||
uint8_t mask = 0;
|
||||
if (m_haveMask == true) {
|
||||
mask = enet::websocket::FLAG_MASK;
|
||||
}
|
||||
int32_t offsetStart = ZEUS_BASE_OFFSET_HEADER-1;
|
||||
if (m_haveMask == true ) {
|
||||
m_sendBuffer[offsetStart--] = m_dataMask[3];
|
||||
m_sendBuffer[offsetStart--] = m_dataMask[2];
|
||||
m_sendBuffer[offsetStart--] = m_dataMask[1];
|
||||
m_sendBuffer[offsetStart--] = m_dataMask[0];
|
||||
}
|
||||
int32_t messageSize = m_sendBuffer.size()-ZEUS_BASE_OFFSET_HEADER;
|
||||
if (messageSize < 126) {
|
||||
m_sendBuffer[offsetStart--] = messageSize | mask;
|
||||
} else if (messageSize < 65338) {
|
||||
offsetStart -= sizeof(uint16_t);
|
||||
uint16_t* size = (uint16_t*)(&m_sendBuffer[offsetStart+1]);
|
||||
*size = messageSize;
|
||||
m_sendBuffer[offsetStart--] = 126 | mask;
|
||||
} else {
|
||||
offsetStart -= sizeof(uint64_t);
|
||||
uint64_t* size = (uint64_t*)(&m_sendBuffer[offsetStart+1]);
|
||||
*size = messageSize;
|
||||
m_sendBuffer[offsetStart--] = 127 | mask;
|
||||
}
|
||||
uint8_t header = enet::websocket::FLAG_FIN;
|
||||
if (m_isString == false) {
|
||||
header |= enet::websocket::OPCODE_FRAME_BINARY;
|
||||
} else {
|
||||
header |= enet::websocket::OPCODE_FRAME_TEXT;
|
||||
}
|
||||
m_sendBuffer[offsetStart] = header;
|
||||
//ENET_VERBOSE("buffersize=" << messageSize << " + " << ZEUS_BASE_OFFSET_HEADER-offsetStart);
|
||||
int32_t val = m_interface->write(&m_sendBuffer[offsetStart], m_sendBuffer.size()-offsetStart);
|
||||
m_sendBuffer.clear();
|
||||
m_sendBuffer.resize(ZEUS_BASE_OFFSET_HEADER, 0);
|
||||
return val;
|
||||
}
|
||||
|
||||
int32_t enet::WebSocket::write(const void* _data, int32_t _len, bool _isString, bool _mask) {
|
||||
ethread::UniqueLock lock(m_mutex);
|
||||
if (configHeader(_isString, _mask) == false) {
|
||||
return -1;
|
||||
}
|
||||
writeData((uint8_t*)_data, _len);
|
||||
return send();
|
||||
}
|
||||
|
||||
void enet::WebSocket::controlPing() {
|
||||
if (m_interface == null) {
|
||||
ENET_ERROR("Nullptr interface ...");
|
||||
return;
|
||||
}
|
||||
ethread::UniqueLock lock(m_mutex);
|
||||
uint8_t header = enet::websocket::FLAG_FIN
|
||||
| enet::websocket::OPCODE_FRAME_PING;
|
||||
m_lastSend = echrono::Steady::now();
|
||||
m_interface->write(&header, sizeof(uint8_t));
|
||||
header = 0;
|
||||
m_interface->write(&header, sizeof(uint8_t));
|
||||
}
|
||||
|
||||
void enet::WebSocket::controlPong() {
|
||||
if (m_interface == null) {
|
||||
ENET_ERROR("Nullptr interface ...");
|
||||
return;
|
||||
}
|
||||
ethread::UniqueLock lock(m_mutex);
|
||||
uint8_t header = enet::websocket::FLAG_FIN
|
||||
| enet::websocket::OPCODE_FRAME_PONG;
|
||||
m_lastSend = echrono::Steady::now();
|
||||
m_interface->write(&header, sizeof(uint8_t));
|
||||
header = 0;
|
||||
m_interface->write(&header, sizeof(uint8_t));
|
||||
}
|
||||
|
||||
void enet::WebSocket::controlClose() {
|
||||
if (m_interface == null) {
|
||||
ENET_ERROR("Nullptr interface ...");
|
||||
return;
|
||||
}
|
||||
ethread::UniqueLock lock(m_mutex);
|
||||
uint8_t header = enet::websocket::FLAG_FIN
|
||||
| enet::websocket::OPCODE_FRAME_CLOSE;
|
||||
m_lastSend = echrono::Steady::now();
|
||||
m_interface->write(&header, sizeof(uint8_t));
|
||||
header = 0;
|
||||
m_interface->write(&header, sizeof(uint8_t));
|
||||
}
|
||||
|
@ -1,178 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <enet/Http.hpp>
|
||||
#include <ememory/memory.hpp>
|
||||
#include <echrono/Steady.hpp>
|
||||
#include <etk/Vector.hpp>
|
||||
#include <etk/Map.hpp>
|
||||
|
||||
namespace enet {
|
||||
class WebSocket {
|
||||
protected:
|
||||
etk::Vector<uint8_t> m_sendBuffer;
|
||||
bool m_connectionValidate;
|
||||
ememory::SharedPtr<enet::Http> m_interface;
|
||||
etk::Vector<uint8_t> m_buffer;
|
||||
etk::String m_checkKey;
|
||||
echrono::Steady m_lastReceive;
|
||||
echrono::Steady m_lastSend;
|
||||
ethread::Mutex m_mutex;
|
||||
bool m_redirectInProgress = false;
|
||||
public:
|
||||
const echrono::Steady& getLastTimeReceive() {
|
||||
return m_lastReceive;
|
||||
}
|
||||
const echrono::Steady& getLastTimeSend() {
|
||||
return m_lastSend;
|
||||
}
|
||||
public:
|
||||
WebSocket();
|
||||
WebSocket(enet::Tcp _connection, bool _isServer=false);
|
||||
void setInterface(enet::Tcp _connection, bool _isServer=false);
|
||||
virtual ~WebSocket();
|
||||
void start(const etk::String& _uri="", const etk::Vector<etk::String>& _listProtocols=etk::Vector<etk::String>());
|
||||
void stop(bool _inThread=false);
|
||||
bool isAlive() const {
|
||||
if (m_interface == null) {
|
||||
return false;
|
||||
}
|
||||
return m_interface->isAlive();
|
||||
}
|
||||
void onReceiveData(enet::Tcp& _data);
|
||||
void onReceiveRequest(const enet::HttpRequest& _data);
|
||||
void onReceiveAnswer(const enet::HttpAnswer& _data);
|
||||
protected:
|
||||
etk::String m_protocol;
|
||||
public:
|
||||
void setProtocol(const etk::String& _protocol) {
|
||||
m_protocol = _protocol;
|
||||
}
|
||||
public:
|
||||
/**
|
||||
* @brief Get the address of the connection source IP:port or empty string
|
||||
* @return string with the remote address name.
|
||||
*/
|
||||
const etk::String& getRemoteAddress() const;
|
||||
public:
|
||||
using Observer = etk::Function<void(etk::Vector<uint8_t>&, bool)>; //!< Define an Observer: function pointer
|
||||
protected:
|
||||
Observer m_observer;
|
||||
public:
|
||||
/**
|
||||
* @brief Connect an function member on the signal with the shared_ptr object.
|
||||
* @param[in] _class shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr.
|
||||
* @param[in] _func Function to call.
|
||||
* @param[in] _args Argument optinnal the user want to add.
|
||||
*/
|
||||
template<class CLASS_TYPE>
|
||||
void connect(CLASS_TYPE* _class, void (CLASS_TYPE::*_func)(etk::Vector<uint8_t>&, bool)) {
|
||||
m_observer = [=](etk::Vector<uint8_t>& _value, bool _isString){
|
||||
(*_class.*_func)(_value, _isString);
|
||||
};
|
||||
}
|
||||
void connect(Observer _func) {
|
||||
m_observer = _func;
|
||||
}
|
||||
// Only server:
|
||||
public:
|
||||
/**
|
||||
* @brief Define an Observer: function pointer
|
||||
* @param[in] _uri Current HTTP URI
|
||||
* @param[in] _protocols List of protocol requested
|
||||
* @return "OK" Connection accepted ==> send header
|
||||
* @return "CLOSE" Close the current connection: 404
|
||||
* @return "REDIRECT:IP:port" Redirect at the specific IP and port
|
||||
*/
|
||||
using ObserverUriCheck = etk::Function<etk::String(const etk::String&, const etk::Vector<etk::String>&)>;
|
||||
protected:
|
||||
ObserverUriCheck m_observerUriCheck;
|
||||
public:
|
||||
/**
|
||||
* @brief Connect an function member on the signal with the shared_ptr object.
|
||||
* @param[in] _class shared_ptr Object on whe we need to call ==> the object is get in keeped in weak_ptr.
|
||||
* @param[in] _func Function to call.
|
||||
* @param[in] _args Argument optinnal the user want to add.
|
||||
*/
|
||||
template<class CLASS_TYPE>
|
||||
void connectUri(CLASS_TYPE* _class, etk::String (CLASS_TYPE::*_func)(const etk::String&, const etk::Vector<etk::String>&)) {
|
||||
m_observerUriCheck = [=](const etk::String& _value, const etk::Vector<etk::String>& _protocols){
|
||||
return (*_class.*_func)(_value, _protocols);
|
||||
};
|
||||
}
|
||||
void connectUri(ObserverUriCheck _func) {
|
||||
m_observerUriCheck = _func;
|
||||
}
|
||||
private:
|
||||
bool m_isString;
|
||||
bool m_haveMask;
|
||||
uint8_t m_dataMask[4];
|
||||
public:
|
||||
ethread::UniqueLock getScopeLock() {
|
||||
return etk::move(ethread::UniqueLock(m_mutex));
|
||||
}
|
||||
/**
|
||||
* Compose the local header inside a temporary buffer ==> must lock external to prevent multiple simultaneous access
|
||||
*/
|
||||
bool configHeader(bool _isString=false, bool _mask= false);
|
||||
/**
|
||||
* CWrite data in a temporary buffer ==> must lock external to prevent multiple simultaneous access
|
||||
*/
|
||||
int32_t writeData(uint8_t* _data, int32_t _len);
|
||||
/**
|
||||
* Use temporary buffer to send it in the socket ==> must lock external to prevent multiple simultaneous access
|
||||
*/
|
||||
int32_t send();
|
||||
/**
|
||||
* @brief Write a chunk of data on the socket
|
||||
* @param[in] _data pointer on the data might be write
|
||||
* @param[in] _len Size that must be written socket
|
||||
* @return >0 byte size on the socket write
|
||||
* @return -1 an error occured.
|
||||
* @note: This function is locked ...
|
||||
*/
|
||||
int32_t write(const void* _data, int32_t _len, bool _isString=false, bool _mask= false);
|
||||
/**
|
||||
* @brief Write a chunk of data on the socket
|
||||
* @param[in] _data String to rite on the soccket
|
||||
* @param[in] _writeBackSlashZero if false, the \0 is not write
|
||||
* @return >0 byte size on the socket write
|
||||
* @return -1 an error occured.
|
||||
*/
|
||||
int32_t write(const etk::String& _data, bool _writeBackSlashZero = true) {
|
||||
if (_data.size() == 0) {
|
||||
return 0;
|
||||
}
|
||||
if (_writeBackSlashZero == true) {
|
||||
return write(_data.c_str(), _data.size()+1, true);
|
||||
}
|
||||
return write(_data.c_str(), _data.size(), true);
|
||||
}
|
||||
/**
|
||||
* @brief Write a chunk of data on the socket
|
||||
* @param[in] _data String to rite on the soccket
|
||||
* @param[in] _writeBackSlashZero if false, the \0 is not write
|
||||
* @return >0 T element write on the socket
|
||||
* @return -1 an error occured.
|
||||
*/
|
||||
template <class T>
|
||||
int32_t write(const etk::Vector<T>& _data) {
|
||||
if (_data.size() == 0) {
|
||||
return 0;
|
||||
}
|
||||
size_t ret = write(&_data[0], _data.size()*sizeof(T));
|
||||
if (ret <=0) {
|
||||
return ret;
|
||||
}
|
||||
return ret/sizeof(T);
|
||||
}
|
||||
public:
|
||||
void controlPing();
|
||||
void controlPong();
|
||||
void controlClose();
|
||||
};
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#include <enet/debug.hpp>
|
||||
|
||||
int32_t enet::getLogId() {
|
||||
static int32_t g_val = elog::registerInstance("enet");
|
||||
return g_val;
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <elog/log.hpp>
|
||||
|
||||
namespace enet {
|
||||
int32_t getLogId();
|
||||
};
|
||||
|
||||
#define ENET_BASE(info,data) ELOG_BASE(enet::getLogId(),info,data)
|
||||
|
||||
#define ENET_PRINT(data) ENET_BASE(-1, data)
|
||||
#define ENET_CRITICAL(data) ENET_BASE(1, data)
|
||||
#define ENET_ERROR(data) ENET_BASE(2, data)
|
||||
#define ENET_WARNING(data) ENET_BASE(3, data)
|
||||
#ifdef DEBUG
|
||||
#define ENET_INFO(data) ENET_BASE(4, data)
|
||||
#define ENET_DEBUG(data) ENET_BASE(5, data)
|
||||
#define ENET_VERBOSE(data) ENET_BASE(6, data)
|
||||
#define ENET_TODO(data) ENET_BASE(4, "TODO : " << data)
|
||||
#else
|
||||
#define ENET_INFO(data) do { } while(false)
|
||||
#define ENET_DEBUG(data) do { } while(false)
|
||||
#define ENET_VERBOSE(data) do { } while(false)
|
||||
#define ENET_TODO(data) do { } while(false)
|
||||
#endif
|
||||
|
||||
#define ENET_ASSERT(cond,data) \
|
||||
do { \
|
||||
if (!(cond)) { \
|
||||
ENET_CRITICAL(data); \
|
||||
assert(!#cond); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
@ -1,54 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#include <enet/enet.hpp>
|
||||
#include <enet/debug.hpp>
|
||||
|
||||
static bool& getInitSatatus() {
|
||||
static bool isInit = false;
|
||||
return isInit;
|
||||
}
|
||||
#ifdef __TARGET_OS__Windows
|
||||
#include <winsock2.h>
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
|
||||
WSADATA wsaData;
|
||||
#endif
|
||||
|
||||
void enet::init(int _argc, const char** _argv) {
|
||||
for (int32_t iii=0; iii<_argc; ++iii) {
|
||||
etk::String value = _argv[iii];
|
||||
if (etk::start_with(value, "--enet") == true) {
|
||||
ENET_ERROR("Unknow parameter type: '" << value << "'");
|
||||
}
|
||||
}
|
||||
if (getInitSatatus() == false) {
|
||||
#ifdef __TARGET_OS__Windows
|
||||
// Initialize Winsock
|
||||
int iResult = WSAStartup(MAKEWORD(2,2), &wsaData);
|
||||
if (iResult != 0) {
|
||||
ENET_ERROR("WSAStartup failed with error: " << iResult);
|
||||
}
|
||||
#endif
|
||||
getInitSatatus() = true;
|
||||
}
|
||||
}
|
||||
|
||||
void enet::unInit() {
|
||||
if (getInitSatatus() == false) {
|
||||
ENET_ERROR("Request UnInit of enent already done ...");
|
||||
} else {
|
||||
#ifdef __TARGET_OS__Windows
|
||||
WSACleanup();
|
||||
#endif
|
||||
}
|
||||
getInitSatatus() = false;
|
||||
}
|
||||
|
||||
|
||||
bool enet::isInit() {
|
||||
return getInitSatatus();
|
||||
}
|
||||
|
@ -1,34 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <enet/Udp.hpp>
|
||||
#include <enet/Tcp.hpp>
|
||||
#include <enet/Http.hpp>
|
||||
#include <enet/Ftp.hpp>
|
||||
|
||||
|
||||
/**
|
||||
* @brief Main esvg namespace
|
||||
*/
|
||||
namespace enet {
|
||||
/**
|
||||
* @brief Initialize enet
|
||||
* @param[in] _argc Number of argument list
|
||||
* @param[in] _argv List of arguments
|
||||
*/
|
||||
void init(int _argc, const char** _argv);
|
||||
/**
|
||||
* @brief un-Initialize enet
|
||||
*/
|
||||
void unInit();
|
||||
/**
|
||||
* @brief Check if the library is initialized
|
||||
* @return bool value to chek if initialize ot not
|
||||
*/
|
||||
bool isInit();
|
||||
}
|
||||
|
@ -1,100 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#include <enet/pourcentEncoding.hpp>
|
||||
#include <enet/debug.hpp>
|
||||
#include <etk/types.hpp>
|
||||
#include <etk/String.hpp>
|
||||
|
||||
const etk::String hexData = "0123456789ABCDEF";
|
||||
|
||||
etk::String enet::pourcentEncode(const etk::String& _data) {
|
||||
etk::String out;
|
||||
for (auto &it : _data) {
|
||||
if ( (it >= 'a' && it <= 'z')
|
||||
|| (it >= 'A' && it <= 'Z')
|
||||
|| (it >= '0' && it <= '9')
|
||||
|| it == '-'
|
||||
|| it == '_'
|
||||
|| it == '.'
|
||||
|| it == '~') {
|
||||
out += it;
|
||||
} else {
|
||||
out += "%";
|
||||
out += hexData[(uint32_t(it)>>4)&0x0F];
|
||||
out += hexData[uint32_t(it)&0x0F];
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
static int32_t convertStringHexToInt(const char _value) {
|
||||
if (_value >= 'a' && _value <= 'z') {
|
||||
return int32_t(_value) - int32_t('a') + 10;
|
||||
}
|
||||
if (_value >= 'A' && _value <= 'Z') {
|
||||
return int32_t(_value) - int32_t('A') + 10;
|
||||
}
|
||||
if (_value >= '0' && _value <= '9') {
|
||||
return int32_t(_value) - int32_t('0');
|
||||
}
|
||||
ENET_ERROR("Not a hexadecimal Value: '" << _value << "'");
|
||||
return 0;
|
||||
}
|
||||
|
||||
etk::String enet::pourcentDecode(const etk::String& _data) {
|
||||
etk::String out;
|
||||
for (size_t iii=0; iii<_data.size(); ++iii) {
|
||||
auto it = _data[iii];
|
||||
if (it == '%') {
|
||||
if (iii+2 < _data.size()) {
|
||||
auto val1 = convertStringHexToInt(_data[iii+1])<<4;
|
||||
val1 += convertStringHexToInt(_data[iii+2]);
|
||||
out += char(val1);
|
||||
iii += 2;
|
||||
} else {
|
||||
ENET_ERROR("can not convert pourcent ==> input size error: '" << _data << "'");
|
||||
return out;
|
||||
}
|
||||
} else {
|
||||
out += it;
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
etk::String enet::pourcentUriEncode(const etk::Map<etk::String, etk::String>& _data) {
|
||||
etk::String out;
|
||||
for (auto &it: _data) {
|
||||
if (out.empty() == false) {
|
||||
out += "&";
|
||||
}
|
||||
out += enet::pourcentEncode(it.first);
|
||||
if (it.second.empty() == false) {
|
||||
out += "=";
|
||||
out += enet::pourcentEncode(it.second);
|
||||
}
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
etk::Map<etk::String, etk::String> enet::pourcentUriDecode(const etk::String& _data) {
|
||||
etk::Map<etk::String, etk::String> out;
|
||||
auto listElements = etk::split(_data, '&');
|
||||
for (auto &it : listElements) {
|
||||
if (it.size() == 0) {
|
||||
continue;
|
||||
}
|
||||
auto offset = it.find('=');
|
||||
if (offset == etk::String::npos) {
|
||||
out.set(enet::pourcentDecode(it), "");
|
||||
continue;
|
||||
}
|
||||
out.set(enet::pourcentDecode(it.extract(0, offset)),
|
||||
enet::pourcentDecode(it.extract(offset+1, etk::String::npos)));
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
@ -1,43 +0,0 @@
|
||||
/** @file
|
||||
* @author Edouard DUPIN
|
||||
* @copyright 2014, Edouard DUPIN, all right reserved
|
||||
* @license MPL v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <etk/String.hpp>
|
||||
#include <etk/Map.hpp>
|
||||
|
||||
|
||||
namespace enet {
|
||||
/**
|
||||
* @brief Encode a string with transform the unvalid char in %XX.
|
||||
* @param[in] _data Raw string.
|
||||
* @return Encoded string.
|
||||
*/
|
||||
etk::String pourcentEncode(const etk::String& _data);
|
||||
|
||||
/**
|
||||
* @brief Decode a string with %XX with normal chars.
|
||||
* @param[in] _data Encoded string.
|
||||
* @return Raw string.
|
||||
*/
|
||||
etk::String pourcentDecode(const etk::String& _data);
|
||||
|
||||
/**
|
||||
* @brief Encode a map of string with %XX and "&" between element and = between key and value.
|
||||
* @param[in] _data Imput map to encode.
|
||||
* @return Encoded string.
|
||||
*/
|
||||
etk::String pourcentUriEncode(const etk::Map<etk::String, etk::String>& _data);
|
||||
|
||||
/**
|
||||
* @brief Encode a map of string with %XX and "&" between element and = between key and value.
|
||||
* @param[in] _data Encoded string like AAA=333&RRR=333&RRR
|
||||
* @return Te decoded map of values.
|
||||
*/
|
||||
etk::Map<etk::String, etk::String> pourcentUriDecode(const etk::String& _data);
|
||||
|
||||
}
|
||||
|
183
enet_8hpp.html
Normal file
@ -0,0 +1,183 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/enet.hpp File Reference</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#namespaces">Namespaces</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">enet.hpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include <<a class="el" href="_udp_8hpp_source.html">enet/Udp.hpp</a>></code><br />
|
||||
<code>#include <<a class="el" href="_tcp_8hpp_source.html">enet/Tcp.hpp</a>></code><br />
|
||||
<code>#include <<a class="el" href="_http_8hpp_source.html">enet/Http.hpp</a>></code><br />
|
||||
<code>#include <<a class="el" href="_ftp_8hpp_source.html">enet/Ftp.hpp</a>></code><br />
|
||||
</div>
|
||||
<p><a href="enet_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:namespaceenet"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html">enet</a></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:ae5d74fc124e3d0f56da5c00ecb033dae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html#ae5d74fc124e3d0f56da5c00ecb033dae">enet::init</a> (int _argc, const char **_argv)</td></tr>
|
||||
<tr class="separator:ae5d74fc124e3d0f56da5c00ecb033dae"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2187def849a8abb1ff00a02aca4cace2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html#a2187def849a8abb1ff00a02aca4cace2">enet::unInit</a> ()</td></tr>
|
||||
<tr class="separator:a2187def849a8abb1ff00a02aca4cace2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a78ce546ea1ebb2f96a6b32de49ad34d4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceenet.html#a78ce546ea1ebb2f96a6b32de49ad34d4">enet::isInit</a> ()</td></tr>
|
||||
<tr class="separator:a78ce546ea1ebb2f96a6b32de49ad34d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Edouard DUPIN </dd></dl>
|
||||
<dl class="section copyright"><dt>Copyright</dt><dd>2014, Edouard DUPIN, all right reserved </dd></dl>
|
||||
<dl class="section note"><dt>Note</dt><dd>License: APACHE v2.0 (see license file) </dd></dl>
|
||||
</div></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
163
enet_8hpp_source.html
Normal file
@ -0,0 +1,163 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: framework/atria-soft/enet/enet/enet.hpp Source File</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html">enet</a></li><li class="navelem"><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html">enet</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">enet.hpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="enet_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <<a class="code" href="_udp_8hpp.html">enet/Udp.hpp</a>></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <<a class="code" href="_tcp_8hpp.html">enet/Tcp.hpp</a>></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <<a class="code" href="_http_8hpp.html">enet/Http.hpp</a>></span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <<a class="code" href="_ftp_8hpp.html">enet/Ftp.hpp</a>></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="namespaceenet.html"> 17</a></span> <span class="keyword">namespace </span><a class="code" href="namespaceenet.html">enet</a> {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordtype">void</span> <a class="code" href="namespaceenet.html#ae5d74fc124e3d0f56da5c00ecb033dae">init</a>(<span class="keywordtype">int</span> _argc, <span class="keyword">const</span> <span class="keywordtype">char</span>** _argv);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordtype">void</span> <a class="code" href="namespaceenet.html#a2187def849a8abb1ff00a02aca4cace2">unInit</a>();</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordtype">bool</span> <a class="code" href="namespaceenet.html#a78ce546ea1ebb2f96a6b32de49ad34d4">isInit</a>();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> }</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="ttc" id="_ftp_8hpp_html"><div class="ttname"><a href="_ftp_8hpp.html">Ftp.hpp</a></div></div>
|
||||
<div class="ttc" id="_udp_8hpp_html"><div class="ttname"><a href="_udp_8hpp.html">Udp.hpp</a></div></div>
|
||||
<div class="ttc" id="_http_8hpp_html"><div class="ttname"><a href="_http_8hpp.html">Http.hpp</a></div></div>
|
||||
<div class="ttc" id="namespaceenet_html_ae5d74fc124e3d0f56da5c00ecb033dae"><div class="ttname"><a href="namespaceenet.html#ae5d74fc124e3d0f56da5c00ecb033dae">enet::init</a></div><div class="ttdeci">void init(int _argc, const char **_argv)</div><div class="ttdoc">Initialize enet. </div></div>
|
||||
<div class="ttc" id="_tcp_8hpp_html"><div class="ttname"><a href="_tcp_8hpp.html">Tcp.hpp</a></div></div>
|
||||
<div class="ttc" id="namespaceenet_html_a2187def849a8abb1ff00a02aca4cace2"><div class="ttname"><a href="namespaceenet.html#a2187def849a8abb1ff00a02aca4cace2">enet::unInit</a></div><div class="ttdeci">void unInit()</div><div class="ttdoc">un-Initialize enet </div></div>
|
||||
<div class="ttc" id="namespaceenet_html"><div class="ttname"><a href="namespaceenet.html">enet</a></div><div class="ttdoc">Main esvg namespace. </div><div class="ttdef"><b>Definition:</b> enet.hpp:17</div></div>
|
||||
<div class="ttc" id="namespaceenet_html_a78ce546ea1ebb2f96a6b32de49ad34d4"><div class="ttname"><a href="namespaceenet.html#a78ce546ea1ebb2f96a6b32de49ad34d4">enet::isInit</a></div><div class="ttdeci">bool isInit()</div><div class="ttdoc">Check if the library is initialized. </div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
182
enet_build.html
Normal file
@ -0,0 +1,182 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Build lib & build sample</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Build lib & build sample </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="toc"><h3>Table of Contents</h3>
|
||||
<ul><li class="level1"><a href="#enet_build_download">Download: </a><ul><li class="level2"><a href="#enet_build_download_lutin">lutin (build-system): </a></li>
|
||||
<li class="level2"><a href="#enet_build_download_dependency">dependency: </a></li>
|
||||
<li class="level2"><a href="#enet_build_download_sources">sources: </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="level1"><a href="#enet_build_build">Build: </a><ul><li class="level2"><a href="#enet_build_build_library">library: </a></li>
|
||||
<li class="level2"><a href="#enet_build_build_sample">Sample: </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="level1"><a href="#enet_build_run_sample">Run sample: </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="textblock"><h1><a class="anchor" id="enet_build_download"></a>
|
||||
Download: </h1>
|
||||
<p>enet use some tools to manage source and build it:</p>
|
||||
<h2><a class="anchor" id="enet_build_download_lutin"></a>
|
||||
lutin (build-system): </h2>
|
||||
<div class="fragment"><div class="line">pip install lutin --user</div><div class="line"># optionnal dependency of lutin (manage image changing size for application release)</div><div class="line">pip install pillow --user</div></div><!-- fragment --><h2><a class="anchor" id="enet_build_download_dependency"></a>
|
||||
dependency: </h2>
|
||||
<div class="fragment"><div class="line">mkdir framework</div><div class="line">cd framework</div><div class="line">git clone https://github.com/atria-soft/etk.git</div><div class="line">git clone https://github.com/atria-soft/ememory.git</div><div class="line">git clone https://github.com/atria-soft/algue.git</div><div class="line">git clone https://github.com/generic-library/gtest-lutin.git --recursive</div><div class="line">git clone https://github.com/generic-library/z-lutin.git --recursive</div><div class="line">git clone https://github.com/generic-library/openssl-lutin.git --recursive</div><div class="line">cd ..</div></div><!-- fragment --><h2><a class="anchor" id="enet_build_download_sources"></a>
|
||||
sources: </h2>
|
||||
<div class="fragment"><div class="line">cd framework</div><div class="line">git clone https://github.com/atria-soft/enet.git</div><div class="line">cd ..</div></div><!-- fragment --><h1><a class="anchor" id="enet_build_build"></a>
|
||||
Build: </h1>
|
||||
<h2><a class="anchor" id="enet_build_build_library"></a>
|
||||
library: </h2>
|
||||
<div class="fragment"><div class="line">lutin -mdebug enet</div></div><!-- fragment --><h2><a class="anchor" id="enet_build_build_sample"></a>
|
||||
Sample: </h2>
|
||||
<div class="fragment"><div class="line">lutin -mdebug enet-server-websocket enet-client-websocket</div></div><!-- fragment --><h1><a class="anchor" id="enet_build_run_sample"></a>
|
||||
Run sample: </h1>
|
||||
<div class="fragment"><div class="line">lutin -mdebug enet-server-websocket?run</div></div><!-- fragment --><p>In an other bash:</p>
|
||||
<div class="fragment"><div class="line">lutin -mdebug enet-client-websocket?run</div></div><!-- fragment --> </div></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
167
files.html
Normal file
@ -0,0 +1,167 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: File List</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">File List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all documented files with brief descriptions:</div><div class="directory">
|
||||
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span><span onclick="javascript:toggleLevel(3);">3</span><span onclick="javascript:toggleLevel(4);">4</span><span onclick="javascript:toggleLevel(5);">5</span>]</div><table class="directory">
|
||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">▼</span><span id="img_0_" class="iconfopen" onclick="toggleFolder('0_')"> </span><a class="el" href="dir_644e041c3a6521da7b27eba0e4eb2b95.html" target="_self">framework</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_0_0_" class="arrow" onclick="toggleFolder('0_0_')">▼</span><span id="img_0_0_" class="iconfopen" onclick="toggleFolder('0_0_')"> </span><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html" target="_self">atria-soft</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span id="arr_0_0_0_" class="arrow" onclick="toggleFolder('0_0_0_')">▼</span><span id="img_0_0_0_" class="iconfopen" onclick="toggleFolder('0_0_0_')"> </span><a class="el" href="dir_f7835a0040178a7c3fe3e7c27f6d9084.html" target="_self">enet</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_0_0_"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span id="arr_0_0_0_0_" class="arrow" onclick="toggleFolder('0_0_0_0_')">▼</span><span id="img_0_0_0_0_" class="iconfopen" onclick="toggleFolder('0_0_0_0_')"> </span><a class="el" href="dir_8df4c94f510f53f1374a2c2b5801aba9.html" target="_self">enet</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_0_0_0_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="enet_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="enet_8hpp.html" target="_self">enet.hpp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_0_0_1_"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="_ftp_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="_ftp_8hpp.html" target="_self">Ftp.hpp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_0_0_2_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="_http_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="_http_8hpp.html" target="_self">Http.hpp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_0_0_3_"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="_tcp_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="_tcp_8hpp.html" target="_self">Tcp.hpp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_0_0_4_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="_tcp_client_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="_tcp_client_8hpp.html" target="_self">TcpClient.hpp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_0_0_5_"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="_tcp_server_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="_tcp_server_8hpp.html" target="_self">TcpServer.hpp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_0_0_6_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="_udp_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="_udp_8hpp.html" target="_self">Udp.hpp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_0_0_7_"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="_web_socket_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="_web_socket_8hpp.html" target="_self">WebSocket.hpp</a></td><td class="desc"></td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
BIN
folderclosed.png
Normal file
After Width: | Height: | Size: 616 B |
BIN
folderopen.png
Normal file
After Width: | Height: | Size: 597 B |
240
functions.html
Normal file
@ -0,0 +1,240 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Class Members</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div>
|
||||
|
||||
<h3><a id="index_c"></a>- c -</h3><ul>
|
||||
<li>connect()
|
||||
: <a class="el" href="classenet_1_1_http.html#ad01daa4144a8cfb83b9993c4984789bc">enet::Http</a>
|
||||
, <a class="el" href="classenet_1_1_web_socket.html#a3a7a4269d350a37bca2041c62e58f18f">enet::WebSocket</a>
|
||||
</li>
|
||||
<li>connectHeader()
|
||||
: <a class="el" href="classenet_1_1_http_client.html#a2568ce67c56a2cc1a498516765439a6f">enet::HttpClient</a>
|
||||
, <a class="el" href="classenet_1_1_http_server.html#a7b34d9576677d7d6f0167bbe076aecf1">enet::HttpServer</a>
|
||||
</li>
|
||||
<li>connectRaw()
|
||||
: <a class="el" href="classenet_1_1_http.html#a9cf2c7db3c46fc2688e0e70c1e48ea57">enet::Http</a>
|
||||
</li>
|
||||
<li>connectUri()
|
||||
: <a class="el" href="classenet_1_1_web_socket.html#ab74ff78fe5f3b2161011adec69c74c19">enet::WebSocket</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_g"></a>- g -</h3><ul>
|
||||
<li>getConnectionStatus()
|
||||
: <a class="el" href="classenet_1_1_tcp.html#adc1608c7f511678b50920688946a7be7">enet::Tcp</a>
|
||||
</li>
|
||||
<li>getHostName()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#a037aec50729f61bbf1ac48b08ecaa455">enet::TcpServer</a>
|
||||
</li>
|
||||
<li>getName()
|
||||
: <a class="el" href="classenet_1_1_tcp.html#ad93fb9d484a0eecc2057deee10f445a1">enet::Tcp</a>
|
||||
</li>
|
||||
<li>getPort()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#ab2842aab61243d89cbb5034e94cbdf54">enet::TcpServer</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_o"></a>- o -</h3><ul>
|
||||
<li>Observer
|
||||
: <a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">enet::Http</a>
|
||||
, <a class="el" href="classenet_1_1_web_socket.html#a39fb42e7b04f5946a8cdbb6cde6b0ce4">enet::WebSocket</a>
|
||||
</li>
|
||||
<li>ObserverAnswer
|
||||
: <a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">enet::Http</a>
|
||||
</li>
|
||||
<li>ObserverRaw
|
||||
: <a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">enet::Http</a>
|
||||
</li>
|
||||
<li>ObserverRequest
|
||||
: <a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">enet::Http</a>
|
||||
</li>
|
||||
<li>ObserverUriCheck
|
||||
: <a class="el" href="classenet_1_1_web_socket.html#a5c234c853a0ee0b56875bb0262fc8ce0">enet::WebSocket</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_r"></a>- r -</h3><ul>
|
||||
<li>read()
|
||||
: <a class="el" href="classenet_1_1_tcp.html#a39248e8a9d91624b3e7ffa15db7dc3d3">enet::Tcp</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_s"></a>- s -</h3><ul>
|
||||
<li>setHostNane()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#afed69c71adcc2caace7b55829edb746e">enet::TcpServer</a>
|
||||
</li>
|
||||
<li>setIpV4()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#ab22d5d4757d31237e9f3e7baa71caad0">enet::TcpServer</a>
|
||||
</li>
|
||||
<li>setPort()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#a73447da8c72e72fb893375a531991392">enet::TcpServer</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_u"></a>- u -</h3><ul>
|
||||
<li>unlink()
|
||||
: <a class="el" href="classenet_1_1_tcp.html#a44977d6b011acf1c16a794f7ee41ea8c">enet::Tcp</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h3><a id="index_w"></a>- w -</h3><ul>
|
||||
<li>waitNext()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#a551984bb6b9a52340b06a95fcd4ce183">enet::TcpServer</a>
|
||||
</li>
|
||||
<li>write()
|
||||
: <a class="el" href="classenet_1_1_http.html#a8066d206f654cd3e46977792ad443206">enet::Http</a>
|
||||
, <a class="el" href="classenet_1_1_tcp.html#a630f1853885c26ec868b4b8ac7d91372">enet::Tcp</a>
|
||||
, <a class="el" href="classenet_1_1_web_socket.html#aeb3948198a6364c296727cab39a413ba">enet::WebSocket</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
198
functions_func.html
Normal file
@ -0,0 +1,198 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Class Members - Functions</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="contents">
|
||||
 <ul>
|
||||
<li>connect()
|
||||
: <a class="el" href="classenet_1_1_http.html#ad01daa4144a8cfb83b9993c4984789bc">enet::Http</a>
|
||||
, <a class="el" href="classenet_1_1_web_socket.html#a3a7a4269d350a37bca2041c62e58f18f">enet::WebSocket</a>
|
||||
</li>
|
||||
<li>connectHeader()
|
||||
: <a class="el" href="classenet_1_1_http_client.html#a2568ce67c56a2cc1a498516765439a6f">enet::HttpClient</a>
|
||||
, <a class="el" href="classenet_1_1_http_server.html#a7b34d9576677d7d6f0167bbe076aecf1">enet::HttpServer</a>
|
||||
</li>
|
||||
<li>connectRaw()
|
||||
: <a class="el" href="classenet_1_1_http.html#a9cf2c7db3c46fc2688e0e70c1e48ea57">enet::Http</a>
|
||||
</li>
|
||||
<li>connectUri()
|
||||
: <a class="el" href="classenet_1_1_web_socket.html#ab74ff78fe5f3b2161011adec69c74c19">enet::WebSocket</a>
|
||||
</li>
|
||||
<li>getConnectionStatus()
|
||||
: <a class="el" href="classenet_1_1_tcp.html#adc1608c7f511678b50920688946a7be7">enet::Tcp</a>
|
||||
</li>
|
||||
<li>getHostName()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#a037aec50729f61bbf1ac48b08ecaa455">enet::TcpServer</a>
|
||||
</li>
|
||||
<li>getName()
|
||||
: <a class="el" href="classenet_1_1_tcp.html#ad93fb9d484a0eecc2057deee10f445a1">enet::Tcp</a>
|
||||
</li>
|
||||
<li>getPort()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#ab2842aab61243d89cbb5034e94cbdf54">enet::TcpServer</a>
|
||||
</li>
|
||||
<li>read()
|
||||
: <a class="el" href="classenet_1_1_tcp.html#a39248e8a9d91624b3e7ffa15db7dc3d3">enet::Tcp</a>
|
||||
</li>
|
||||
<li>setHostNane()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#afed69c71adcc2caace7b55829edb746e">enet::TcpServer</a>
|
||||
</li>
|
||||
<li>setIpV4()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#ab22d5d4757d31237e9f3e7baa71caad0">enet::TcpServer</a>
|
||||
</li>
|
||||
<li>setPort()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#a73447da8c72e72fb893375a531991392">enet::TcpServer</a>
|
||||
</li>
|
||||
<li>unlink()
|
||||
: <a class="el" href="classenet_1_1_tcp.html#a44977d6b011acf1c16a794f7ee41ea8c">enet::Tcp</a>
|
||||
</li>
|
||||
<li>waitNext()
|
||||
: <a class="el" href="classenet_1_1_tcp_server.html#a551984bb6b9a52340b06a95fcd4ce183">enet::TcpServer</a>
|
||||
</li>
|
||||
<li>write()
|
||||
: <a class="el" href="classenet_1_1_http.html#a8066d206f654cd3e46977792ad443206">enet::Http</a>
|
||||
, <a class="el" href="classenet_1_1_tcp.html#a4fd69af7f485b679a9d53644070e78ac">enet::Tcp</a>
|
||||
, <a class="el" href="classenet_1_1_web_socket.html#a9c493cf31492424f7933ea7b9941cd3b">enet::WebSocket</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
165
functions_type.html
Normal file
@ -0,0 +1,165 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Class Members - Typedefs</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="contents">
|
||||
 <ul>
|
||||
<li>Observer
|
||||
: <a class="el" href="classenet_1_1_http.html#aa9e26e6f8df71a04b99554c472f29832">enet::Http</a>
|
||||
, <a class="el" href="classenet_1_1_web_socket.html#a39fb42e7b04f5946a8cdbb6cde6b0ce4">enet::WebSocket</a>
|
||||
</li>
|
||||
<li>ObserverAnswer
|
||||
: <a class="el" href="classenet_1_1_http.html#afdb219a8b8a7310cb75a69b9c2bc9133">enet::Http</a>
|
||||
</li>
|
||||
<li>ObserverRaw
|
||||
: <a class="el" href="classenet_1_1_http.html#a9ae2bf2348fd92ec51b2b38c81a012d9">enet::Http</a>
|
||||
</li>
|
||||
<li>ObserverRequest
|
||||
: <a class="el" href="classenet_1_1_http.html#aa1df33aa84cbc67980411e5f6fcfb8b8">enet::Http</a>
|
||||
</li>
|
||||
<li>ObserverUriCheck
|
||||
: <a class="el" href="classenet_1_1_web_socket.html#a5c234c853a0ee0b56875bb0262fc8ce0">enet::WebSocket</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
166
hierarchy.html
Normal file
@ -0,0 +1,166 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: Class Hierarchy</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Class Hierarchy</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock">This inheritance list is sorted roughly, but not completely, alphabetically:</div><div class="directory">
|
||||
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
|
||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_ftp.html" target="_self">enet::Ftp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_1_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_1_" class="arrow" onclick="toggleFolder('1_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http.html" target="_self">enet::Http</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_1_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http_client.html" target="_self">enet::HttpClient</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_1_1_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http_server.html" target="_self">enet::HttpServer</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_2_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_2_" class="arrow" onclick="toggleFolder('2_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http_header.html" target="_self">enet::HttpHeader</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_2_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http_answer.html" target="_self">enet::HttpAnswer</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_2_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_http_request.html" target="_self">enet::HttpRequest</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_tcp.html" target="_self">enet::Tcp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_tcp_server.html" target="_self">enet::TcpServer</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_udp.html" target="_self">enet::Udp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classenet_1_1_web_socket.html" target="_self">enet::WebSocket</a></td><td class="desc"></td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
192
index.html
Normal file
@ -0,0 +1,192 @@
|
||||
<!-- HTML header for doxygen 1.8.8-->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<!-- For Mobile Devices -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta name="generator" content="Doxygen 1.8.12"/>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
||||
<title>enet: Ewol network abstraction: ENET library</title>
|
||||
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="doxy-boot.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand">enet: Ewol network abstraction 0.4.0</a>
|
||||
</div>
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
<li><a href="pages.html">Related Pages</a></li>
|
||||
<li><a href="namespaces.html">Namespaces</a></li>
|
||||
<li><a href="annotated.html">Classes</a></li>
|
||||
<li><a href="files.html">Files</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
Link-libs<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
||||
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
||||
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
||||
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
||||
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
||||
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
||||
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
||||
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
||||
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
||||
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
||||
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
||||
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="search-box" class="input-group">
|
||||
<div class="input-group-btn">
|
||||
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">All</a></li>
|
||||
<li><a href="#">Classes</a></li>
|
||||
<li><a href="#">Namespaces</a></li>
|
||||
<li><a href="#">Files</a></li>
|
||||
<li><a href="#">Functions</a></li>
|
||||
<li><a href="#">Variables</a></li>
|
||||
<li><a href="#">Typedefs</a></li>
|
||||
<li><a href="#">Enumerations</a></li>
|
||||
<li><a href="#">Enumerator</a></li>
|
||||
<li><a href="#">Friends</a></li>
|
||||
<li><a href="#">Macros</a></li>
|
||||
<li><a href="#">Pages</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button id="search-close" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true"></span>
|
||||
</button>
|
||||
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
||||
</div>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div class="content" id="content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
||||
<div style="margin-bottom: 15px;margin-top: 60px;">
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.12 -->
|
||||
<script type="text/javascript">
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">ENET library </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="toc"><h3>Table of Contents</h3>
|
||||
<ul><li class="level1"><a href="#enet_mainpage_what">What is ENET: </a><ul><li class="level2"><a href="#enet_mainpage_what_it_does">What it does: </a></li>
|
||||
<li class="level2"><a href="#enet_mainpage_todo">What is the TODO list: </a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="level1"><a href="#enet_mainpage_language">What languages are supported? </a></li>
|
||||
<li class="level1"><a href="#enet_mainpage_license_restriction">Are there any licensing restrictions? </a></li>
|
||||
<li class="level1"><a href="#enet_mainpage_license">License (APACHE-2.0) </a></li>
|
||||
<li class="level1"><a href="#enet_mainpage_sub_page">Other pages </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="textblock"><h1><a class="anchor" id="enet_mainpage_what"></a>
|
||||
What is ENET: </h1>
|
||||
<p><code>enet</code> is a network abstraction layer for ewol</p>
|
||||
<h2><a class="anchor" id="enet_mainpage_what_it_does"></a>
|
||||
What it does: </h2>
|
||||
<p>Provide some acces on Network interface for all platform (simplify API)</p>
|
||||
<p>ENET is dependent of the STL (compatible with MacOs stl (CXX))</p>
|
||||
<p>It provide some simple interface for TCP, HTTP, webSocket in server and client modes</p>
|
||||
<h2><a class="anchor" id="enet_mainpage_todo"></a>
|
||||
What is the TODO list: </h2>
|
||||
<p>Create a full complient interface for every protocol ...</p>
|
||||
<p>this is in dev</p>
|
||||
<h1><a class="anchor" id="enet_mainpage_language"></a>
|
||||
What languages are supported? </h1>
|
||||
<p>ENET is written in C++.</p>
|
||||
<h1><a class="anchor" id="enet_mainpage_license_restriction"></a>
|
||||
Are there any licensing restrictions? </h1>
|
||||
<p>ENET is <b>FREE software</b> and <em>all sub-library are FREE and staticly linkable !!!</em></p>
|
||||
<h1><a class="anchor" id="enet_mainpage_license"></a>
|
||||
License (APACHE-2.0) </h1>
|
||||
<p>Copyright ENET Edouard DUPIN</p>
|
||||
<p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at</p>
|
||||
<p><a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a></p>
|
||||
<p>Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</p>
|
||||
<h1><a class="anchor" id="enet_mainpage_sub_page"></a>
|
||||
Other pages </h1>
|
||||
<ul>
|
||||
<li><a class="el" href="enet_build.html">Build lib & build sample</a></li>
|
||||
<li><a href="http://atria-soft.github.io/ewol/ewol_coding_style.html"><b>ewol coding style</b></a> </li>
|
||||
</ul>
|
||||
</div></div><!-- contents -->
|
||||
<!-- HTML footer for doxygen 1.8.8-->
|
||||
<!-- start footer part -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Mon Oct 24 2016 15:35:53 for enet: Ewol network abstraction by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.12
|
||||
</small></address>
|
||||
</body>
|
||||
</html>
|
87
jquery.js
vendored
Normal file
@ -1,44 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
import realog.debug as debug
|
||||
import lutin.tools as tools
|
||||
|
||||
|
||||
def get_type():
|
||||
return "BINARY"
|
||||
|
||||
def get_sub_type():
|
||||
return "TEST"
|
||||
|
||||
def get_desc():
|
||||
return "e-net TEST test software for enet"
|
||||
|
||||
def get_licence():
|
||||
return "MPL-2"
|
||||
|
||||
def get_compagny_type():
|
||||
return "com"
|
||||
|
||||
def get_compagny_name():
|
||||
return "atria-soft"
|
||||
|
||||
def get_maintainer():
|
||||
return "authors.txt"
|
||||
|
||||
def configure(target, my_module):
|
||||
my_module.add_path(".")
|
||||
my_module.add_depend([
|
||||
'enet',
|
||||
'etest',
|
||||
'test-debug'
|
||||
])
|
||||
my_module.add_src_file([
|
||||
'test/main-client-http.cpp'
|
||||
])
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,44 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
import realog.debug as debug
|
||||
import lutin.tools as tools
|
||||
|
||||
|
||||
def get_type():
|
||||
return "BINARY"
|
||||
|
||||
def get_sub_type():
|
||||
return "TEST"
|
||||
|
||||
def get_desc():
|
||||
return "e-net TEST test software for enet"
|
||||
|
||||
def get_licence():
|
||||
return "MPL-2"
|
||||
|
||||
def get_compagny_type():
|
||||
return "com"
|
||||
|
||||
def get_compagny_name():
|
||||
return "atria-soft"
|
||||
|
||||
def get_maintainer():
|
||||
return "authors.txt"
|
||||
|
||||
def configure(target, my_module):
|
||||
my_module.add_path(".")
|
||||
my_module.add_depend([
|
||||
'enet',
|
||||
'etest',
|
||||
'test-debug'
|
||||
])
|
||||
my_module.add_src_file([
|
||||
'test/main-client-websocket.cpp'
|
||||
])
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,44 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
import realog.debug as debug
|
||||
import lutin.tools as tools
|
||||
|
||||
|
||||
def get_type():
|
||||
return "BINARY"
|
||||
|
||||
def get_sub_type():
|
||||
return "TEST"
|
||||
|
||||
def get_desc():
|
||||
return "e-net TEST test software for enet"
|
||||
|
||||
def get_licence():
|
||||
return "MPL-2"
|
||||
|
||||
def get_compagny_type():
|
||||
return "com"
|
||||
|
||||
def get_compagny_name():
|
||||
return "atria-soft"
|
||||
|
||||
def get_maintainer():
|
||||
return "authors.txt"
|
||||
|
||||
def configure(target, my_module):
|
||||
my_module.add_path(".")
|
||||
my_module.add_depend([
|
||||
'enet',
|
||||
'etest',
|
||||
'test-debug'
|
||||
])
|
||||
my_module.add_src_file([
|
||||
'test/main-client.cpp'
|
||||
])
|
||||
return True
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|