public final void closeSession ( final String targetName ) throws NoSuchSessionException , TaskExecutionException { getSession ( targetName ) . logout ( ) ; // TODO Test the removal from the map. sessions . remove ( targetName ) ; LOGGER . info ( "Closed the session to the iSCSI Target '" + targetName + "'." ) ; }
Closes all opened connections within this session to the given target .