@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, ofpublic String getName()
AgentProtocolgetName in class AgentProtocolpublic void handle(Socket socket) throws IOException, InterruptedException
AgentProtocolhandle in class AgentProtocolIOExceptionInterruptedExceptionCopyright © 2019. All rights reserved.