Package jenkins

Class AgentProtocol

java.lang.Object
jenkins.AgentProtocol
All Implemented Interfaces:
ExtensionPoint
Direct Known Subclasses:
JnlpSlaveAgentProtocol4, TcpSlaveAgentListener.PingAgentProtocol

public abstract class AgentProtocol extends Object implements ExtensionPoint
Pluggable Jenkins TCP agent protocol handler called from TcpSlaveAgentListener.

To register your extension, put Extension annotation on your subtype. Implementations of this extension point is singleton, and its handle(Socket) method gets invoked concurrently whenever a new connection comes in.

Since:
1.467
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • AgentProtocol

      public AgentProtocol()
  • Method Details