- All Implemented Interfaces:
- Direct Known Subclasses:
public abstract class JnlpAgentReceiver extends org.jenkinsci.remoting.engine.JnlpConnectionStateListener implements ExtensionPointReceives incoming agents connecting through the likes of
This is useful to establish the communication with other JVMs and use them for different purposes outside
- When the
exists(String)method is invoked for an agent, the
owns(String)method is called on all the extension points: if no owner is found an exception is thrown.
- If owner is found, then the
JnlpConnectionStatelifecycle methods are invoked for all registered
JnlpConnectionStateListeneruntil the one which changes the state of
JnlpConnectionStateby setting an approval or rejected state is found. When found, that listener will be set as the owner of the incoming connection event.
- Subsequent steps of the connection lifecycle are only called on the
JnlpAgentReceiverimplementation owner for that connection event.
- Kohsuke Kawaguchi
Constructors Constructor Description
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description
protected abstract boolean
Methods inherited from class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
afterChannel, afterDisconnect, afterProperties, beforeChannel, beforeProperties, channelClosed
public static final HMACConfidentialKey SLAVE_SECRETThis secret value is used as a seed for agents.
public static final org.jenkinsci.remoting.engine.JnlpClientDatabase DATABASE