mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
Cleaning
This commit is contained in:
@ -1502,7 +1502,7 @@ public partial class DistributedConnection : NetworkConnection, IStore
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex);
|
||||
Global.Log(ex);
|
||||
}
|
||||
finally
|
||||
{
|
||||
@ -1654,7 +1654,7 @@ public partial class DistributedConnection : NetworkConnection, IStore
|
||||
|
||||
var link = DC.ToBytes(r.DistributedResourceLink);
|
||||
|
||||
Console.WriteLine("Restoreing " + r.DistributedResourceLink);
|
||||
Global.Log("DistributedConnection", LogType.Debug, "Restoreing " + r.DistributedResourceLink);
|
||||
|
||||
try
|
||||
{
|
||||
@ -1683,7 +1683,7 @@ public partial class DistributedConnection : NetworkConnection, IStore
|
||||
|
||||
await Fetch(id, null);
|
||||
|
||||
Console.WriteLine("Restored " + id);
|
||||
Global.Log("DistributedConnection", LogType.Debug, "Restored " + id);
|
||||
}
|
||||
}
|
||||
catch (AsyncException ex)
|
||||
|
@ -601,8 +601,9 @@ partial class DistributedConnection
|
||||
{
|
||||
// reply failed
|
||||
//SendParams(0x80, r.Instance.Id, r.Instance.Age, r.Instance.Serialize(false, this));
|
||||
Console.WriteLine("Not found " + resourceId);
|
||||
|
||||
|
||||
Global.Log("DistributedConnection", LogType.Debug, "Not found " + resourceId);
|
||||
|
||||
SendError(ErrorType.Management, callback, (ushort)ExceptionCode.ResourceNotFound);
|
||||
}
|
||||
});
|
||||
|
@ -413,7 +413,7 @@ public class DistributedResource : DynamicObject, IResource, INotifyPropertyChan
|
||||
/// <returns>Indicator when the property is set.</returns>
|
||||
protected object _SetSync(byte index, object value)
|
||||
{
|
||||
Console.WriteLine("Setting..." + index + " " + value);
|
||||
//Console.WriteLine("Setting..." + index + " " + value);
|
||||
|
||||
if (destroyed)
|
||||
throw new Exception("Trying to access a destroyed object.");
|
||||
@ -433,7 +433,7 @@ public class DistributedResource : DynamicObject, IResource, INotifyPropertyChan
|
||||
|
||||
var rt = _Set(index, value).Wait();
|
||||
|
||||
Console.WriteLine("Done Setting");
|
||||
//Console.WriteLine("Done Setting");
|
||||
return rt;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user