hudson.remoting
Class Engine
java.lang.Object
java.lang.Thread
hudson.remoting.Engine
- All Implemented Interfaces:
- Runnable
public class Engine
- extends Thread
Slave agent engine that proactively connects to Hudson master.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
listener
public final EngineListener listener
slaveName
public final String slaveName
GREETING_SUCCESS
public static final String GREETING_SUCCESS
- See Also:
- Constant Field Values
Engine
public Engine(EngineListener listener,
List<URL> hudsonUrls,
String secretKey,
String slaveName)
getHudsonUrl
public URL getHudsonUrl()
setTunnel
public void setTunnel(String tunnel)
setCredentials
public void setCredentials(String creds)
setNoReconnect
public void setNoReconnect(boolean noReconnect)
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
current
public static Engine current()
- When invoked from within remoted
Callable (that is,
from the thread that carries out the remote requests),
this method returns the Engine in which the remote operations
run.
Copyright © 2004-2011. All Rights Reserved.