| Package | Description |
|---|---|
| hudson.remoting |
Remoting infrastructure for Hudson.
|
| org.jenkinsci.remoting.engine | |
| org.jenkinsci.remoting.nio | |
| org.jenkinsci.remoting.protocol.impl |
| 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. |
protected Channel |
AbstractByteBufferCommandTransport.getChannel()
Gets the channel.
|
| 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) |
void |
SynchronousCommandTransport.setup(Channel channel,
hudson.remoting.CommandTransport.CommandReceiver receiver) |
abstract void |
CommandTransport.setup(Channel channel,
hudson.remoting.CommandTransport.CommandReceiver receiver)
Starts the transport.
|
void |
AbstractByteBufferCommandTransport.setup(Channel channel,
hudson.remoting.CommandTransport.CommandReceiver receiver)
Starts the transport.
|
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 |
JnlpConnectionState.getChannel()
Gets the connection's
Channel. |
| Modifier and Type | Method and Description |
|---|---|
Future<Channel> |
JnlpProtocolHandler.connect(Socket socket,
Map<String,String> headers,
JnlpConnectionStateListener... listeners)
Handles an outgoing connection to the server on the supplied socket.
|
abstract Future<Channel> |
JnlpProtocolHandler.connect(Socket socket,
Map<String,String> headers,
List<? extends JnlpConnectionStateListener> listeners)
Handles an outgoing connection to the server on the supplied socket.
|
Future<Channel> |
JnlpProtocol4PlainHandler.connect(Socket socket,
Map<String,String> headers,
List<? extends JnlpConnectionStateListener> listeners)
Handles an outgoing connection to the server on the supplied socket.
|
Future<Channel> |
JnlpProtocol4Handler.connect(Socket socket,
Map<String,String> headers,
List<? extends JnlpConnectionStateListener> listeners)
Handles an outgoing connection to the server on the supplied socket.
|
Future<Channel> |
JnlpProtocolHandler.handle(Socket socket,
Map<String,String> headers,
JnlpConnectionStateListener... listeners)
Handles an incoming client connection on the supplied socket.
|
abstract Future<Channel> |
JnlpProtocolHandler.handle(Socket socket,
Map<String,String> headers,
List<? extends JnlpConnectionStateListener> listeners)
Handles an incoming client connection on the supplied socket.
|
Future<Channel> |
JnlpProtocol4PlainHandler.handle(Socket socket,
Map<String,String> headers,
List<? extends JnlpConnectionStateListener> listeners)
Handles an incoming client connection on the supplied socket.
|
Future<Channel> |
JnlpProtocol4Handler.handle(Socket socket,
Map<String,String> headers,
List<? extends JnlpConnectionStateListener> listeners)
Handles an incoming client connection on the supplied socket.
|
| Modifier and Type | Method and Description |
|---|---|
Channel |
NioChannelBuilder.build(SelectableChannel r,
SelectableChannel w) |
Channel |
NioChannelBuilder.build(Socket s) |
Channel |
NioChannelBuilder.build(SocketChannel socket) |
| Modifier and Type | Method and Description |
|---|---|
Future<Channel> |
ChannelApplicationLayer.get()
SPI: Returns the application specific API instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChannelApplicationLayer.Listener.onChannel(Channel channel)
Called when the
Channel has been constructed. |
Copyright © 2004–2017. All rights reserved.