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>, )
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 Freeze for SipTransactionManager
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