Package jenkins.slaves
Class JnlpSlaveAgentProtocol4
java.lang.Object
jenkins.AgentProtocol
jenkins.slaves.JnlpSlaveAgentProtocol4
- All Implemented Interfaces:
ExtensionPoint
Master-side implementation for JNLP4-connect protocol.
@see JnlpProtocol4Handler
for more details.
- Since:
- 2.27 available as experimental protocol, 2.41 enabled by default
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Methods inherited from class jenkins.AgentProtocol
all, getDisplayName, isDeprecated, isOptIn, isRequired, of
-
Constructor Details
-
JnlpSlaveAgentProtocol4
public JnlpSlaveAgentProtocol4()
-
-
Method Details
-
getName
Description copied from class:AgentProtocol
Protocol name. This is a short string that consists of printable ASCII chars. Sent by the client to select the protocol.- Specified by:
getName
in classAgentProtocol
- Returns:
- null to be disabled
-
handle
Description copied from class:AgentProtocol
Called by the connection handling thread to execute the protocol.- Specified by:
handle
in classAgentProtocol
- Throws:
IOException
InterruptedException
-