Brunet.Services.MapReduce.MapReduceHandler.HandleMap C# (CSharp) Method

HandleMap() protected method

protected HandleMap ( object q, EventArgs eargs ) : void
q object
eargs System.EventArgs
return void
    protected void HandleMap(object q, EventArgs eargs) {
      object result;
      Channel map_res = (Channel)q;
      try {
        result = map_res.Dequeue();
      }
      catch(Exception x) {
        result = x;
      }
      _rpc.SendResult(map_res.State, result);
    }
    protected void HandleReduce(object q, EventArgs args) {