~comnets/openwns-app/trunk

« back to all changes in this revision

Viewing changes to src/session/client/CBR.cpp

  • Committer: Maciej Muehleisen
  • Date: 2011-09-22 18:56:33 UTC
  • Revision ID: mue@mue-laptop-20110922185633-1sgk3pxyyyybi8f7
Callback is used to probe PDU loss

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
      m << ", bitRate = " << bitRate;
106
106
      MESSAGE_END();
107
107
 
108
 
      applications::session::Session::outgoingProbesCalculation();
109
 
 
110
108
      applications::session::PDU* applicationPDU = new applications::session::PDU(Bit(packetSize), pyco);
111
109
 
112
110
      applicationPDU->setCreationTime(wns::simulator::getEventScheduler()->getTime());
119
117
 
120
118
      MESSAGE_SINGLE(NORMAL, logger, "APPL: Generated pdu with " << packetSize << " bits.");
121
119
 
 
120
      applications::session::Session::outgoingProbesCalculation(pdu);
 
121
 
122
122
      connection->sendData(pdu);
123
123
 
124
124
      state = idle;