Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ClusterResourceLockEventArgs.cs
1using System.Net;
2
4{
9 {
10 private readonly IPEndPoint lockedBy;
11 private readonly bool lockSuccessful;
12
21 IPEndPoint LockedBy, object State)
22 : base(Resource, State)
23 {
24 this.lockedBy = LockedBy;
25 this.lockSuccessful = LockSuccessful;
26 }
27
33 public bool LockSuccessful => this.lockSuccessful;
34
40 public IPEndPoint LockedBy => this.lockedBy;
41 }
42}
Event arguments for cluster resource events.
object State
State object passed on to the original request.
Event arguments for cluster resource lock events.
IPEndPoint LockedBy
If lock was not successful, this is the endpoint that has the resource locked. If null,...
ClusterResourceLockEventArgs(string Resource, bool LockSuccessful, IPEndPoint LockedBy, object State)
Event arguments for cluster resource lock events.
bool LockSuccessful
If the lock operation was successful or not. If not, LockedBy contains information about what endpoin...