private void _close ( ) throws SIResourceException , SIConnectionLostException , SIErrorException , SIConnectionDroppedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "_close" ) ; CommsByteBuffer request = getCommsByteBuffer ( ) ; // Build Message Header request . putShort ( getConnectionObjectID ( ) ) ; request . putShort ( getProxyID ( ) ) ; // Pass on call to server CommsByteBuffer reply = jfapExchange ( request , JFapChannelConstants . SEG_CLOSE_CONSUMER_SESS , JFapChannelConstants . PRIORITY_MEDIUM , true ) ; try { short err = reply . getCommandCompletionCode ( JFapChannelConstants . SEG_CLOSE_CONSUMER_SESS_R ) ; if ( err != CommsConstants . SI_NO_EXCEPTION ) { checkFor_SIConnectionDroppedException ( reply , err ) ; checkFor_SIResourceException ( reply , err ) ; checkFor_SIConnectionLostException ( reply , err ) ; checkFor_SIErrorException ( reply , err ) ; defaultChecker ( reply , err ) ; } } finally { if ( reply != null ) reply . release ( ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "_close" ) ; }
Sends a close flow to the peer .