예제 #1
0
 void
 Sink::send_one(Part& msg, bool use_copy) throw(ZmqErrorType)
 {
   if (use_copy)
   {
     Part p;
     p.copy(msg);
     send_owned(p);
   }
   else
   {
     send_owned(msg);
   }
 }