Package hudson.plugins.android_emulator
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 Summary
Constructors - 
Method Summary
Methods inherited from class jenkins.security.MasterToSlaveCallable
checkRolesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.remoting.Callable
getChannelOrFail, getOpenChannelOrFail 
- 
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
- 
call
- Throws:
 InterruptedException
 
 -