Struct rust_rcs_core::sip::sip_transaction::SipTransactionManager
source · pub struct SipTransactionManager { /* private fields */ }
Implementations§
source§impl SipTransactionManager
impl SipTransactionManager
pub fn new( rt: &Arc<Runtime> ) -> (SipTransactionManager, SipTransactionManagerEventInterface)
pub fn send_heartbeat(&self, transport: &Arc<SipTransport>, rt: &Arc<Runtime>)
pub fn send_request<C>( &self, req_message: SipMessage, transport: &Arc<SipTransport>, callbacks: C, rt: &Arc<Runtime> )where C: ClientTransactionCallbacks + Send + Sync + 'static,
pub fn get_ctrl_itf(&self) -> Sender<TransportMessage>
sourcepub fn register_sip_transport(
&self,
t: Arc<SipTransport>,
tx: Sender<Option<Vec<u8>>>
)
pub fn register_sip_transport( &self, t: Arc<SipTransport>, tx: Sender<Option<Vec<u8>>> )
Caution
Should always register transport first before start reading
pub fn unregister_sip_transport(&self, t: &Arc<SipTransport>, rt: &Arc<Runtime>)
Auto Trait Implementations§
impl !RefUnwindSafe for SipTransactionManager
impl Send for SipTransactionManager
impl Sync for SipTransactionManager
impl Unpin for SipTransactionManager
impl !UnwindSafe for SipTransactionManager
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more