Ignore:
Timestamp:
Feb 28, 2014 5:42:24 AM (10 years ago)
Author:
ming
Message:

Fixed #1699: Transport state callback to report transport shutdown events (Thanks to Johan Lantz for the discussion and preliminary patch).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_transport.h

    r4275 r4773  
    13891389                                         to connection-oriented transports 
    13901390                                         such as TCP and TLS.               */ 
    1391     PJSIP_TP_STATE_DISCONNECTED     /**< Transport disconnected, applicable 
     1391    PJSIP_TP_STATE_DISCONNECTED,    /**< Transport disconnected, applicable 
    13921392                                         only to connection-oriented  
    13931393                                         transports such as TCP and TLS.    */ 
     1394    PJSIP_TP_STATE_SHUTDOWN,        /**< Transport shutdown, either 
     1395                                         due to TCP/TLS disconnect error 
     1396                                         from the network, or when shutdown 
     1397                                         is initiated by PJSIP itself.      */ 
     1398    PJSIP_TP_STATE_DESTROY,         /**< Transport destroy, when transport 
     1399                                         is about to be destroyed.          */ 
    13941400} pjsip_transport_state; 
    13951401 
Note: See TracChangeset for help on using the changeset viewer.