Logo
~Sockets~
~Examples~
~Contact~


ProxyHandler Class Reference

#include <ProxyHandler.h>

List of all members.


Public Member Functions

 ProxyHandler ()
 ~ProxyHandler ()
void ViewSockets ()

Detailed Description

Definition at line 32 of file ProxyHandler.h.


Constructor & Destructor Documentation

ProxyHandler::ProxyHandler (  ) 

Definition at line 35 of file ProxyHandler.cpp.

00036 :SocketHandler()
00037 {
00038 }

ProxyHandler::~ProxyHandler (  ) 

Definition at line 41 of file ProxyHandler.cpp.

00042 {
00043 }


Member Function Documentation

void ProxyHandler::ViewSockets (  ) 

Definition at line 46 of file ProxyHandler.cpp.

Referenced by run().

00047 {
00048         for (socket_m::iterator it = m_sockets.begin(); it != m_sockets.end(); it++)
00049         {
00050                 SOCKET s = (*it).first;
00051                 Socket *p = (*it).second;
00052                 if (dynamic_cast<InSocket *>(p))
00053                 {
00054                         printf("%4d: InSocket\n",s);
00055                 }
00056                 else
00057                 if (dynamic_cast<OutSocket *>(p))
00058                 {
00059                         printf("%4d: OutSocket\n",s);
00060                 }
00061         }
00062 }


The documentation for this class was generated from the following files:
Page, code, and content Copyright (C) 2006 by Anders Hedström
Generated on Mon Aug 29 20:21:47 2005 for C++ Sockets by  doxygen 1.4.4