hudson.cli
Class CliProtocol2

java.lang.Object
  extended by jenkins.AgentProtocol
      extended by hudson.cli.CliProtocol
          extended by hudson.cli.CliProtocol2
All Implemented Interfaces:
ExtensionPoint

@Extension
public class CliProtocol2
extends CliProtocol

CliProtocol Version 2, which adds transport encryption.

Since:
1.467
Author:
Kohsuke Kawaguchi

Nested Class Summary
protected static class CliProtocol2.Handler2
           
 
Nested classes/interfaces inherited from class hudson.cli.CliProtocol
CliProtocol.Handler
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
CliProtocol2()
           
 
Method Summary
 String getName()
          Protocol name.
 void handle(Socket socket)
          Called by the connection handling thread to execute the protocol.
 
Methods inherited from class jenkins.AgentProtocol
all, of
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CliProtocol2

public CliProtocol2()
Method Detail

getName

public String getName()
Description copied from class: AgentProtocol
Protocol name. This is a short string that consists of printable ASCII chars. Sent by the client to select the protocol.

Overrides:
getName in class CliProtocol

handle

public void handle(Socket socket)
            throws IOException,
                   InterruptedException
Description copied from class: AgentProtocol
Called by the connection handling thread to execute the protocol.

Overrides:
handle in class CliProtocol
Throws:
IOException
InterruptedException


Copyright © 2004-2013. All Rights Reserved.