##// END OF EJS Templates
preview version of Unity xml configuration
preview version of Unity xml configuration

File last commit:

r262:f1696cdc3d7a v3.0.8 v3
r272:9d1cca834b05 v3
Show More
IRunnable.cs
54 lines | 1.8 KiB | text/x-csharp | CSharpLexer
cin
component model refactoring
r152 using System;
cin
Working on runnable component
r250 using System.Threading;
using System.Threading.Tasks;
cin
component model refactoring
r152
namespace Implab.Components {
cin
Working on runnable component
r250 /// <summary>
/// Interface for the component which performs a long running task.
cin
RunnableComponent.Dispose(bool,Exception) changed to standart Dispose(bool)...
r208 /// </summary>
cin
Prerelease version of RunnableComponent...
r251 /// <remarks>
/// The access to the runnable component should be sequential, the
/// componet should support asynchronous completion of the initiated
/// operation but operations itself must be initiated sequentially.
/// </remarks>
public interface IRunnable {
cin
Added 'Fail' method to RunnableComponent which allows component to move from...
r203 /// <summary>
cin
RunnableComponent.Dispose(bool,Exception) changed to standart Dispose(bool)...
r208 /// Starts this instance
cin
Added 'Fail' method to RunnableComponent which allows component to move from...
r203 /// </summary>
cin
Prerelease version of RunnableComponent...
r251 /// <remarks>
/// This operation is cancellable and it's expected to move to
/// the failed state or just ignore the cancellation request,
/// </remarks>
cin
Added IInitializable.Initialize() overload...
r262 void Start();
cin
Working on runnable component
r250 void Start(CancellationToken ct);
cin
component model refactoring
r152
cin
Added 'Fail' method to RunnableComponent which allows component to move from...
r203 /// <summary>
cin
Prerelease version of RunnableComponent...
r251 /// Stops this instance and releases all resources, after the
/// instance is stopped it is moved to Disposed state and
/// can't be reused.
cin
Added 'Fail' method to RunnableComponent which allows component to move from...
r203 /// </summary>
cin
Prerelease version of RunnableComponent...
r251 /// <remarks>
/// If the componet was in the starting state the pending operation
/// will be requested to cancel. The stop operatin will be
/// performed only if the component in the running state.
/// </remarks>
cin
Added IInitializable.Initialize() overload...
r262 void Stop();
cin
Working on runnable component
r250 void Stop(CancellationToken ct);
cin
Added IInitializable.Initialize() overload...
r262
cin
Prerelease version of RunnableComponent...
r251 /// <summary>
cin
Removed obsolete App, ComponentContainer...
r256 /// Current state of the componenet, dynamically reflects the current state.
cin
Prerelease version of RunnableComponent...
r251 /// </summary>
cin
component model refactoring
r152 ExecutionState State { get; }
cin
Prerelease version of RunnableComponent...
r251 /// <summary>
/// Event to monitor the state of the component.
/// </summary>
cin
Added ResetState to RunnableComponent to reset in case of failure...
r205 event EventHandler<StateChangeEventArgs> StateChanged;
cin
Prerelease version of RunnableComponent...
r251 /// <summary>
/// The last error
/// </summary>
cin
component model refactoring
r152 Exception LastError { get; }
}
}