#include <OW_IndicationServerImpl.hpp>
Inheritance diagram for OW_NAMESPACE::IndicationServerImpl:
Public Member Functions | |
IndicationServerImpl () | |
~IndicationServerImpl () | |
virtual String | getName () const |
Every service may have a name. | |
virtual StringArray | getDependencies () const |
Get the list of services this service depends on. | |
virtual void | init (const ServiceEnvironmentIFCRef &env) |
init() will be called to give the derived class an opportunity to initialize itself. | |
virtual void | start () |
In start(), a service should start doing whatever it does, such as starting a new thread or adding selectables to the environment. | |
void | shutdown () |
The service must shutdown completely before returning from this function. | |
void | processIndication (const CIMInstance &instance, const String &instNS) |
virtual void | startDeleteSubscription (const String &ns, const CIMObjectPath &subPath) |
virtual void | startCreateSubscription (const String &ns, const CIMInstance &subInst, const String &username) |
virtual void | startModifySubscription (const String &ns, const CIMInstance &subInst) |
void | deleteSubscription (const String &ns, const CIMObjectPath &subPath) |
void | createSubscription (const String &ns, const CIMInstance &subInst, const String &username) |
void | modifySubscription (const String &ns, const CIMInstance &subInst) |
virtual void | modifyFilter (const String &ns, const CIMInstance &filterInst, const String &userName) |
Private Attributes | |
IntrusiveReference< IndicationServerImplThread > | m_indicationServerThread |
Definition at line 64 of file OW_IndicationServerImpl.hpp.
|
Definition at line 101 of file OW_IndicationServerImpl.cpp. |
|
Definition at line 107 of file OW_IndicationServerImpl.cpp. |
|
|
|
|
|
Get the list of services this service depends on. The returned services will be started before and shutdown after this service. It is an error to return the name of a non-existent service, and the cimom startup will fail. The default is to have no dependencies. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 120 of file OW_IndicationServerImpl.cpp. References OW_NAMESPACE::ServiceIFCNames::CIMServer, OW_NAMESPACE::ServiceIFCNames::ProviderManager, and OW_NAMESPACE::Array< T >::push_back(). |
|
Every service may have a name. The name is used to calculate dependencies, other services can return the name from getDependencies(), to instruct the cimom about which order to start and shutdown all the services. The default is to have no name, in that case, no other service can depend on it. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 113 of file OW_IndicationServerImpl.cpp. References OW_NAMESPACE::ServiceIFCNames::IndicationServer. |
|
init() will be called to give the derived class an opportunity to initialize itself. Do not create threads which interact with the environment until start() is called. During the loading/initializing phase, the environment is single-threaded.
Implements OW_NAMESPACE::ServiceIFC. Definition at line 130 of file OW_IndicationServerImpl.cpp. References OW_NAMESPACE::IntrusiveReference< T >::cast_to(), env, m_indicationServerThread, and OW_ASSERT. |
|
Implements OW_NAMESPACE::IndicationServer. Definition at line 182 of file OW_IndicationServerImpl.cpp. References m_indicationServerThread, and ns. |
|
|
|
Implements OW_NAMESPACE::IndicationServer. Definition at line 154 of file OW_IndicationServerImpl.cpp. References m_indicationServerThread. |
|
The service must shutdown completely before returning from this function. All copies of the service environment or objects obtained from it should be set to 0 to avoid circular reference counts. Implements OW_NAMESPACE::ServiceIFC. Definition at line 147 of file OW_IndicationServerImpl.cpp. References m_indicationServerThread. |
|
In start(), a service should start doing whatever it does, such as starting a new thread or adding selectables to the environment. A service can't rely on the order of initalization, so if it needs to communicate with another one, that works hould be done in started() start() should not return until the service is actually started, but it must return. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 139 of file OW_IndicationServerImpl.cpp. References m_indicationServerThread. |
|
Implements OW_NAMESPACE::IndicationServer. Definition at line 168 of file OW_IndicationServerImpl.cpp. References m_indicationServerThread, ns, subInst, and username. |
|
Implements OW_NAMESPACE::IndicationServer. Definition at line 161 of file OW_IndicationServerImpl.cpp. References m_indicationServerThread, and ns. |
|
Implements OW_NAMESPACE::IndicationServer. Definition at line 175 of file OW_IndicationServerImpl.cpp. References m_indicationServerThread, ns, and subInst. |
|
Definition at line 89 of file OW_IndicationServerImpl.hpp. Referenced by init(), modifyFilter(), processIndication(), shutdown(), start(), startCreateSubscription(), startDeleteSubscription(), and startModifySubscription(). |