public abstract class JnlpProtocol extends Object
| Modifier and Type | Field and Description |
|---|---|
protected EngineListener |
events
Listener to send updates to.
|
static String |
GREETING_SUCCESS |
protected String |
slaveName |
protected String |
slaveSecret |
| Modifier and Type | Method and Description |
|---|---|
Channel |
establishChannel(Socket socket,
ChannelBuilder channelBuilder)
Performs a handshake with the master and establishes a
Channel. |
abstract String |
getName()
Get the name of the protocol.
|
protected final String slaveName
protected final String slaveSecret
protected final EngineListener events
public static final String GREETING_SUCCESS
public abstract String getName()
@Nullable public Channel establishChannel(Socket socket, ChannelBuilder channelBuilder) throws IOException
Channel.socket - The established Socket connection to the master.channelBuilder - The ChannelBuilder to use.IOExceptionCopyright © 2004-2016. All Rights Reserved.