VMime
socketFactory Class Referenceabstract
Inheritance diagram for socketFactory:
Collaboration diagram for socketFactory:

Public Member Functions

virtual ~socketFactory ()
 
virtual shared_ptr< socketcreate ()=0
 
virtual shared_ptr< socketcreate (shared_ptr< timeoutHandler > th)=0
 

Additional Inherited Members

- Protected Member Functions inherited from object
 object ()
 
 object (const object &)
 
objectoperator= (const object &)
 
virtual ~object ()
 

Detailed Description

A class to create 'socket' objects.

Constructor & Destructor Documentation

virtual ~socketFactory ( )
virtual

Member Function Documentation

virtual shared_ptr<socket> create ( )
pure virtual

Creates a socket without timeout handler.

Returns
a new socket
virtual shared_ptr<socket> create ( shared_ptr< timeoutHandler th)
pure virtual

Creates a socket with the specified timeout handler.

Parameters
thtimeout handler
Returns
a new socket

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