FileDocCategorySizeDatePackage
IShellOutputReceiver.javaAPI DocAndroid 1.5 API1517Wed May 06 22:41:08 BST 2009com.android.ddmlib

IShellOutputReceiver

public interface IShellOutputReceiver
Classes which implement this interface provide methods that deal with out from a remote shell command on a device/emulator.

Fields Summary
Constructors Summary
Methods Summary
public voidaddOutput(byte[] data, int offset, int length)
Called every time some new data is available.

param
data The new data.
param
offset The offset at which the new data starts.
param
length The length of the new data.

public voidflush()
Called at the end of the process execution (unless the process was canceled). This allows the receiver to terminate and flush whatever data was not yet processed.

public booleanisCancelled()
Cancel method to stop the execution of the remote shell command.

return
true to cancel the execution of the command.