@Extension public class CliProtocol2 extends CliProtocol
CliProtocol
Version 2, which adds transport encryption.Modifier and Type | Class and Description |
---|---|
protected static class |
CliProtocol2.Handler2 |
CliProtocol.Handler
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
CliProtocol2() |
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 CliProtocol
public void handle(Socket socket) throws IOException, InterruptedException
AgentProtocol
handle
in class CliProtocol
IOException
InterruptedException
Copyright © 2015. All rights reserved.