From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNLNET_1_1CListenTask.html | 337 ++++++++++++++++++++++++ 1 file changed, 337 insertions(+) create mode 100644 docs/doxygen/nel/classNLNET_1_1CListenTask.html (limited to 'docs/doxygen/nel/classNLNET_1_1CListenTask.html') diff --git a/docs/doxygen/nel/classNLNET_1_1CListenTask.html b/docs/doxygen/nel/classNLNET_1_1CListenTask.html new file mode 100644 index 00000000..1d9eff9c --- /dev/null +++ b/docs/doxygen/nel/classNLNET_1_1CListenTask.html @@ -0,0 +1,337 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLNET::CListenTask Class Reference

Code of listening thread. +More... +

+#include <buf_server.h> +

+

Inheritance diagram for NLNET::CListenTask: +

+ +NLMISC::IRunnable +NLNET::CServerTask + +List of all members. + + + + + + + + + + + + + + +

Public Methods

 CListenTask (CBufServer *server)
 Constructor. More...

void init (uint16 port)
 Begins to listen on the specified port (call before running thread). More...

virtual void run ()
 Run (exits when the listening socket disconnects). More...

void close ()
 Close listening socket. More...

const CInetAddresslocalAddr ()
 Returns the listening address. More...


Private Attributes

CBufServer_Server
CListenSock _ListenSock
+

Detailed Description

+Code of listening thread. +

+ +

+Definition at line 85 of file buf_server.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + +
NLNET::CListenTask::CListenTask CBufServer  server [inline]
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 90 of file buf_server.h. +

+References _Server, and NLNET::CServerTask::CServerTask.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
void NLNET::CListenTask::close   [inline]
+
+ + + + + +
+   + + +

+Close listening socket. +

+ +

+Definition at line 99 of file buf_server.h. +

+References _ListenSock.

+

+ + + + +
+ + + + + + + + + + +
void NLNET::CListenTask::init uint16   port
+
+ + + + + +
+   + + +

+Begins to listen on the specified port (call before running thread). +

+ +

+Definition at line 110 of file buf_server.cpp. +

+References _ListenSock, and nlnettrace.

+

+ + + + +
+ + + + + + + + + +
const CInetAddress& NLNET::CListenTask::localAddr   [inline]
+
+ + + + + +
+   + + +

+Returns the listening address. +

+ +

+Definition at line 102 of file buf_server.h. +

+References _ListenSock.

+

+ + + + +
+ + + + + + + + + +
void NLNET::CListenTask::run   [virtual]
+
+ + + + + +
+   + + +

+Run (exits when the listening socket disconnects). +

+ +

+Implements NLMISC::IRunnable. +

+Definition at line 739 of file buf_server.cpp. +

+References _ListenSock, _Server, NLNET::CServerTask::exitRequired, nldebug, nlerror, nlinfo, nlnettrace, and res.

+


Member Data Documentation

+

+ + + + +
+ + +
CListenSock NLNET::CListenTask::_ListenSock [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 107 of file buf_server.h. +

+Referenced by close, init, localAddr, and run.

+

+ + + + +
+ + +
CBufServer* NLNET::CListenTask::_Server [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 106 of file buf_server.h. +

+Referenced by CListenTask, and run.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1