ProcessUtil
public
class
ProcessUtil
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.util.ProcessUtil |
요약
상수 | |
|---|---|
int |
DEFAULT_ADB_PORT
|
String |
DEFAULT_LOCAL_HOST
|
공개 생성자 | |
|---|---|
ProcessUtil()
|
|
공개 메서드 | |
|---|---|
static
Process
|
createSshTunnel(String remoteHost, int localPort, int remotePort, File sshPrivateKeyPath, String user, File sshTunnelLog, IRunUtil runUtil)
지정된 원격 호스트에 대한 SSH 터널을 만들고 프로세스를 반환합니다. |
상수
DEFAULT_ADB_PORT
public static final int DEFAULT_ADB_PORT
상수 값: 5555 (0x000015b3)
DEFAULT_LOCAL_HOST
public static final String DEFAULT_LOCAL_HOST
상수 값: "127.0.0.1:%d"
공개 생성자
ProcessUtil
public ProcessUtil ()
공개 메서드
createSshTunnel
public static Process createSshTunnel (String remoteHost,
int localPort,
int remotePort,
File sshPrivateKeyPath,
String user,
File sshTunnelLog,
IRunUtil runUtil)지정된 원격 호스트에 대한 ssh 터널을 만들고 프로세스를 반환합니다.
| 매개변수 | |
|---|---|
remoteHost |
String: 원격 tcp ip Android 기기의 호스트 이름/ip입니다. |
localPort |
int: 로컬 tcp ip 기기의 포트입니다. |
remotePort |
int: 원격 tcp ip 기기의 포트입니다. |
sshPrivateKeyPath |
File |
user |
String |
sshTunnelLog |
File |
runUtil |
IRunUtil |
| 반환 값 | |
|---|---|
Process |
ssh 명령어의 Process |