com.android.ddmlib.log
Interface LogReceiver.ILogListener

Enclosing class:
LogReceiver

public static interface LogReceiver.ILogListener

Classes which implement this interface provide a method that deals with LogReceiver.LogEntry objects coming from log service through a LogReceiver.

This interface provides two methods.


Method Summary
 void newData(byte[] data, int offset, int length)
          Sent when new raw data is coming from the log service.
 void newEntry(LogReceiver.LogEntry entry)
          Sent when a new LogReceiver.LogEntry has been parsed by the LogReceiver.
 

Method Detail

newEntry

void newEntry(LogReceiver.LogEntry entry)
Sent when a new LogReceiver.LogEntry has been parsed by the LogReceiver.

Parameters:
entry - the new log entry.

newData

void newData(byte[] data,
             int offset,
             int length)
Sent when new raw data is coming from the log service.

Parameters:
data - the raw data buffer.
offset - the offset into the buffer signaling the beginning of the new data.
length - the length of the new data.