Panda3D
Public Member Functions | List of all members
BaseIncomingSet< _INCLASS1, _IN_LISTEN, MESSAGE_READER_BUF, MESSAGE_READER_UPPASS > Class Template Reference

A base structre for a listening socket and a set of connection that have been received with there read functions. More...

#include "baseincomingset.h"

Inheritance diagram for BaseIncomingSet< _INCLASS1, _IN_LISTEN, MESSAGE_READER_BUF, MESSAGE_READER_UPPASS >:

Public Member Functions

 BaseIncomingSet (BaseIncomingSet &in)
 
void AddToFDSet (Socket_fdset &set)
 
_IN_LISTEN & GetListener (void)
 
bool init (Socket_Address &WhereFrom)
 
BaseIncomingSetoperator= (BaseIncomingSet &inval)
 
virtual CloseState ProcessNewConnection (SOCKET socket)
 
void PumpAll (Time_Clock &currentTime)
 
void Reset ()
 

Detailed Description

template<class _INCLASS1, class _IN_LISTEN, class MESSAGE_READER_BUF, class MESSAGE_READER_UPPASS>
class BaseIncomingSet< _INCLASS1, _IN_LISTEN, MESSAGE_READER_BUF, MESSAGE_READER_UPPASS >

A base structre for a listening socket and a set of connection that have been received with there read functions.

Think of this like a web server with 1 listening socket and 0-n open reacting conections..

The general operation if get connection.. do you have a message process message go back to do you have a message or close connection

Definition at line 28 of file baseincomingset.h.


The documentation for this class was generated from the following file: