public void close ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "close" ) ; // We should close the underlying connection at this point try { Conversation conv = getConversation ( ) ; if ( conv != null ) conv . close ( ) ; } catch ( SIConnectionLostException e ) { // Not a lot we can do here. So, debug the error and FFDC FFDCFilter . processException ( e , CLASS_NAME + ".close" , CommsConstants . CLIENTSIDECONNECTION_CONNECT_02 , this ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( this , tc , "Unable to close connection" , e ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "close" ) ; }
Performs a controlled close of this connection . It is not valid to invoke this method whilst within connect processing . If possible a close request is proporgated to the remote peer associated with this ClientConnection .