public class

RemoteClient

extends Object
java.lang.Object
   ↳ com.android.tradefed.command.RemoteClient

Class Overview

Class for sending remote commands to another TF process via sockets.

Summary

Public Methods
synchronized void close()
Close the connection to the RemoteManager.
static RemoteClient connect(int port)
boolean sendAddCommand(long totalTime, String... commandArgs)
Send a 'add command' command.
boolean sendClose()
Send a 'close connection' command
boolean sendFilterDevice(String serial)
Send a 'add this device to global ignore filter' command
boolean sendUnfilterDevice(String serial)
Send a 'remove this device from global ignore filter' command
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public synchronized void close ()

Close the connection to the RemoteManager.

public static RemoteClient connect (int port)

Throws
UnknownHostException
IOException

public boolean sendAddCommand (long totalTime, String... commandArgs)

Send a 'add command' command.

Throws
IOException

public boolean sendClose ()

Send a 'close connection' command

Throws
IOException

public boolean sendFilterDevice (String serial)

Send a 'add this device to global ignore filter' command

Throws
IOException

public boolean sendUnfilterDevice (String serial)

Send a 'remove this device from global ignore filter' command

Throws
IOException