hudson
Class UDPBroadcastThread
java.lang.Object
java.lang.Thread
hudson.UDPBroadcastThread
- All Implemented Interfaces:
- Runnable
public class UDPBroadcastThread
- extends Thread
Monitors a UDP multicast broadcast and respond with the location of the Hudson service.
Useful for auto-discovery of Hudson in the network.
- 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 |
ready
public final OneShotEvent ready
PORT
public static final int PORT
MULTICAST
public static InetAddress MULTICAST
- Multicast socket address.
UDPBroadcastThread
public UDPBroadcastThread(Hudson jenkins)
throws IOException
- Deprecated. as of 1.416
Use
UDPBroadcastThread(Jenkins)
- Throws:
IOException
UDPBroadcastThread
public UDPBroadcastThread(Jenkins jenkins)
throws IOException
- Throws:
IOException
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
shutdown
public void shutdown()
Copyright © 2004-2013. All Rights Reserved.