void ReceiverManager2Receiver::TransportState(Bwx& aValue) const { iMutex.Wait(); try { aValue.ReplaceThrow(iTransportState); } catch (BufferOverflow) { aValue.Replace(Brx::Empty()); } iMutex.Signal(); }
void ReceiverManager2Receiver::SenderMetadata(Bwx& aValue) const { iMutex.Wait(); try { aValue.ReplaceThrow(iMetadata); } catch (BufferOverflow) { aValue.Replace(Brx::Empty()); } iMutex.Signal(); }