mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-06-13 14:38:43 +00:00
VERBOSE
This commit is contained in:
@@ -114,6 +114,9 @@ partial class EpConnection
|
||||
|
||||
AsyncReply SendRequest(EpPacketRequest action, params object[] args)
|
||||
{
|
||||
#if VERBOSE
|
||||
Console.WriteLine($"Send request {action}");
|
||||
#endif
|
||||
var reply = new AsyncReply();
|
||||
var c = (uint)Interlocked.Increment(ref _callbackCounter);
|
||||
//callbackCounter++; // avoid thread racing
|
||||
@@ -2491,7 +2494,7 @@ partial class EpConnection
|
||||
//object fetchResourceLock = new object();
|
||||
public AsyncReply<RemoteTypeDef> FetchTypeDef(ulong id, ulong[] requestSequence)
|
||||
{
|
||||
//Console.WriteLine($"Fetching typedef {id}");
|
||||
//Console.WriteLine($"Fetching typedef {id} {Instance.Warehouse.GetHashCode()}");
|
||||
|
||||
RemoteTypeDef typeDef = _cachedTypeDefs[id];
|
||||
|
||||
@@ -2520,6 +2523,8 @@ partial class EpConnection
|
||||
}
|
||||
}
|
||||
|
||||
//Console.WriteLine($"Sent typedef {id} {Instance.Warehouse.GetHashCode()}");
|
||||
|
||||
var newSequence = requestSequence != null ? requestSequence.Concat(new ulong[] { id }).ToArray() : new ulong[] { id };
|
||||
|
||||
var reply = new AsyncReply<RemoteTypeDef>();
|
||||
|
||||
Reference in New Issue
Block a user