Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Public Member Functions
IlsSrvEndPointFactory Class Reference

IlsMvEndPointFactory is a factory of IlsMvComponent and IlsMvComponentItf instances. This is the default factory of Server, set with IlsMvEndPointFactory::SetSingleton() in the constructor of IlsMvServer. More...

#include <ilserver/mvcpitf.h>

Inheritance diagram for IlsSrvEndPointFactory:
IlsMvEndPointFactory

Public Member Functions

virtual IlsMvEndPointnewComponentItf ()
 Called by the IlsMvEndPointFactory::NewComponentItf() static function to create a new instance of an IlsMvComponentItf class or subclass. More...
 
- Public Member Functions inherited from IlsMvEndPointFactory
 IlsMvEndPointFactory ()
 Constructor. More...
 
virtual ~IlsMvEndPointFactory ()
 Destructor. More...
 
virtual IlsMvEndPointnewComponent ()
 Called by the NewComponent() static function to create a new instance of an IlsMvComponent class or subclass. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from IlsMvEndPointFactory
static IlsMvEndPointFactoryGetSingleton ()
 Returns a reference to the component factory. More...
 
static IlsMvEndPointFactoryGetSingletonPtr ()
 Returns a pointer to the component factory. More...
 
static IlsMvEndPointNewComponent ()
 Called by Server to create a new instance of the IlsMvComponent class. More...
 
static IlsMvEndPointNewComponentItf ()
 Called by Server to create a new instance of the IlsMvComponentItf class. More...
 
static IlsMvEndPointFactorySetSingleton (IlsMvEndPointFactory *componentFactory)
 Declares the object pointed by componentFactory as the component factory singleton. More...
 

Detailed Description

IlsMvEndPointFactory is a factory of IlsMvComponent and IlsMvComponentItf instances. This is the default factory of Server, set with IlsMvEndPointFactory::SetSingleton() in the constructor of IlsMvServer.

Library: mvserver

By subclassing IlsSrvEndPointFactory and overriding the newInstance() and newComponentItf() functions, you can create your own subtypes of IlsMvComponent and IlsMvComponentItf.

See also
IlsMvComponent, IlsMvComponentItf, IlsMvEndPointFactory

Member Function Documentation

◆ newComponentItf()

virtual IlsMvEndPoint* IlsSrvEndPointFactory::newComponentItf ( )
virtual

Called by the IlsMvEndPointFactory::NewComponentItf() static function to create a new instance of an IlsMvComponentItf class or subclass.

You must override it if you want Server to create instances of a specific derived class.

See also
IlsMvEndPointFactory::GetSingleton(), IlsMvEndPointFactory::NewComponentItf().
Returns
Pointer to the new instance

Reimplemented from IlsMvEndPointFactory.