Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

OmniEvents Namespace Reference


Classes

class  Callback
 Interface for classes that wish to receive callbacks from deferred requests. More...
class  ConsumerAdmin_i
class  Daemon
 Interface class that contains various methods for running omniEvents as a background task. More...
class  DaemonImpl
 Utility class that contains various methods for running omniEvents as a Unix daemon. More...
class  Win
 Utility class, contains functions that Windows should have, but doesn't. More...
class  RegistryKey
 Opens a windows registry key, and closed it upon destruction. More...
class  Service
 Singleton class that contains various methods for running a Windows service. More...
class  EventChannel_i
 Servant for CosEventChannelAdmin::EventChannel objects, also inherits from omni_thread. More...
class  EventChannelStore
 Container for Event Channels. More...
class  EventChannelFactory_i
class  EventQueue
 The EventQueue is a circular buffer, that contains _size-1 events. More...
class  Filter
 Event filter interface. More...
class  FilterByTCKind
 The most basic event filter allows only events of a certain CORBA TCKind to pass. More...
class  FilterByRepositoryId
 Allows only events of a certain CORBA RepositoryId to pass. More...
class  Mapper
 A dummy servant that installs itself into the INSPOA and redirects all calls to the real destination. More...
class  timestamp
 This class can be used to generate timestamps. More...
class  omniEventsLog
class  omniEventsLogWorker
class  WriteLock
 Obtains an output stream to the active persistancy logfile, and locks it for exclusive access. More...
class  Orb
 Singleton class that owns the ORB and various initial references. More...
class  PersistNode
class  ProxyManager
 Base class for ServantActivator classes that manage Proxy servants. More...
class  Proxy
 Base class for three of the four Proxy servants. More...
class  ProxyPullConsumerManager
class  ProxyPullConsumer_i
 Implementation of the ProxyPullConsumer interface. More...
class  ProxyPullSupplierManager
class  ProxyPullSupplier_i
 Servant for ProxyPullSupplier interface. More...
class  ProxyPushConsumer_i
 Default servant for ProxyPushConsumer objects. More...
class  omni_mutex_kcol
 The opposite of omni_mutex_lock, unlocks the mutex upon construction and re-locks it upon destruction. More...
class  ProxyPushSupplierManager
class  ProxyPushSupplier_i
class  Servant
 Base class for servants. More...
class  SupplierAdmin_i

Functions

void shutdown0 (void)
 Param to atexit().
void shutdown2 (int s, void *)
 Param to on_exit().
void usage (int argc, char **argv)
void insertArgs (int &argc, char **&argv, int idx, int nargs)
 Utility function, used to manipulate argv when using omniORB3.
template<class T>
T::_ptr_type string_to_ (const char *oidStr)
 Converts a string to a narrowed reference.
CORBA::Object_ptr createReference (PortableServer::POA_ptr poa, const char *repositoryId)
 Helper method called by createNarrowedReference().
char * newUniqueId ()
 Generates a unique object ID string, based upon the current PID and time.
template<class T>
T::_ptr_type createNarrowedReference (PortableServer::POA_ptr poa, const char *repositoryId)
 Helper method that creates a new CORBA object and then narrows it to the appropriate type.
const char * version ()
 Returns the constant version ID and copyright string.

Variables

DaemonImpl daemon
 Singleton - only at file scope.
static Service service
 Singleton - only at file scope.
timestamp ts


Function Documentation

template<class T>
T::_ptr_type OmniEvents::createNarrowedReference PortableServer::POA_ptr  poa,
const char *  repositoryId
 

Helper method that creates a new CORBA object and then narrows it to the appropriate type.

Wrapper around POA::create_reference_with_id. The type T *must* match the repositoryId parameter. Called by a class' createObject() method.

Parameters:
poa POA to own new object.
repositoryId Identifies the type of object to make. e.g. _tc_ProxyPushSupplier->id().

Definition at line 96 of file Servant.h.

References createReference().

CORBA::Object_ptr OmniEvents::createReference PortableServer::POA_ptr  poa,
const char *  repositoryId
 

Helper method called by createNarrowedReference().

Parameters:
poa POA to own new object.
repositoryId Identifies the type of object to make. e.g. _tc_ProxyPushSupplier->id().

Definition at line 53 of file Servant.cc.

References newUniqueId().

Referenced by createNarrowedReference().

void OmniEvents::insertArgs int &  argc,
char **&  argv,
int  idx,
int  nargs
 

Utility function, used to manipulate argv when using omniORB3.

Definition at line 97 of file omniEvents.cc.

Referenced by main().

char * OmniEvents::newUniqueId  ) 
 

Generates a unique object ID string, based upon the current PID and time.

Definition at line 70 of file Servant.cc.

References mutex.

Referenced by OmniEvents::EventChannelFactory_i::create_object(), and createReference().

void OmniEvents::shutdown0 void   ) 
 

Param to atexit().

Definition at line 114 of file daemon_unix.cc.

References daemon, and OmniEvents::DaemonImpl::shutdown().

Referenced by OmniEvents::Service::daemonize(), and OmniEvents::DaemonImpl::daemonize().

void OmniEvents::shutdown2 int  s,
void * 
 

Param to on_exit().

Definition at line 115 of file daemon_unix.cc.

References daemon, and OmniEvents::DaemonImpl::shutdown().

Referenced by OmniEvents::DaemonImpl::daemonize().

template<class T>
T::_ptr_type OmniEvents::string_to_ const char *  oidStr  ) 
 

Converts a string to a narrowed reference.

Definition at line 132 of file Orb.h.

References OmniEvents::Orb::_orb, and OmniEvents::Orb::inst().

void OmniEvents::usage int  argc,
char **  argv
 

Definition at line 49 of file omniEvents.cc.

References OMNIEVENTS_LOG_DEFAULT_LOCATION, OMNIEVENTS_LOGDIR_ENV_VAR, and PACKAGE_NAME.

Referenced by main().

const char * OmniEvents::version  ) 
 

Returns the constant version ID and copyright string.

Definition at line 32 of file version.cc.

References PACKAGE_STRING.

Referenced by main().


Variable Documentation

DaemonImpl OmniEvents::daemon
 

Singleton - only at file scope.

Although we initialize the value to NULL, we don't trust that the runtime will actually initialise it.

Definition at line 94 of file daemon_unix.cc.

Referenced by OmniEvents::Daemon::Daemon(), OmniEvents::Daemon::daemonize(), OmniEvents::Daemon::foreground(), OmniEvents::DaemonImpl::log(), main(), OmniEvents::Daemon::pidfile(), OmniEvents::Daemon::runningOk(), shutdown0(), shutdown2(), OmniEvents::Daemon::tracefile(), and OmniEvents::Daemon::~Daemon().

Service OmniEvents::service [static]
 

Singleton - only at file scope.

Definition at line 166 of file daemon_windows.cc.

Referenced by OmniEvents::Service::ctrlHandler(), OmniEvents::Service::install(), OmniEvents::Service::log(), and OmniEvents::Service::uninstall().

timestamp OmniEvents::ts
 

Definition at line 275 of file omniEventsLog.cc.

Referenced by OmniEvents::omniEventsLog::checkpoint().


Generated on Fri Aug 26 20:56:16 2005 for OmniEvents by  doxygen 1.4.3-20050530