Ignore:
Timestamp:
Jun 14, 2010, 1:23:24 PM (11 years ago)
Author:
Paul Lelgemann
Message:

o Fixed KeySearcher progress display
+ Work on the distributed KeySearcher part

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypP2P/Internal/P2PBase.cs

    r1616 r1634  
    399399
    400400            responseWait.success = storeResult.Status == OperationStatus.Success;
     401            responseWait.operationStatus = storeResult.Status;
    401402            responseWait.Message = Encoding.UTF8.GetBytes(storeResult.Status.ToString());
    402403
    403404            // unblock WaitHandle in the synchronous method
    404405            responseWait.WaitHandle.Set();
    405 
    406             LogToMonitor("Received and handled OnSynchStoreCompleted.");
    407406        }
    408407
     
    441440            }
    442441
    443             LogToMonitor("Received retrieve callback, local ThreadId: " + Thread.CurrentThread.ManagedThreadId);
    444 
    445442            switch (retrieveResult.Status)
    446443            {
     
    459456            }
    460457
     458            responseWait.operationStatus = retrieveResult.Status;
     459
    461460            // unblock WaitHandle in the synchronous method
    462461            responseWait.WaitHandle.Set();
    463 
    464             LogToMonitor("Received and handled OnSynchRetrieveCompleted.");
    465462        }
    466463
     
    499496            }
    500497
    501             responseWait.success = removeResult.Status == OperationStatus.Success;
     498            responseWait.success = removeResult.Status != OperationStatus.Failure &&
     499                                   removeResult.Status != OperationStatus.VersionMismatch;
     500            responseWait.operationStatus = removeResult.Status;
    502501            responseWait.Message = Encoding.UTF8.GetBytes(removeResult.Status.ToString());
    503502
    504503            // unblock WaitHandle in the synchronous method
    505504            responseWait.WaitHandle.Set();
    506 
    507             LogToMonitor("Received and handled OnSynchRemoveCompleted.");
    508505        }
    509506
Note: See TracChangeset for help on using the changeset viewer.