blob: 899914c2e67c4e4c4151e917471ca947de515a59 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ptp.remotetools.core;
/**
* Represents a local port forwarding created by
* {@link IRemotePortForwardingTools}.
* <p>
* The local port is forwarded to a host:port accessibly to the remote host.
* <p>
* Check inherited {@link IPortForwarding} for more methods.
*/
public interface ILocalPortForwarding extends IPortForwarding {
/** The local port that is being forwarded. */
public abstract int getLocalPort();
/** The host where the local port is forwarded to. */
public abstract String getRemoteAddress();
/** The port on the host where the local port is forwarded to. */
public abstract int getRemotePort();
}