GceLHPTunnelMonitor

public class GceLHPTunnelMonitor
extends AbstractTunnelMonitor

java.lang.Object
   ↳ com.android.tradefed.device.cloud.AbstractTunnelMonitor
     ↳ com.android.tradefed.device.cloud.GceLHPTunnelMonitor


Summary

Public constructors

GceLHPTunnelMonitor()

Public methods

void closeConnection()

Close the adb connection from the monitor.

boolean isTunnelAlive()

Returns True if the GceLHPTunnelMonitor is still alive, false otherwise.

void logSshTunnelLogs(ITestLogger logger)

Log all the interesting log files generated from the ssh tunnel.

void run()
void shutdown()

Terminate the tunnel monitor

Public constructors

GceLHPTunnelMonitor

public GceLHPTunnelMonitor ()

Public methods

closeConnection

public void closeConnection ()

Close the adb connection from the monitor.

isTunnelAlive

public boolean isTunnelAlive ()

Returns True if the GceLHPTunnelMonitor is still alive, false otherwise.

Returns
boolean

logSshTunnelLogs

public void logSshTunnelLogs (ITestLogger logger)

Log all the interesting log files generated from the ssh tunnel.

Parameters
logger ITestLogger

run

public void run ()

shutdown

public void shutdown ()

Terminate the tunnel monitor