Logo Search packages:      
Sourcecode: jacktrip version File versions  Download package

void JackTrip::slotUdpWatingTooLong ( int  wait_msec ) [inline, slot]

This slot emits in turn the signal signalNoUdpPacketsForSeconds when UDP is waited for more than 30 seconds.

It is used to remove the thread from the server.

Definition at line 246 of file JackTrip.h.

References signalNoUdpPacketsForSeconds().

  { 
    int wait_time = 30000; // msec
    if ( !(wait_msec%wait_time) ) {
      std::cerr << "UDP WAITED MORE THAN 30 seconds." << std::endl;
      emit signalNoUdpPacketsForSeconds();
    }
  }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index