Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

SysHook Class Reference

#include <SysHook.h>

Inheritance diagram for SysHook:

OrbInit List of all members.

Detailed Description

An accessor for system resources like the Root POA and ORB.

OrbInit should be the only SysHook in a system.

Author:
Author
knoxy
Version:
Revision
1.3
Date:
Date
2004/11/12 03:53:19


Public Member Functions

virtual void shutDown ()=0 throw (CORBA::SystemException)
virtual void run ()=0 throw (CORBA::SystemException)
virtual void holdRequests (bool wait)=0 throw (PortableServer::POAManager::AdapterInactive)
virtual void activate ()=0 throw (PortableServer::POAManager::AdapterInactive)
virtual void discardRequests (bool wait)=0 throw (PortableServer::POAManager::AdapterInactive)


Member Function Documentation

virtual void SysHook::activate  )  throw (PortableServer::POAManager::AdapterInactive) [pure virtual]
 

Activate the POAManager

Implemented in OrbInit.

virtual void SysHook::discardRequests bool  wait  )  throw (PortableServer::POAManager::AdapterInactive) [pure virtual]
 

Ask the system to discard requests

The POA Manager will discard all incoming requests. The server will raise a TRANSIENT system exception.

Parameters:
wait - If true, this call will not return until all requests received before this call have completed processing

Implemented in OrbInit.

virtual void SysHook::holdRequests bool  wait  )  throw (PortableServer::POAManager::AdapterInactive) [pure virtual]
 

Ask the system to hold requests

A caller can ask the POAManager to hold requests until the caller uses activate

Parameters:
wait - if true, this call will not return until all requests received before this call have completed processing

Implemented in OrbInit.

virtual void SysHook::run  )  throw (CORBA::SystemException) [pure virtual]
 

Ask the system to run

Implemented in OrbInit.

virtual void SysHook::shutDown  )  throw (CORBA::SystemException) [pure virtual]
 

Ask the system to shutdown

Implemented in OrbInit.


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