Google
Web alhem.net
Main Page | Alphabetical List | Class List | File List | Class Members | File Members

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:
Generated for C++ Sockets library example: simple tcp port proxy by doxygen 1.3.6

www.TV-friendship.com
The matchmaking service with an all new twist.

Quantum 'Teleportation'
Some thoughts
Page, code, and content Copyright (C) 2004 by Anders Hedström