public void sendAndWaitForResponseOrThrow ( Nonza request ) throws E , NoResponseException , NotConnectedException , InterruptedException , SmackWrappedException { sendAndWaitForResponse ( request ) ; switch ( state ) { case Failure : throwException ( ) ; break ; default : // Success, do nothing } }
Send the given plain stream element and wait for a response .