Class ActionSequence<T>
- Namespace
 - Dynamicweb.LoadBalancing
 
- Assembly
 - Dynamicweb.LoadBalancing.dll
 
public class ActionSequence<T> where T : Command
  Type Parameters
T
- Inheritance
 - 
      
      ActionSequence<T>
 
- Inherited Members
 
Methods
Drop(string)
public bool Drop(string name)
  Parameters
namestring
Returns
Enqueue(T)
Enqueues a command.
  
  public void Enqueue(T command)
  Parameters
commandT- Command to add
 
Enroll(string, Func<string, ApplicationResponse<string>>)
public bool Enroll(string name, Func<string, ApplicationResponse<string>> serviceAction)
  Parameters
namestringserviceActionFunc<string, ApplicationResponse<string>>
Returns
IsEmpty()
Indicates if sequence is empty.
  
  public bool IsEmpty()
  Returns
- bool
 - isEmpty
 
ProcessAll()
public List<ApplicationResponse<string>> ProcessAll()
  Returns
ProcessNext()
public ApplicationResponse<string> ProcessNext()