blob: 5d6bc81837d2c8831e07cb72c8a43dfa9d145f42 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Mathieu Larose (Savoir-faire Linux) - Initial API and implementation
*
* SPDX-License-Identifier: EPL-1.0
*
*******************************************************************************/
package org.eclipse.apogy.core.programs.javascript;
/**
* Debugger frontend for Rhino.
*
* An implementation of this interface must connect to a Rhino debugger backend.
*/
public interface RhinoDebuggerFrontend {
/**
* Called when the debugger backend has been launched.
*
* @param address Debugger backend listening address
* @param port Debugger backend listening port
* @throws Exception
*/
public void start(String address, int port) throws Exception;
}