public void disconnectAllSessions ( ) { List < JingleSession > sessions = jingleSessions . subList ( 0 , jingleSessions . size ( ) ) ; for ( JingleSession jingleSession : sessions ) try { jingleSession . terminate ( ) ; } catch ( Exception e ) { LOGGER . log ( Level . WARNING , "exception" , e ) ; } sessions . clear ( ) ; }
Disconnect all Jingle Sessions .