Ignore:
Timestamp:
Apr 14, 2010 6:57:35 AM (14 years ago)
Author:
nanang
Message:

Ticket #1056:

  • Added functions to set/unset transport state notification callback on specific transport.
  • Updated transaction to immediately terminate the transactions when their transport gets disconnected.
  • Minor update: renamed function pjsip_tpmgr_set/get_status_cb() to pjsip_tpmgr_set/get_state_cb().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c

    r3128 r3138  
    192192 
    193193    /* Notify application of transport disconnected state */ 
    194     state_cb = pjsip_tpmgr_get_status_cb(tls->base.tpmgr); 
     194    state_cb = pjsip_tpmgr_get_state_cb(tls->base.tpmgr); 
    195195    if (state_cb) { 
    196196        pjsip_transport_state_info state_info; 
     
    10491049 
    10501050    /* Notify transport state to application */ 
    1051     state_cb = pjsip_tpmgr_get_status_cb(tls->base.tpmgr); 
     1051    state_cb = pjsip_tpmgr_get_state_cb(tls->base.tpmgr); 
    10521052    if (state_cb) { 
    10531053        pjsip_transport_state_info state_info; 
     
    14671467 
    14681468    /* Notify transport state to application */ 
    1469     state_cb = pjsip_tpmgr_get_status_cb(tls->base.tpmgr); 
     1469    state_cb = pjsip_tpmgr_get_state_cb(tls->base.tpmgr); 
    14701470    if (state_cb) { 
    14711471        pjsip_transport_state_info state_info; 
Note: See TracChangeset for help on using the changeset viewer.