NLNET::ESocketConnectionClosed Struct Reference

#include <sock.h>

Inheritance diagram for NLNET::ESocketConnectionClosed:

NLNET::ESocket NLMISC::Exception

Detailed Description

Exception raised when a connection is gracefully closed by peer.

Definition at line 63 of file sock.h.

Public Member Functions

 ESocketConnectionClosed ()
virtual const char * what () const throw ()

Protected Attributes

std::string _Reason


Constructor & Destructor Documentation

NLNET::ESocketConnectionClosed::ESocketConnectionClosed  )  [inline]
 

Definition at line 65 of file sock.h.

00065 : ESocket( "Connection closed" ) {}


Member Function Documentation

const char * NLMISC::Exception::what  )  const throw () [virtual, inherited]
 

Reimplemented in NL3D::EBadBind.

Definition at line 672 of file common.cpp.

00673 {
00674         return _Reason.c_str();
00675 }


Field Documentation

std::string NLMISC::Exception::_Reason [protected, inherited]
 

Definition at line 244 of file common.h.

Referenced by NLMISC::Exception::Exception().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 14:07:30 2004 for NeL by doxygen 1.3.6