public void ResultReceived(QueryOffsetResultCommand result) { if (result != null) { QueryOffsetCommand queryOffsetCommand = null; cmds.TryRemove(result.Header.CorrelationId, out queryOffsetCommand); if (queryOffsetCommand != null) { try { queryOffsetCommand.OnResultReceived(result); } catch (Exception e) { log.Warn("Exception occurred while calling resultReceived", e); } } } }
public void OnResultReceived(QueryOffsetResultCommand result) { Future.Set(result); }