Package | Description |
---|---|
hudson.remoting |
Remoting infrastructure for Hudson.
|
org.jenkinsci.remoting.engine | |
org.jenkinsci.remoting.nio |
Modifier and Type | Field and Description |
---|---|
protected Channel |
SynchronousCommandTransport.channel |
protected Channel |
AbstractByteArrayCommandTransport.channel |
Modifier and Type | Method and Description |
---|---|
Channel |
ChannelBuilder.build(CommandTransport transport) |
Channel |
ChannelBuilder.build(InputStream is,
OutputStream os)
Performs a handshake over the communication channel and builds a
Channel . |
Channel |
ChannelBuilder.build(Socket s) |
Channel |
ChannelBuilder.build(SocketChannel s) |
static Channel |
Channel.current()
This method can be invoked during the serialization/deserialization of
objects when they are transferred to the remote
Channel ,
as well as during Callable.call() is invoked. |
Modifier and Type | Method and Description |
---|---|
protected void |
UnexportCommand.execute(Channel channel) |
protected JarLoader |
JarCacheSupport.getJarLoader(Channel channel) |
protected abstract URL |
JarCacheSupport.lookInCache(Channel channel,
long sum1,
long sum2)
Look up the local cache and return URL if found.
|
protected URL |
FileSystemJarCache.lookInCache(Channel channel,
long sum1,
long sum2) |
void |
Channel.Listener.onClosed(Channel channel,
IOException cause)
When the channel was closed normally or abnormally due to an error.
|
abstract byte[] |
AbstractSynchronousByteArrayCommandTransport.readBlock(Channel channel)
Read a byte[] from the underlying transport for the given channel.
|
Future<URL> |
JarCacheSupport.resolve(Channel channel,
long sum1,
long sum2) |
abstract Future<URL> |
JarCache.resolve(Channel channel,
long sum1,
long sum2)
Looks up the jar in cache, and if not found, use
JarLoader to retrieve it
from the other side. |
protected abstract URL |
JarCacheSupport.retrieve(Channel channel,
long sum1,
long sum2)
Retrieve the jar file from the given
JarLoader , store it, then return the URL to that jar. |
protected URL |
FileSystemJarCache.retrieve(Channel channel,
long sum1,
long sum2) |
abstract void |
CommandTransport.setup(Channel channel,
hudson.remoting.CommandTransport.CommandReceiver receiver)
Starts the transport.
|
void |
SynchronousCommandTransport.setup(Channel channel,
hudson.remoting.CommandTransport.CommandReceiver receiver) |
void |
AbstractByteArrayCommandTransport.setup(Channel channel,
hudson.remoting.CommandTransport.CommandReceiver receiver) |
abstract void |
AbstractSynchronousByteArrayCommandTransport.writeBlock(Channel channel,
byte[] payload)
Writes a byte[] to the transport.
|
abstract void |
AbstractByteArrayCommandTransport.writeBlock(Channel channel,
byte[] payload)
Writes a byte[] to the transport.
|
Constructor and Description |
---|
PingThread(Channel channel) |
PingThread(Channel channel,
long interval) |
PingThread(Channel channel,
long timeout,
long interval) |
Modifier and Type | Method and Description |
---|---|
Channel |
JnlpServer3Handshake.connect()
Performs the handshake and establishes a channel.
|
Channel |
JnlpProtocol.establishChannel(Socket socket,
ChannelBuilder channelBuilder)
Performs a handshake with the master and establishes a
Channel . |
Modifier and Type | Method and Description |
---|---|
Channel |
NioChannelBuilder.build(SelectableChannel r,
SelectableChannel w) |
Channel |
NioChannelBuilder.build(Socket s) |
Channel |
NioChannelBuilder.build(SocketChannel socket) |
Copyright © 2016. All rights reserved.