A class which is used to return a new()ed socket to calling code, together with associated information, and with auto_ptr style transfer of ownership. More...
#include <gsocket.h>
Public Types | |
| typedef std::auto_ptr< StreamSocket > | first_type |
| typedef Address | second_type |
Public Member Functions | |
| AcceptPair (StreamSocket *new_p, Address a) | |
| Constructor. More... | |
| AcceptPair (const AcceptPair &other) | |
| Copy constructor. More... | |
| AcceptPair & | operator= (const AcceptPair &rhs) |
| Assignment operator. More... | |
Public Attributes | |
| first_type | first |
| second_type | second |
A class which is used to return a new()ed socket to calling code, together with associated information, and with auto_ptr style transfer of ownership.
| typedef std::auto_ptr<StreamSocket> GNet::AcceptPair::first_type |
| typedef Address GNet::AcceptPair::second_type |
|
inline |
|
inline |
|
inline |
| first_type GNet::AcceptPair::first |
Definition at line 252 of file gsocket.h.
Referenced by GNet::StreamSocket::accept(), and operator=().
| second_type GNet::AcceptPair::second |
Definition at line 253 of file gsocket.h.
Referenced by GNet::StreamSocket::accept(), and operator=().
1.8.9.1