diff options
Diffstat (limited to 'plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/ServerMonitorDelegate.java')
-rw-r--r-- | plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/ServerMonitorDelegate.java | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/ServerMonitorDelegate.java b/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/ServerMonitorDelegate.java deleted file mode 100644 index 0cc3d6742..000000000 --- a/plugins/org.eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/ServerMonitorDelegate.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2003, 2005 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.wst.server.core.internal; - -import org.eclipse.core.runtime.CoreException; - -import org.eclipse.wst.server.core.IServer; -import org.eclipse.wst.server.core.ServerPort; -/** - * An interface to a TCP/IP monitor. - */ -public abstract class ServerMonitorDelegate { - /** - * Start monitoring the given port, and return the port number to - * tunnel requests through. The monitorPort is the new port to use, or - * -1 to pick a random port. - * - * @param server a server - * @param port a port - * @param monitorPort the port used for monitoring - * @return the port used for monitoring - * @throws CoreException if anything goes wrong - */ - public abstract int startMonitoring(IServer server, ServerPort port, int monitorPort) throws CoreException; - - /** - * Stop monitoring the given port. - * - * @param server a server - * @param port a port - */ - public abstract void stopMonitoring(IServer server, ServerPort port); -}
\ No newline at end of file |