ircproxy  The Ultimate Cyborg

ProxyListenSocket Class Reference

#include <ProxyListenSocket.h>

Inheritance diagram for ProxyListenSocket:

List of all members.

Detailed Description

The listen socket of the application.

This class represents a listen socket through which clients may connect to the application.

Definition at line 31 of file ProxyListenSocket.h.

Public Member Functions

 ProxyListenSocket (unsigned short int port)

Private Member Functions

void new_connection (ClientSession &client_session)
 Called when a new connection has been accepted.

Constructor & Destructor Documentation

ProxyListenSocket::ProxyListenSocket ( unsigned short int  port  )  [inline]

Construct a TCP/IP listen socket object for port port. Spawns ClientSession objects.

Definition at line 35 of file ProxyListenSocket.h.

References debug::channels::dc::objects.

00035                                              : listen_sock_dtct<ClientSession>(port, 4)
00036       { Dout(dc::objects, "Constructing ProxyListenSocket(" << port << ")"); }

Member Function Documentation

void ProxyListenSocket::new_connection ( ClientSession client_session  )  [private]

Called when a new connection has been accepted.

Definition at line 25 of file

00026 {
00027   Dout(dc::debug, "New connection accepted.");
00028 }

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

Copyright © 2005-2007 Carlo Wood.  All rights reserved.