Class DefaultJnlpSlaveReceiver

  • All Implemented Interfaces:
    ExtensionPoint

    @Extension
    public class DefaultJnlpSlaveReceiver
    extends JnlpAgentReceiver
    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
    • Field Detail

      • disableStrictVerification

        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public static boolean disableStrictVerification
        Disables strict verification of connections. Turn this on if you have plugins that incorrectly extend ComputerLauncher when then should have extended DelegatingComputerLauncher
        Since:
        2.28
    • Constructor Detail

      • DefaultJnlpSlaveReceiver

        public DefaultJnlpSlaveReceiver()
    • Method Detail

      • afterProperties

        public void afterProperties​(@NonNull
                                    org.jenkinsci.remoting.engine.JnlpConnectionState event)
        Specified by:
        afterProperties in class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
      • beforeChannel

        public void beforeChannel​(@NonNull
                                  org.jenkinsci.remoting.engine.JnlpConnectionState event)
        Overrides:
        beforeChannel in class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
      • afterChannel

        public void afterChannel​(@NonNull
                                 org.jenkinsci.remoting.engine.JnlpConnectionState event)
        Specified by:
        afterChannel in class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
      • channelClosed

        public void channelClosed​(@NonNull
                                  org.jenkinsci.remoting.engine.JnlpConnectionState event)
        Overrides:
        channelClosed in class org.jenkinsci.remoting.engine.JnlpConnectionStateListener