Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::NetworkToolkit Class Reference

#include <vcf/NetworkKit/NetworkToolkit.h>

Inheritance diagram for VCF::NetworkToolkit:

VCF::Win32NetworkToolkit List of all members.

Static Public Member Functions

static void create ()
static void destroy ()
static SocketPeercreateSocketPeer (int socketType)
 Creates a new OS specific SocketPeer instance.
static IPAddressPeercreateIPAddressPeer ()
static int getLastError ()

Protected Member Functions

 NetworkToolkit ()
virtual ~NetworkToolkit ()
virtual SocketPeerinternal_createSocketPeer (int socketType)=0
virtual IPAddressPeerinternal_createIPAddressPeer ()=0
virtual int internal_getLastError ()=0

Static Protected Attributes

static NetworkToolkitInstance

Constructor & Destructor Documentation

VCF::NetworkToolkit::NetworkToolkit  )  [inline, protected]
 

virtual VCF::NetworkToolkit::~NetworkToolkit  )  [inline, protected, virtual]
 


Member Function Documentation

static void VCF::NetworkToolkit::create  )  [static]
 

static IPAddressPeer* VCF::NetworkToolkit::createIPAddressPeer  )  [static]
 

static SocketPeer* VCF::NetworkToolkit::createSocketPeer int  socketType  )  [static]
 

Creates a new OS specific SocketPeer instance.

The caller specifies the socket type, which can be either a streaming type (i.e. a socket appropriate for TCP/IP streaming communication), or a datagram type (i.e. a socket appropriate for UPD communication )
Parameters:
int socketType indicates the type of socket
Returns:
SocketPeer Returns a new SocketPeer instance appropriate for the platform and the specified socket type.

static void VCF::NetworkToolkit::destroy  )  [static]
 

static int VCF::NetworkToolkit::getLastError  )  [static]
 

virtual IPAddressPeer* VCF::NetworkToolkit::internal_createIPAddressPeer  )  [protected, pure virtual]
 

Implemented in VCF::Win32NetworkToolkit.

virtual SocketPeer* VCF::NetworkToolkit::internal_createSocketPeer int  socketType  )  [protected, pure virtual]
 

Implemented in VCF::Win32NetworkToolkit.

virtual int VCF::NetworkToolkit::internal_getLastError  )  [protected, pure virtual]
 

Implemented in VCF::Win32NetworkToolkit.


Member Data Documentation

NetworkToolkit* VCF::NetworkToolkit::Instance [static, protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information