servlib/bundling/BPQCache.cc
changeset 58 574358af597b
parent 56 76420d9f6e62
child 59 e5674a26ce74
equal deleted inserted replaced
57:bb780f1beb9b 58:574358af597b
   121 		BPQResponse::create_bpq_response(new_response,
   121 		BPQResponse::create_bpq_response(new_response,
   122 										 bundle,
   122 										 bundle,
   123 										 current_fragment,
   123 										 current_fragment,
   124 										 local_eid);
   124 										 local_eid);
   125 
   125 
   126 		BundleReceivedEvent e(new_response, EVENTSRC_CACHE);
   126 		BundleReceivedEvent* e = new BundleReceivedEvent(new_response, EVENTSRC_CACHE);
   127 		BundleDaemon::instance()->post(&e);
   127 		BundleDaemon::instance()->post(e);
   128 
   128 
   129 		if( !is_complete ){
   129 		if( !is_complete ){
   130 			BPQFragment bpq_frag( current_fragment->frag_offset(),
   130 			BPQFragment bpq_frag( current_fragment->frag_offset(),
   131 								  current_fragment->payload().length() );
   131 								  current_fragment->payload().length() );
   132 			block->add_fragment(bpq_frag);
   132 			block->add_fragment(bpq_frag);