com.sshtools.daemon.scp
Class ScpServer
java.lang.Object
com.sshtools.daemon.platform.NativeProcessProvider
com.sshtools.daemon.scp.ScpServer
- All Implemented Interfaces:
- java.lang.Runnable
public class ScpServer
- extends NativeProcessProvider
- implements java.lang.Runnable
- Version:
- $Revision: 1.8 $
- Author:
- $author$
Constructor Summary |
ScpServer()
Creates a new ScpServer object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScpServer
public ScpServer()
- Creates a new ScpServer object.
allocatePseudoTerminal
public boolean allocatePseudoTerminal(java.lang.String term,
int cols,
int rows,
int width,
int height,
java.lang.String modes)
- Specified by:
allocatePseudoTerminal
in class NativeProcessProvider
- Returns:
createProcess
public boolean createProcess(java.lang.String command,
java.util.Map environment)
throws java.io.IOException
- Specified by:
createProcess
in class NativeProcessProvider
- Returns:
-
- Throws:
java.io.IOException
getDefaultTerminalProvider
public java.lang.String getDefaultTerminalProvider()
- Specified by:
getDefaultTerminalProvider
in class NativeProcessProvider
- Returns:
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Specified by:
getInputStream
in class NativeProcessProvider
- Returns:
-
- Throws:
java.io.IOException
getStderrInputStream
public java.io.InputStream getStderrInputStream()
- Specified by:
getStderrInputStream
in class NativeProcessProvider
- Returns:
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Specified by:
getOutputStream
in class NativeProcessProvider
- Returns:
-
- Throws:
java.io.IOException
kill
public void kill()
- Specified by:
kill
in class NativeProcessProvider
start
public void start()
throws java.io.IOException
- Specified by:
start
in class NativeProcessProvider
- Throws:
java.io.IOException
stillActive
public boolean stillActive()
- Specified by:
stillActive
in class NativeProcessProvider
- Returns:
supportsPseudoTerminal
public boolean supportsPseudoTerminal(java.lang.String term)
- Specified by:
supportsPseudoTerminal
in class NativeProcessProvider
- Returns:
waitForExitCode
public int waitForExitCode()
- Specified by:
waitForExitCode
in class NativeProcessProvider
- Returns:
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.