#include <CTCPConnectionFailed.h>
Public Member Functions | |
CTCPConnectionFailed (const STD(string)&host, const STD(string)&service, const char *pDoing) | |
CTCPConnectionFailed (const CTCPConnectionFailed &rhs) | |
~CTCPConnectionFailed () | |
Destructor. | |
CTCPConnectionFailed & | operator= (const CTCPConnectionFailed &rhs) |
int | operator== (const CTCPConnectionFailed &rhs) |
STD (string) getHost() const | |
STD (string) getService() const | |
virtual const char * | ReasonText () const |
Protected Member Functions | |
void | setHost (const STD(string)&rHost) |
void | setService (const STD(string)&rService) |
Private Member Functions | |
STD (string) m_Host | |
Attempted peername. | |
STD (string) m_Service | |
Attempted connection point port. | |
STD (string) m_ReasonText | |
Reason text is built up here. |
Definition at line 304 of file CTCPConnectionFailed.h.
|
|
|
Copy Constructor. Used by the compiler to create temporaries and by the throw statement to create a copy of the actual exception object to ensure that the exception remains in scope while it travels up the call stack searching for a handler.
Definition at line 319 of file CTCPConnectionFailed.cpp. |
|
Destructor.
Definition at line 319 of file CTCPConnectionFailed.h. |
|
Assignment. The functionality is the same as a copy constructor, however the target is a fully constructed object. We protect, therefore against assignment to *this, and since this is not a constructor, we cannot use initializers to assign our members.
Definition at line 333 of file CTCPConnectionFailed.cpp. |
|
Equality compare... This is essentially a member by member compare.
Definition at line 347 of file CTCPConnectionFailed.cpp. |
|
Returns a textual string describing the message. This is going to be something like: Failed to connect to host: m_Host on service port m_Service, CErrnoException::ReasonText(). Definition at line 360 of file CTCPConnectionFailed.cpp. |
|
Definition at line 335 of file CTCPConnectionFailed.h. |
|
Definition at line 337 of file CTCPConnectionFailed.h. |
|
Definition at line 329 of file CTCPConnectionFailed.h. |
|
Definition at line 327 of file CTCPConnectionFailed.h. |
|
Reason text is built up here.
|
|
Attempted connection point port.
|
|
Attempted peername.
|