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

MyMinderSocket Class Reference

#include <MyMinderSocket.h>

List of all members.

Public Member Functions

 MyMinderSocket (SocketHandler &, const std::string &group)
 ~MyMinderSocket ()
MinionSocket * CreateMinionSocket (const std::string &s, ipaddr_t a, port_t p)
int GetMaxConnections ()
void OnSwitchDatabase (const std::string &)
void OnConnect ()
void OnConnectFailed ()


Detailed Description

File ......... MyMinderSocket.h Published .... 2004-04-19

Definition at line 29 of file MyMinderSocket.h.


Constructor & Destructor Documentation

MyMinderSocket::MyMinderSocket SocketHandler &  h,
const std::string &  group
 

File ......... MyMinderSocket.cpp Published .... 2004-04-19

Definition at line 33 of file MyMinderSocket.cpp.

References MyMinderSocket().

Referenced by MyMinderSocket().

00034 :MinderSocket(h, group) 00035 { 00036 }

MyMinderSocket::~MyMinderSocket  ) 
 

Definition at line 39 of file MyMinderSocket.cpp.

00040 { 00041 }


Member Function Documentation

MinionSocket* MyMinderSocket::CreateMinionSocket const std::string &  s,
ipaddr_t  a,
port_t  p
[inline]
 

Definition at line 35 of file MyMinderSocket.h.

References CreateMinionSocket().

Referenced by CreateMinionSocket().

00035 { 00036 return new MyMinionSocket(Handler(),s,a,p); 00037 }

int MyMinderSocket::GetMaxConnections  )  [inline]
 

Definition at line 38 of file MyMinderSocket.h.

00038 { return 3; }

void MyMinderSocket::OnConnect  ) 
 

Definition at line 44 of file MyMinderSocket.cpp.

References g_hwndMain, IDI_GREEN, and WM_CHANGE_ICON.

00045 { 00046 MinderSocket::OnConnect(); 00047 ::PostMessage(g_hwndMain, WM_CHANGE_ICON, IDI_GREEN, 0); 00048 }

void MyMinderSocket::OnConnectFailed  ) 
 

Definition at line 51 of file MyMinderSocket.cpp.

References g_hwndMain, IDI_RED, and WM_CHANGE_ICON.

00052 { 00053 ::PostMessage(g_hwndMain, WM_CHANGE_ICON, IDI_RED, 0); 00054 }

void MyMinderSocket::OnSwitchDatabase const std::string &   )  [inline]
 

Definition at line 39 of file MyMinderSocket.h.

References OnSwitchDatabase().

Referenced by OnSwitchDatabase().

00039 {}


The documentation for this class was generated from the following files:
Generated on Thu Feb 10 22:42:40 2005 for Distributed URL Classification Tool by doxygen 1.3.7