Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
LockInfo.cs
1using System;
2using System.Collections.Generic;
3using System.Net;
4using Waher.Events;
5
7{
8 internal class LockInfo
9 {
10 public string Resource;
11 public bool Locked;
12 public LinkedList<LockInfoRec> Queue = new LinkedList<LockInfoRec>();
13 }
14
15 internal class LockInfoRec
16 {
17 public LockInfo Info;
18 public DateTime Timeout;
19 public EventHandlerAsync<ClusterResourceLockEventArgs> Callback;
20 public IPEndPoint LockedBy;
21 public object State;
22 public bool TimeoutScheduled = false;
23 }
24}