code: public final InetSocketAddress getTargetAddress (final String targetName) throws NoSuchSessionException {
  
          final SessionConfiguration sc = sessionConfigs.get(targetName);
  
          if (sc == null) { throw new NoSuchSessionException("A session with the ID '" + targetName + "' does not exist."); }
  
          return sc.getInetSocketAddress();
      }
docs: Returns the <code>InetAddress</code> instance of the connected iSCSI Target.
  
  @param targetName The name of the iSCSI Target.
  @return The <code>InetAddress</code> instance of the requested iSCSI Target.
  @throws NoSuchSessionException if a session with this target name is not open.