Receives incoming agents connecting through
JnlpSlaveAgentProtocol2
,
JnlpSlaveAgentProtocol3
,
JnlpSlaveAgentProtocol4
.
This is useful to establish the communication with other JVMs and use them
for different purposes outside Slave
s.
- 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
JnlpConnectionState
lifecycle methods are invoked for all registered JnlpConnectionStateListener
until the one which changes the state of JnlpConnectionState
by 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
JnlpAgentReceiver
implementation owner for that connection event.