Class ReceiveEmulatorPortTask

java.lang.Object
jenkins.security.MasterToSlaveCallable<Integer,InterruptedException>
hudson.plugins.android_emulator.ReceiveEmulatorPortTask
All Implemented Interfaces:
hudson.remoting.Callable<Integer,InterruptedException>, Serializable, org.jenkinsci.remoting.RoleSensitive

public final class ReceiveEmulatorPortTask extends MasterToSlaveCallable<Integer,InterruptedException>
Task that will wait, up to a certain timeout, for an inbound connection from the emulator, informing us on which port it is running.
See Also:
  • Constructor Details

    • ReceiveEmulatorPortTask

      public ReceiveEmulatorPortTask(int port, int timeout)
      Parameters:
      port - The local TCP port to listen on.
      timeout - How many milliseconds to wait for an emulator connection before giving up.
  • Method Details