[ whitefrost.com | Account Manager 4 Product Page ]

Core.ComponentRuntime Class Reference

Summary description for ComponentRuntime. More...

Inheritance diagram for Core.ComponentRuntime:

Core.Interfaces.IRuntime Core.Interfaces.IRuntime

List of all members.

Public Member Functions

 ComponentRuntime ()
Boolean Initialize (IApplicationContext in_context)
Boolean AddRunnable (IRunnable runnable, String runnable_name)
IRunnable GetRunnable (String runnable_name)
Boolean RemoveRunnableById (String runnable_id)
void Pause ()
void UnPause ()
void Clear ()
Boolean Start ()
Boolean Stop ()
Boolean Shutdown ()
 ComponentRuntime ()
bool Initialize ()
Boolean Initialize (IApplicationContext in_context)
bool Initialize (IApplicationContext in_context, WindowsIdentity in_identity)
bool AddRunnable (IRunnable runnable, String runnable_name)
IRunnable GetRunnable (String runnable_name)
bool RemoveRunnable (IRunnable runnable)
bool RemoveRunnableById (String runnable_id)
void Pause ()
void UnPause ()
void Clear ()
bool Start ()
bool Stop ()
bool Shutdown ()

Properties

String InstanceId [get]
Core.Interfaces.IApplicationContext ApplicationContext [get]
Boolean IsPaused [get]
Boolean IsRunning [get]
int ReadyState [get]
IApplicationContext ApplicationContext [get]
bool IsPaused [get]
bool IsRunning [get]

Private Member Functions

void ProcessRunnables ()
void run ()
void ProcessRunnables ()
void run ()

Private Attributes

Thread runtime_thread = null
int ready_state = 0
IApplicationContext application_context = null
Boolean is_running = false
int thread_iterations = 0
Hashtable runnables = null
Boolean is_paused = false
String instance_id = null
bool is_running = false
Hashtable runnable_map = null
List< IRunnablerunnables = null
bool is_paused = false
WindowsIdentity impersonation_identity = null


Detailed Description

Summary description for ComponentRuntime.


Constructor & Destructor Documentation

Core.ComponentRuntime.ComponentRuntime (  ) 

Core.ComponentRuntime.ComponentRuntime (  ) 


Member Function Documentation

Boolean Core.ComponentRuntime.Initialize ( IApplicationContext  in_context  ) 

Boolean Core.ComponentRuntime.AddRunnable ( IRunnable  runnable,
String  runnable_name 
)

IRunnable Core.ComponentRuntime.GetRunnable ( String  runnable_name  ) 

Boolean Core.ComponentRuntime.RemoveRunnableById ( String  runnable_id  ) 

void Core.ComponentRuntime.Pause (  ) 

void Core.ComponentRuntime.UnPause (  ) 

void Core.ComponentRuntime.Clear (  ) 

void Core.ComponentRuntime.ProcessRunnables (  )  [private]

Boolean Core.ComponentRuntime.Start (  ) 

Boolean Core.ComponentRuntime.Stop (  ) 

void Core.ComponentRuntime.run (  )  [private]

Boolean Core.ComponentRuntime.Shutdown (  ) 

bool Core.ComponentRuntime.Initialize (  ) 

Boolean Core.ComponentRuntime.Initialize ( IApplicationContext  in_context  ) 

bool Core.ComponentRuntime.Initialize ( IApplicationContext  in_context,
WindowsIdentity  in_identity 
)

bool Core.ComponentRuntime.AddRunnable ( IRunnable  runnable,
String  runnable_name 
)

IRunnable Core.ComponentRuntime.GetRunnable ( String  runnable_name  ) 

bool Core.ComponentRuntime.RemoveRunnable ( IRunnable  runnable  ) 

bool Core.ComponentRuntime.RemoveRunnableById ( String  runnable_id  ) 

void Core.ComponentRuntime.Pause (  ) 

void Core.ComponentRuntime.UnPause (  ) 

void Core.ComponentRuntime.Clear (  ) 

void Core.ComponentRuntime.ProcessRunnables (  )  [private]

bool Core.ComponentRuntime.Start (  ) 

bool Core.ComponentRuntime.Stop (  ) 

void Core.ComponentRuntime.run (  )  [private]

bool Core.ComponentRuntime.Shutdown (  ) 


Member Data Documentation

Thread Core.ComponentRuntime::runtime_thread = null [private]

Boolean Core.ComponentRuntime.is_running = false [private]

Hashtable Core.ComponentRuntime.runnables = null [private]

Boolean Core.ComponentRuntime.is_paused = false [private]

String Core.ComponentRuntime::instance_id = null [private]

bool Core.ComponentRuntime.is_running = false [private]

Hashtable Core.ComponentRuntime.runnable_map = null [private]

bool Core.ComponentRuntime.is_paused = false [private]

WindowsIdentity Core.ComponentRuntime.impersonation_identity = null [private]


Property Documentation

String Core.ComponentRuntime::InstanceId [get]

Core.Interfaces.IApplicationContext Core.ComponentRuntime.ApplicationContext [get]

Boolean Core.ComponentRuntime.IsPaused [get]

Boolean Core.ComponentRuntime.IsRunning [get]

int Core.ComponentRuntime::ReadyState [get]

IApplicationContext Core.ComponentRuntime.ApplicationContext [get]

bool Core.ComponentRuntime.IsPaused [get]

bool Core.ComponentRuntime.IsRunning [get]


The documentation for this class was generated from the following files:
Stephen W. Cote, 2009, whitefrost.com