1. 02 Feb, 2009 1 commit
    • Steven Murray's avatar
      We have modified the castor::tape::aggregator::Transceiver API. We have split · 0141c734
      Steven Murray authored
      the reception of an RTCP message into two separate function calls; the
      reception of the header and then the reception of the body.
      This modification was needed in order to deal with the next step of
      the RTCOPY protocol where the main select loop has to deal with different
      types of incoming RTCOPY messages comming from different RTCPD threads.i
      Immediately after a call to select which indicates an incoming message, the
      tape aggregator needs to use the Transceiever to just read in the RTCP message
      header so it can then dispatch the receptionm of the body of the incomming
      message to the appropriate Transceiver body reception function.
  2. 30 Jan, 2009 1 commit
    • Steven Murray's avatar
      Added an accept connection function that supports a timeout. This function · 88f77112
      Steven Murray authored
      will facilitate implementing the RTPCD prototcol in a multi-threaded server.
      We need to be able to create an RTCPD  callback listener socket within the run
      function of a thread and then accept the initial connection made by RTCPD (as
      opposed to the 4 or more connections we will later receive from the TAPE IO and
      DISK IO threads).  This accept must have a timeout otherwise we could easily
      have a server that simply locks up if RTCPD never connects back.
  3. 29 Jan, 2009 1 commit