All Classes and Interfaces
Class
Description
CommandTransport
that works with byte[]
instead of command object.SynchronousCommandTransport
that works with byte[]
instead of command object.A
FilterLayer
that ensures both sides will not proceed unless the acknowledgement has been sent and
received by both sides.A
FilterLayer
that sends the AgentProtocol client handshake.Issues warnings about attempts to (de-)serialize anonymous, local, or synthetic classes.
The highest
ProtocolLayer
in a ProtocolStack
.Future
implementation whose computation is carried out elsewhere.Used on a method in a remotable exported interface to designate
that the call is made asynchronously.
ExecutorService
that uses at most one executor.Deprecated.
Tunnels byte stream into another byte stream so that binary data
can be sent across binary-unsafe stream.
A
NetworkLayer
that uses a dedicated reader thread and runs on demand writer thread to manage I/O.An
X509ExtendedTrustManager
that trusts everything always.API for a pool of
ByteBuffer
s.A helper class to make queuing up of data easier.
An
InputStream
backed by a ByteBufferQueue
.An
OutputStream
backed by a ByteBufferQueue
.Utility methods to help working with
ByteBuffer
s.Represents computation to be done on a remote system.
Decorator on
Callable.call()
to filter the execution.Deprecated.
Represents additional features implemented on
Channel
.Represents a communication channel to the remote peer.
Callback "interface" for changes in the state of
Channel
.Communication mode used in conjunction with
ClassicCommandTransport
.An
ApplicationLayer
that produces a Channel
.Callback for decorating the
ChannelBuilder
before the Channel
is created.Callback interface for notification of the
Channel
being created.Indicates that the channel is already closed or being closed.
A convenient key type for
Channel.getProperty(Object)
and Channel.setProperty(Object, Object)
Indicates invalid state of the channel during the operation.
Parsing of the chunk header.
Restricts what classes can be received through remoting.
Deprecated.
Only used by deprecated
ClassFilter.appendDefaultFilter(java.util.regex.Pattern)
.Remoting-aware holder of
ClassLoader
that replaces ClassLoader by its RemoteClassLoader
.One-way command to be sent over to the remote system and executed there.
Lower level abstraction under
Channel
for sending and receiving commandsUtility class to handle the encoding and decoding of the connection headers.
Performs the connection header negotiation.
A listener for the connection headers.
An exception to flag that the connection has been refused.
Callable
that nominates another classloader for serialization.An
X509ExtendedTrustManager
that delegates to a runtime mutable delegate X509ExtendedTrustManager
.Signals a
StreamCorruptedException
with some additional diagnostic information.A buffer pool that keeps a free list of
ByteBuffer
s of a specified default size in a simple fixed
size stack.Formats a
Duration
into a human-readable string.Parses a string like 1s, 2m, 3h, 4d into a
Duration
.Duration format styles.
Agent engine that proactively connects to Jenkins controller.
Receives status notification from
Engine
.Adapter class for
EngineListener
to shield subtypes from future callback additions.EngineListener
that distributes callbacks.OutputStream
that's connected to an InputStream
somewhere,
which provides ability to have InputStream
report an error.Helper class for
ExecutorService
operations.Wraps the runtime
RejectedExecutionException
.Version of
RejectedExecutionException
, which treats the error as fatal.An
InputStream
backed by a set number of bytes from the head of a ByteBufferQueue
.This class is equivalent to
PipedInputStream
.This class is equivalent to
PipedOutputStream
.FIFO buffer for a reader thread and a writer thread to collaborate.
Explains the reason of the buffer close.
JarCache
that stores files in a single directory.An intermediate
ProtocolLayer
in a ProtocolStack
.Abstracts away how the forwarding is set up.
Deprecated.
Alias to
Future
.InetAddress validation and conversion routines (
InetAddress
).Takes a directory of jars and populates them into the given jar cache
directory with the correct hash names.
A hub for performing I/O.
Interface for receiving callbacks when a
SelectableChannel
is ready on its registered
SelectionKey.interestOps()
.Callback to be notified when a call to
IOHub.register(SelectableChannel, IOHubReadyListener, boolean, boolean, boolean, boolean, IOHubRegistrationCallback)
has completed registration.I/O related utility methods.
Used internally in the remoting code to have the proxy object
implement readResolve.
Jar file cache.
Default partial implementation of
JarCache
.Remoting interface to allow the other side to retrieve a jar file
from the checksum advertised in
ResourceImageInJar
.Deprecated.
Do not use, intended as a temporary workaround only.
Represents the connection state for a
JnlpProtocol4Handler
connection.Represents a
TcpSlaveAgentListener
endpoint details.Represents a database of clients that are permitted to connect.
The types of certificate validation results.
Represents the state of a connection event.
Marker base class for all stashed state data.
A listener for connection state changes.
Implements the JNLP4-connect protocol.
Passes
JnlpConnectionState.CLIENT_NAME_KEY
using an HTTP-style header and lets the server decide how to handle that.Consolidates the protocol handling for both the server and the client ends of the connection.
Builds a set of
JnlpProtocolHandler
instances from the supplied preconditions.Utility methods to help working with
Key
instances.Entry point for running a
Channel
.Extend
Future
with the capability to accept completion callbacks.Represents a listening port that forwards a connection
via port forwarding.
VirtualChannel
that performs computation on the local JVM.Channel listener which merely formats events to a logger.
Deprecated.
use
Launcher
Thread factory that sets thread name so we know who is responsible for so many threads being created.
The lowest
ProtocolLayer
in a ProtocolStack
.ChannelBuilder
subtype for NioChannelHub
.Switch board of multiple
Channel
s through NIO select.Hostname verifier, which accepts any hostname.
X509TrustManager
that performs no check at all.ObjectInputStream
that uses a specific ClassLoader
and can use a ClassFilter
to limit what classes can be loaded.Utilities for
Path
handling.Deprecated.
Does not actually do what it claims; only affects logging levels.
Periodically perform a ping.
Pipe for the remote
Callable
and the local program to talk to each other.Deprecated.
A network
ProtocolStack
consists of a number of ProtocolLayer
s.Interface to indicate that this layer receives data from lower layers.
Interface to indicate that this layer sends data to lower layers.
A stack of
ProtocolLayer
that make a network protocol.Builder for
ProtocolStack
instances.Callback "interface" for changes in the state of
ProtocolStack
.Used when the exception thrown by the remoted code cannot be serialized.
An
X509ExtendedTrustManager
that trusts any chain where the initial certificate was issued for a specific
set of trusted PublicKey
s.Regular Expression validation (using JDK 1.4+ regex support).
Wraps
InputStream
so that it can be sent over the remoting channel.OutputStream
that can be sent over to the remote Channel
,
so that the remote Callable
can write to a local OutputStream
.Request/response pattern over
Channel
, the layer-1 service.Request/response pattern over
Command
.Represents different roles two sides of the channel plays.
Verifies that the callable is getting run on the intended recipient.
Used by
Callable
-like objects to designate the intended recipient of the callable,
to help verify callables are running in JVMs that it is intended to run.This interface indicates objects which are
Serializable
only for sending over the Remoting Channel
.A
Future
that can be completed.Creates an
ExecutorService
that executes submitted tasks sequentially
on top of another generic arbitrary ExecutorService
.Wraps
SocketChannel
into InputStream
/OutputStream
in a way
that avoids deadlock when read/write happens concurrently.InputStream
connected to socket.InputStream
connected to socket.A
FilterLayer
that encrypts the communication between the upper layers and the lower layers using
the supplied SSLEngine
.A listener for the connection headers.
Hint that indicates that we are using
stdout
with fd=1 as the stream to write to for the channel.Performs some subnet calculations given a network address and a subnet mask.
CommandTransport
that implements the read operation in a synchronous fashion.Classic splitter of
OutputStream
.Utility methods to help when working with
Throwable
instances.Command
that unexports an object.SECURITY-637, this helper wraps the URL into a "safe" version if the url has a non-empty host
and the JVM configuration is standard.
Misc.
An
X509ExtendedTrustManager
that checks the validity of the chain before continuing with the (optional)
delegate X509ExtendedTrustManager
.Immutable representation of a version number based on the Mercury version numbering scheme.
Virtualized
Channel
that allows different implementations.Locates where a given class is loaded from.
Performs working directory management in remoting.
Defines components of the Working directory.
Base64
instead