Package org.eclipse.php.internal.core.util.collections

Examples of org.eclipse.php.internal.core.util.collections.IntHashtable


    Preferences prefs = PHPProjectPreferences.getModelPreferences();
    debugResponseTimeout = prefs
        .getInt(PHPDebugCorePreferenceNames.DEBUG_RESPONSE_TIMEOUT);

    this.socket = socket;
    requestsTable = new IntHashtable();
    responseTable = new IntHashtable();
    responseHandlers = new Hashtable<Integer, ResponseHandler>();
    messageHandlers = new HashMap<Integer, IDebugMessageHandler>();
    theThread = new Thread(this, "PHP Debug Conection"); //$NON-NLS-1$
    theThread.start();
  }
View Full Code Here


  private static final String SYSTEM_DEBUG_PROPERTY = "org.eclipse.php.debug.ui.activeDebugging"; //$NON-NLS-1$
  private static PHPSessionLaunchMapper instance;
  private IntHashtable map;

  private PHPSessionLaunchMapper() {
    map = new IntHashtable(10);
  }
View Full Code Here

   * Return message according to its type
   *
   * @throws Exception
   */
  public static IDebugMessage getMessage(int type) throws Exception {
    IntHashtable messages = getInstance().getMessages();
    if (messages.containsKey(type)) {
      return (IDebugMessage) messages.get(type).getClass().newInstance();
    } else {
      throw new Exception("Can't find message for ID = " + type //$NON-NLS-1$
          + " in Debug messages registry!");//$NON-NLS-1$
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.core.util.collections.IntHashtable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.