diff options
author | Bonyong.lee <bonyong.lee@samsung.com> | 2013-05-23 14:47:27 +0900 |
---|---|---|
committer | Bonyong.lee <bonyong.lee@samsung.com> | 2013-05-23 14:47:27 +0900 |
commit | 9bc191ab3b96e3425a43e5b9bd7c3ee1b9bb52ec (patch) | |
tree | c91e00128319644687341b7ce988c272dbe41d6b | |
parent | 6265f5b9d79975240176ea9509ae63ce1aabbea6 (diff) | |
download | event-injector-9bc191ab3b96e3425a43e5b9bd7c3ee1b9bb52ec.tar.gz event-injector-9bc191ab3b96e3425a43e5b9bd7c3ee1b9bb52ec.tar.bz2 event-injector-9bc191ab3b96e3425a43e5b9bd7c3ee1b9bb52ec.zip |
[Title] Refactoring sdblib
[Desc.] Apply change to dependent source
[Issue]
-rw-r--r-- | ei-library/src/org/tizen/eilib/connection/Emulator.java | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/ei-library/src/org/tizen/eilib/connection/Emulator.java b/ei-library/src/org/tizen/eilib/connection/Emulator.java index 5d0b607..d72068d 100644 --- a/ei-library/src/org/tizen/eilib/connection/Emulator.java +++ b/ei-library/src/org/tizen/eilib/connection/Emulator.java @@ -31,7 +31,6 @@ import java.io.IOException; import org.tizen.sdblib.DeviceState; import org.tizen.sdblib.IDevice; import org.tizen.sdblib.IShellOutputReceiver; -import org.tizen.sdblib.LogReceiver; import org.tizen.sdblib.exception.SdbCommandRejectedException; import org.tizen.sdblib.exception.ShellCommandUnresponsiveException; import org.tizen.sdblib.exception.TimeoutException; @@ -285,38 +284,6 @@ public class Emulator { } /** - * Runs the event log service and outputs the event log to the {@link LogReceiver}. - * <p/>This call is blocking until {@link LogReceiver#isCancelled()} returns true. - * @param receiver the receiver to receive the event log entries. - * @throws TimeoutException in case of timeout on the connection. This can only be thrown if the - * timeout happens during setup. Once logs start being received, no timeout will occur as it's - * not possible to detect a difference between no log and timeout. - * @throws SdbCommandRejectedException if sdb rejects the command - * @throws IOException in case of I/O error on the connection. - */ - public void runEventLogService(LogReceiver receiver) - throws TimeoutException, SdbCommandRejectedException, IOException { - device.runEventLogService(receiver); - } - - /** - * Runs the log service for the given log and outputs the log to the {@link LogReceiver}. - * <p/>This call is blocking until {@link LogReceiver#isCancelled()} returns true. - * - * @param logname the logname of the log to read from. - * @param receiver the receiver to receive the event log entries. - * @throws TimeoutException in case of timeout on the connection. This can only be thrown if the - * timeout happens during setup. Once logs start being received, no timeout will - * occur as it's not possible to detect a difference between no log and timeout. - * @throws SdbCommandRejectedException if sdb rejects the command - * @throws IOException in case of I/O error on the connection. - */ - public void runLogService(String logname, LogReceiver receiver) - throws TimeoutException, SdbCommandRejectedException, IOException { - device.runLogService(logname, receiver); - } - - /** * Creates a port forwarding between a local and a remote port. * * @param localPort the local port to forward |