Lines Matching refs:read_ch_tx
73 read_ch_tx: Arc<Mutex<Option<mpsc::Sender<InboundData>>>>, field
205 read_ch_tx: Arc::new(Mutex::new(None)), in new()
221 let read_ch_tx = Arc::clone(&self.read_ch_tx); in listen() localVariable
239 &read_ch_tx, in listen()
265 read_ch_tx: &Arc<Mutex<Option<mpsc::Sender<InboundData>>>>, in handle_inbound()
291 ClientInternal::handle_stun_message(tr_map, read_ch_tx, data, from).await in handle_inbound()
293 ClientInternal::handle_channel_data(binding_mgr, read_ch_tx, data).await in handle_inbound()
306 read_ch_tx: &Arc<Mutex<Option<mpsc::Sender<InboundData>>>>, in handle_stun_message()
333 let _ = ClientInternal::handle_inbound_relay_conn(read_ch_tx, &data.0, from).await; in handle_stun_message()
375 read_ch_tx: &Arc<Mutex<Option<mpsc::Sender<InboundData>>>>, in handle_channel_data()
394 let _ = ClientInternal::handle_inbound_relay_conn(read_ch_tx, &ch_data.data, addr).await; in handle_channel_data()
401 read_ch_tx: &Arc<Mutex<Option<mpsc::Sender<InboundData>>>>, in handle_inbound_relay_conn()
405 let read_ch_tx_opt = read_ch_tx.lock().await; in handle_inbound_relay_conn()
427 let mut read_ch_tx = self.read_ch_tx.lock().await; in close() localVariable
428 read_ch_tx.take(); in close()
486 let read_ch_tx = self.read_ch_tx.lock().await; in allocate() localVariable
487 log::debug!("allocate check: read_ch_tx_opt = {}", read_ch_tx.is_some()); in allocate()
488 if read_ch_tx.is_some() { in allocate()
558 let (read_ch_tx, read_ch_rx) = mpsc::channel(MAX_READ_QUEUE_SIZE); in allocate()
560 let mut read_ch_tx_opt = self.read_ch_tx.lock().await; in allocate()
561 *read_ch_tx_opt = Some(read_ch_tx); in allocate()