activemq-cpp-3.6.0
decaf::net::SocketImplFactory Class Reference

Factory class interface for a Factory that creates ScoketImpl objects. More...

#include <src/main/decaf/net/SocketImplFactory.h>

Public Member Functions

virtual ~SocketImplFactory ()
virtual SocketImplcreateSocketImpl ()=0
 Creates a new SokcetImpl instance and returns it, the caller then owns the instance and must delete it when finished with the SocketImpl.

Detailed Description

Factory class interface for a Factory that creates ScoketImpl objects.

These factories can be used to create various types of Sockets, e.g. Streaming, Multicast, SSL, or platform specific variations of these types.

See Also
decaf::net::Socket
decaf::net::ServerSocket
Since
1.0

Constructor & Destructor Documentation

virtual decaf::net::SocketImplFactory::~SocketImplFactory ( )
virtual

Member Function Documentation

virtual SocketImpl* decaf::net::SocketImplFactory::createSocketImpl ( )
pure virtual

Creates a new SokcetImpl instance and returns it, the caller then owns the instance and must delete it when finished with the SocketImpl.

Returns
new SocketImpl instance that is owned by the caller.

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