* @param targetName Name of the target, to which a connection should be created.
* @throws Exception if any error occurs.
*/
public final void createSession (final InetSocketAddress targetAddress, final String targetName) {
final Session session = factory.getSession(configuration, targetName, targetAddress);
sessions.put(session.getTargetName(), session);
LOGGER.info("Created the session with iSCSI Target '" + targetName + "' at " + targetAddress.getHostName() + " on port " + targetAddress.getPort() + ".");
}