public class JnlpSlaveHandshake extends Object
Modifier and Type | Method and Description |
---|---|
hudson.remoting.ChannelBuilder |
createChannelBuilder(String nodeName) |
void |
error(String msg)
Sends the error output and bail out.
|
org.jenkinsci.remoting.nio.NioChannelHub |
getHub() |
DataInputStream |
getIn() |
PrintWriter |
getOut() |
Properties |
getRequestProperties() |
String |
getRequestProperty(String name) |
Socket |
getSocket() |
void |
success(Properties response)
JnlpAgentReceiver calls this method to tell the client that the server
is happy with the handshaking and is ready to move on to build a channel. |
public org.jenkinsci.remoting.nio.NioChannelHub getHub()
public Socket getSocket()
public DataInputStream getIn()
public PrintWriter getOut()
public Properties getRequestProperties()
public void error(String msg) throws IOException
IOException
public void success(Properties response)
JnlpAgentReceiver
calls this method to tell the client that the server
is happy with the handshaking and is ready to move on to build a channel.public hudson.remoting.ChannelBuilder createChannelBuilder(String nodeName)
Copyright © 2018. All rights reserved.