Table of Contents

Class ActionSequence<T>

Namespace
Dynamicweb.LoadBalancing
Assembly
Dynamicweb.Core.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

name string

Returns

bool

Enqueue(T)

Enqueues a command.

public void Enqueue(T command)

Parameters

command T

Command to add

Enroll(string, Func<string, ApplicationResponse<string>>)

public bool Enroll(string name, Func<string, ApplicationResponse<string>> serviceAction)

Parameters

name string
serviceAction Func<string, ApplicationResponse<string>>

Returns

bool

IsEmpty()

Indicates if sequence is empty.

public bool IsEmpty()

Returns

bool

isEmpty

ProcessAll()

public List<ApplicationResponse<string>> ProcessAll()

Returns

List<ApplicationResponse<string>>

ProcessNext()

public ApplicationResponse<string> ProcessNext()

Returns

ApplicationResponse<string>
To top