Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

mpcl::net::corba::TServerApplication< TOrb > Class Template Reference

Base class for server applications. More...

#include <server_application.hh>

Inheritance diagram for mpcl::net::corba::TServerApplication< TOrb >:

mpcl::TAbstractApplication TColocatedApplication TProducerApplication List of all members.

Public Methods

 TServerApplication (const char *pkcNAME, const char *pkcRELEASE, TOrb &rtORB)
void initialize (void)=0
int start (void)

Protected Attributes

TOrbrtOrb
 Server ORB.


Detailed Description

template<typename TOrb>
class mpcl::net::corba::TServerApplication< TOrb >

Base class for server applications.

Definition at line 46 of file server_application.hh.


Constructor & Destructor Documentation

template<typename TOrb>
mpcl::net::corba::TServerApplication< TOrb >::TServerApplication const char *    pkcNAME,
const char *    pkcRELEASE,
TOrb   rtORB
[inline]
 

Builds a new instance, initializes the ORB.

Parameters:
pkcNAME  Application name.
pkcRELEASE  Application release.
iPARAMETER_COUNT  Parameter count (in C language is argc).
ppkcPARAMETERS  Parameter values (in C language is argv).
See also:
argc, argv.

Definition at line 69 of file server_application.hh.


Member Function Documentation

template<typename TOrb>
void mpcl::net::corba::TServerApplication< TOrb >::initialize void    [pure virtual]
 

Initializes application. It should register the SERVER objects in the Root POA. It also must choose the SERVER object lifetime (transient or persistent) for the registered SERVER objects.

Implements mpcl::TAbstractApplication.

Implemented in TColocatedApplication, and TProducerApplication.

template<typename TOrb>
int mpcl::net::corba::TServerApplication< TOrb >::start void    [inline, virtual]
 

Start the application execution. In a console application, this means that any output must begin in this function.

Returns:
Exit status.

Implements mpcl::TAbstractApplication.

Reimplemented in TColocatedApplication.

Definition at line 82 of file server_application.hh.

References mpcl::net::corba::TOrb::start().


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 02:35:25 2003 for MPCL by doxygen1.2.18