Class Client
Inheritance
System.Object
Client
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Volo.ClientSimulation.Clients
Assembly: Volo.ClientSimulation.dll
Syntax
public class Client : IClient, ITransientDependency
Fields
ClientThread
Declaration
protected Thread ClientThread
Field Value
| Type | Description |
|---|---|
| System.Threading.Thread |
Properties
Scenario
Declaration
protected Scenario Scenario { get; }
Property Value
| Type | Description |
|---|---|
| Scenario |
State
Declaration
public ClientState State { get; }
Property Value
| Type | Description |
|---|---|
| ClientState |
SyncLock
Declaration
protected object SyncLock { get; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Methods
CreateSnapshot()
Declaration
public ClientSnapshot CreateSnapshot()
Returns
| Type | Description |
|---|---|
| ClientSnapshot |
Initialize(Scenario)
Declaration
public void Initialize(Scenario scenario)
Parameters
| Type | Name | Description |
|---|---|---|
| Scenario | scenario |
Start()
Declaration
public void Start()
Stop()
Declaration
public void Stop()
Events
Stopped
Declaration
public event EventHandler Stopped
Event Type
| Type | Description |
|---|---|
| System.EventHandler |
Implements
ITransientDependency