##// END OF EJS Templates
refactoring, code cleanup
refactoring, code cleanup

File last commit:

r158:130781364799 v2
r158:130781364799 v2
Show More
RunnableComponent.cs
58 lines | 1.1 KiB | text/x-csharp | CSharpLexer
using System;
using Implab.Parsing;
namespace Implab.Components {
public class RunnableComponent : Disposable, IRunnable, IInitializable {
IPromise m_pending;
Exception m_lastError;
protected RunnableComponent(bool initialized) {
}
#region IInitializable implementation
public void Init() {
}
#endregion
#region IRunnable implementation
public IPromise Start() {
throw new NotImplementedException();
}
protected virtual IPromise OnStart() {
return Promise.SUCCESS;
}
protected virtual void Run() {
}
public IPromise Stop() {
throw new NotImplementedException();
}
public ExecutionState State {
get {
throw new NotImplementedException();
}
}
public Exception LastError {
get {
throw new NotImplementedException();
}
}
#endregion
}
}