Simias::Service::Manager Class Reference

System Manager. More...

Collaboration diagram for Simias::Service::Manager:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void StartServices ()
 Start the installed services. This call is asynchronous. Use ServicesStarted to now when this call has finished.
void StopServices ()
 Stop the installed services. This call is asynchronous. Use ServicesStarted to know when this call has finished.
void WaitForServicesStarted ()
 Block until services are started.
void WaitForServicesStopped ()
 Block until services are stoped.
IEnumerator GetEnumerator ()
 Gets the enumerator for the ServiceCtl objects.

Static Public Member Functions

static Manager GetManager ()
 Gets the static instance of the Manager object.
static ServiceCtl GetService (string name)
 Get the named ServiceCtl object.

Static Public Attributes

static ISimiasLog logger = Simias.SimiasLogManager.GetLogger(typeof(Manager))
 Used to log service events.

Properties

bool ServiceStarted [get]
 Gets the started state of the services.
static bool LdapServiceEnabled [get, set]
 Ldap service enable/disable status.
static bool UserMoveServiceEnabled [get, set]
 user move service enable/disable status
static string LdapAssemblyName [get, set]
 Ldap Assebly name.
static string UserMovementAssemblyName [get, set]
 User movement Assebly name.
bool ServicesStopped [get]
 Get the status of services stopped.
static bool ShuttingDown [get]
 Allows other threads in the process know when Simias is shutting down so that they can also stop processing.

Events

ShutdownEventHandler Shutdown
 Delegate to handle Shutdown events.


Detailed Description

System Manager.


Member Function Documentation

static Manager Simias::Service::Manager::GetManager (  )  [inline, static]

Gets the static instance of the Manager object.

Returns:
The static instance of the Manager object.

void Simias::Service::Manager::StartServices (  )  [inline]

Start the installed services. This call is asynchronous. Use ServicesStarted to now when this call has finished.

void Simias::Service::Manager::StopServices (  )  [inline]

Stop the installed services. This call is asynchronous. Use ServicesStarted to know when this call has finished.

void Simias::Service::Manager::WaitForServicesStarted (  )  [inline]

Block until services are started.

void Simias::Service::Manager::WaitForServicesStopped (  )  [inline]

Block until services are stoped.

static ServiceCtl Simias::Service::Manager::GetService ( string  name  )  [inline, static]

Get the named ServiceCtl object.

Parameters:
name The name of the service to get.
Returns:
The ServiceCtl for the service.

IEnumerator Simias::Service::Manager::GetEnumerator (  )  [inline]

Gets the enumerator for the ServiceCtl objects.

Returns:
An enumerator.


Member Data Documentation

ISimiasLog Simias::Service::Manager::logger = Simias.SimiasLogManager.GetLogger(typeof(Manager)) [static]

Used to log service events.


Property Documentation

bool Simias::Service::Manager::ServiceStarted [get]

Gets the started state of the services.

bool Simias::Service::Manager::LdapServiceEnabled [static, get, set]

Ldap service enable/disable status.

bool Simias::Service::Manager::UserMoveServiceEnabled [static, get, set]

user move service enable/disable status

string Simias::Service::Manager::LdapAssemblyName [static, get, set]

Ldap Assebly name.

string Simias::Service::Manager::UserMovementAssemblyName [static, get, set]

User movement Assebly name.

bool Simias::Service::Manager::ServicesStopped [get]

Get the status of services stopped.

bool Simias::Service::Manager::ShuttingDown [static, get]

Allows other threads in the process know when Simias is shutting down so that they can also stop processing.


Event Documentation

ShutdownEventHandler Simias::Service::Manager::Shutdown

Delegate to handle Shutdown events.


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

Generated on Wed Apr 8 14:51:50 2009 for simias by  doxygen 1.5.6