35 :
Event(-1), peer(p), bundle(b), fromlocal(local)
41 BundleReceivedEvent::~BundleReceivedEvent()
53 const std::string BundleReceivedEvent::getName()
const
55 return BundleReceivedEvent::className;
58 std::string BundleReceivedEvent::getMessage()
const
61 return "Bundle received " + bundle.toString() +
" (local)";
63 return "Bundle received " + bundle.toString() +
" from " + peer.getString();
67 const string BundleReceivedEvent::className =
"BundleReceivedEvent";