##// END OF EJS Templates
sync
sync

File last commit:

r158:130781364799 v2
r174:983df35b3ca1 ref20160224
Show More
RunnableComponent.cs
58 lines | 1.1 KiB | text/x-csharp | CSharpLexer
cin
Promises: SignalXXX methods merged into SignalHandler method....
r156 using System;
using Implab.Parsing;
namespace Implab.Components {
public class RunnableComponent : Disposable, IRunnable, IInitializable {
cin
sync
r157
cin
Promises: SignalXXX methods merged into SignalHandler method....
r156
cin
refactoring, code cleanup
r158
cin
Promises: SignalXXX methods merged into SignalHandler method....
r156 IPromise m_pending;
Exception m_lastError;
protected RunnableComponent(bool initialized) {
cin
refactoring, code cleanup
r158
cin
Promises: SignalXXX methods merged into SignalHandler method....
r156 }
#region IInitializable implementation
public void Init() {
}
#endregion
#region IRunnable implementation
public IPromise Start() {
cin
refactoring, code cleanup
r158 throw new NotImplementedException();
cin
Promises: SignalXXX methods merged into SignalHandler method....
r156 }
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
}
}