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

OmniEvents Namespace Reference


Compounds

class  Callback
 Interface for classes that wish to receive callbacks from deferred requests. More...

class  omni_mutex_kcol
 The opposite of omni_mutex_lock, unlocks the mutex upon construction and re-locks it upon destruction. More...

class  ProxyPushSupplier_i
class  PauseThenWake
 Helper class that locks ProxyPushSupplier upon construction, and wakes it up on destruction. More...

struct  Connection
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  EventChannel_i
 Servant for CosEventChannelAdmin::EventChannel objects, also inherits from omni_thread. More...

class  EventChannelFactory_i
class  EventChannelStore
 Container for Event Channels. More...

class  EventQueue
 The EventQueue is a circular buffer, that contains _size-1 events. More...

class  Reader
class  Filter
 Event filter interface. More...

class  FilterByRepositoryId
 Allows only events of a certain CORBA RepositoryId to pass. More...

class  FilterByTCKind
 The most basic event filter allows only events of a certain CORBA TCKind to pass. More...

class  IOError
class  Mapper
 A dummy servant that installs itself into the INSPOA and redirects all calls to the real destination. More...

class  omniEventsLog
class  omniEventsLogWorker
class  Orb
 Singleton class that owns the ORB and various initial references. More...

class  PersistNode
class  Proxy
 Base class for three of the four Proxy servants. More...

class  ProxyManager
 Base class for ServantActivator classes that manage Proxy servants. More...

class  ProxyPullConsumer_i
 Implementation of the ProxyPullConsumer interface. More...

class  ProxyPullConsumerManager
class  ProxyPullSupplier_i
 Servant for ProxyPullSupplier interface. More...

class  ProxyPullSupplierManager
class  ProxyPushConsumer_i
 Default servant for ProxyPushConsumer objects. More...

class  ProxyPushSupplierManager
class  RegistryKey
 Opens a windows registry key, and closed it upon destruction. More...

class  Servant
 Base class for servants. More...

class  Service
 Singleton class that contains various methods for running a Windows service. More...

class  SupplierAdmin_i
class  timestamp
 This class can be used to generate timestamps. More...

class  Win
 Utility class, contains functions that Windows should has, but doesn't. More...

class  WriteLock
 Obtains an output stream to the active persistancy logfile, and locks it for exclusive access. More...


Functions

void shutdown0 (void)
 Param to atexit(). More...

void shutdown2 (int s, void *)
 Param to on_exit(). More...

void usage (int argc, char **argv)
void version ()
void insertArgs (int &argc, char **&argv, int idx, int nargs)
 Utility function, used to manipulate argv when using omniORB3. More...

template<class T> T::_ptr_type string_to_ (const char *oidStr)
 Converts a string to a narrowed reference. More...

CORBA::Object_ptr createReference (PortableServer::POA_ptr poa, const char *repositoryId)
 Helper method called by createNarrowedReference(). More...

char * newUniqueId ()
 Generates a unique object ID string, based upon the current PID and time. More...

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. More...


Variables

DaemonImpl daemon
 Singleton - only at file scope. More...

Service service
 Singleton - only at file scope. More...

timestamp ts


Function Documentation

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.

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 62 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 52 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 105 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 69 of file Servant.cc.

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 OmniEvents::DaemonImpl::shutdown().

void shutdown2 int    s,
void *   
 

Param to on_exit().

Definition at line 115 of file daemon_unix.cc.

References OmniEvents::DaemonImpl::shutdown().

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

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

Converts a string to a narrowed reference.

Definition at line 132 of file Orb.h.

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

Definition at line 49 of file omniEvents.cc.

References OMNIEVENTS_LOG_DEFAULT_LOCATION, and PACKAGE_NAME.

Referenced by main().

void OmniEvents::version  
 

Definition at line 97 of file omniEvents.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 main().

Service OmniEvents::service [static]
 

Singleton - only at file scope.

Definition at line 166 of file daemon_windows.cc.

timestamp OmniEvents::ts
 

Definition at line 269 of file omniEventsLog.cc.


Generated on Fri Nov 19 17:42:31 2004 for OmniEvents by doxygen1.2.15