public synchronized void reject ( ) { JingleSession session ; synchronized ( manager ) { try { session = manager . createIncomingJingleSession ( this ) ; // Acknowledge the IQ reception session . setSid ( this . getSessionID ( ) ) ; // session.sendAck(this.getJingle()); session . updatePacketListener ( ) ; session . terminate ( "Declined" ) ; } catch ( Exception e ) { LOGGER . log ( Level . SEVERE , "Exception in reject" , e ) ; } } }
Rejects the session request .