@Extension public class CliProtocol extends AgentProtocol
AgentProtocol
that accepts connection from CLI clients.Modifier and Type | Class and Description |
---|---|
protected static class |
CliProtocol.Handler |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
CliProtocol() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Protocol name.
|
void |
handle(Socket socket)
Called by the connection handling thread to execute the protocol.
|
all, of
public String getName()
AgentProtocol
getName
in class AgentProtocol
public void handle(Socket socket) throws IOException, InterruptedException
AgentProtocol
handle
in class AgentProtocol
IOException
InterruptedException
Copyright © 2019. All rights reserved.