hudson.plugins.swarm
Class UDPFragmentImpl

java.lang.Object
  extended by hudson.UDPBroadcastFragment
      extended by hudson.plugins.swarm.UDPFragmentImpl
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class UDPFragmentImpl
extends hudson.UDPBroadcastFragment

Adds a secret pass-pharse to UDP broadcast, to allow nearby nodes to register themselves as slaves.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 UUID secret
          This is the pass phrase that allows swarm slaves to create a new slave object on Jenkins.
 
Constructor Summary
UDPFragmentImpl()
           
 
Method Summary
 void buildFragment(StringBuilder buf, SocketAddress adrs)
           
 
Methods inherited from class hudson.UDPBroadcastFragment
all
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

secret

public final UUID secret
This is the pass phrase that allows swarm slaves to create a new slave object on Jenkins.

Constructor Detail

UDPFragmentImpl

public UDPFragmentImpl()
Method Detail

buildFragment

public void buildFragment(StringBuilder buf,
                          SocketAddress adrs)
Specified by:
buildFragment in class hudson.UDPBroadcastFragment


Copyright © 2004-2014. All Rights Reserved.