İşlemUtil
public
class
ProcessUtil
extends Object
Java.lang.Nesne
|
🎃 |
com.android.tradefed.util.ProcessUtil
|
Özet
Herkese açık yöntemler |
static
Process
|
createSshTunnel(String remoteHost, int localPort, int remotePort, File sshPrivateKeyPath, String user, File sshTunnelLog, IRunUtil runUtil)
Belirli bir uzak ana makine için bir ssh tüneli oluşturun ve işlemi döndürün.
|
Sabitler
VARSAYILAN_ADB_BAĞLANTI
public static final int DEFAULT_ADB_PORT
Sabit Değer:
5.555
(0x000015b3)
Fields'ın oynadığı filmler
DEFAULT_LOCAL_HOST
public static final String DEFAULT_LOCAL_HOST
Kamu inşaatçıları
İşlemUtil
public ProcessUtil ()
Herkese açık yöntemler
createSshTunnel
public static Process createSshTunnel (String remoteHost,
int localPort,
int remotePort,
File sshPrivateKeyPath,
String user,
File sshTunnelLog,
IRunUtil runUtil)
Belirli bir uzak ana makine için bir ssh tüneli oluşturun ve işlemi döndürün.
Parametreler |
remoteHost |
String : Uzak TCP IP'si Android cihazının ana makine adı/IP'si. |
localPort |
int : Yerel TCP IP cihazının bağlantı noktası. |
remotePort |
int : Uzak TCP IP cihazının bağlantı noktası. |
sshPrivateKeyPath |
File |
user |
String |
sshTunnelLog |
File |
runUtil |
IRunUtil |
İlerlemeler |
Process |
ssh komutunun Process . |