1 #ifndef __BASEINCOMINGSET_H__ 2 #define __BASEINCOMINGSET_H__ 5 #include "socket_base.h" 28 template <
class _INCLASS1,
class _IN_LISTEN,
class MESSAGE_READER_BUF,
class MESSAGE_READER_UPPASS>
class BaseIncomingSet :
public std::list<_INCLASS1 *>
30 typedef std::list<_INCLASS1 *> BaseClass;
31 typedef TYPENAME BaseClass::iterator iterator;
34 inline void AddFromListener(
void);
35 inline int PumpReader(
Time_Clock ¤tTime);
36 inline void AddAConection(_INCLASS1 * newt);
47 inline _IN_LISTEN & GetListener(
void);
50 virtual CloseState ProcessNewConnection(SOCKET socket);
58 #include "baseincomingset.i" 60 #endif //__BASEINCOMINGSET_H__
A simple place to store and munipulate tcp and port address for communication layer.
A base structre for a listening socket and a set of connection that have been received with there rea...