Package jenkins.slaves
Class DefaultJnlpSlaveReceiver
java.lang.Object
org.jenkinsci.remoting.engine.JnlpConnectionStateListener
jenkins.slaves.JnlpAgentReceiver
jenkins.slaves.DefaultJnlpSlaveReceiver
- All Implemented Interfaces:
ExtensionPoint
Match the name against the agent name and route the incoming agent as
Slave
.- Since:
- 1.561, 1.614 handle() returns true on handshake error as it required in
JnlpAgentReceiver
. - Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
Disables strict verification of connections.Fields inherited from class jenkins.slaves.JnlpAgentReceiver
DATABASE, SLAVE_SECRET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterChannel
(org.jenkinsci.remoting.engine.JnlpConnectionState event) void
afterProperties
(org.jenkinsci.remoting.engine.JnlpConnectionState event) void
beforeChannel
(org.jenkinsci.remoting.engine.JnlpConnectionState event) void
channelClosed
(org.jenkinsci.remoting.engine.JnlpConnectionState event) boolean
Methods inherited from class jenkins.slaves.JnlpAgentReceiver
all, exists, generateCookie
Methods inherited from class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
afterDisconnect, beforeProperties
-
Field Details
-
disableStrictVerification
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static boolean disableStrictVerificationDisables strict verification of connections. Turn this on if you have plugins that incorrectly extendComputerLauncher
when then should have extendedDelegatingComputerLauncher
- Since:
- 2.28
-
-
Constructor Details
-
DefaultJnlpSlaveReceiver
public DefaultJnlpSlaveReceiver()
-
-
Method Details
-
owns
- Specified by:
owns
in classJnlpAgentReceiver
-
afterProperties
public void afterProperties(@NonNull org.jenkinsci.remoting.engine.JnlpConnectionState event) - Specified by:
afterProperties
in classorg.jenkinsci.remoting.engine.JnlpConnectionStateListener
-
beforeChannel
public void beforeChannel(@NonNull org.jenkinsci.remoting.engine.JnlpConnectionState event) - Overrides:
beforeChannel
in classorg.jenkinsci.remoting.engine.JnlpConnectionStateListener
-
afterChannel
public void afterChannel(@NonNull org.jenkinsci.remoting.engine.JnlpConnectionState event) - Specified by:
afterChannel
in classorg.jenkinsci.remoting.engine.JnlpConnectionStateListener
-
channelClosed
public void channelClosed(@NonNull org.jenkinsci.remoting.engine.JnlpConnectionState event) - Overrides:
channelClosed
in classorg.jenkinsci.remoting.engine.JnlpConnectionStateListener
-