Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort(IOException) - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
The
FilterLayer
implementation calls this to signify that a critical error in the stack has occurred and that the stack should be torn down and closed. - AbstractByteArrayCommandTransport - Class in hudson.remoting
-
CommandTransport
that works withbyte[]
instead of command object. - AbstractByteArrayCommandTransport() - Constructor for class hudson.remoting.AbstractByteArrayCommandTransport
- AbstractByteArrayCommandTransport.ByteArrayReceiver - Interface in hudson.remoting
- AbstractByteBufferCommandTransport - Class in hudson.remoting
- AbstractByteBufferCommandTransport() - Constructor for class hudson.remoting.AbstractByteBufferCommandTransport
-
Deprecated.
- AbstractByteBufferCommandTransport(boolean) - Constructor for class hudson.remoting.AbstractByteBufferCommandTransport
- AbstractSynchronousByteArrayCommandTransport - Class in hudson.remoting
-
SynchronousCommandTransport
that works withbyte[]
instead of command object. - AbstractSynchronousByteArrayCommandTransport() - Constructor for class hudson.remoting.AbstractSynchronousByteArrayCommandTransport
- accumulate(ByteBuffer, ByteBuffer) - Static method in class org.jenkinsci.remoting.util.ByteBufferUtils
-
Accumulate the given buffer into the current context.
- AckFilterLayer - Class in org.jenkinsci.remoting.protocol.impl
-
A
FilterLayer
that ensures both sides will not proceed unless the acknowledgement has been sent and received by both sides. - AckFilterLayer() - Constructor for class org.jenkinsci.remoting.protocol.impl.AckFilterLayer
-
Default constructor.
- AckFilterLayer(String) - Constructor for class org.jenkinsci.remoting.protocol.impl.AckFilterLayer
-
Constructor using a custom acknowledgement string.
- acquire() - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
SPI: Acquired a new
ByteBuffer
optimally sized for network read/write operations. - acquire(int) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Borrow a buffer from the pool.
- acquire(int) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
Borrow a buffer from the pool.
- acquire(int) - Method in interface org.jenkinsci.remoting.util.ByteBufferPool
-
Borrow a buffer from the pool.
- acquire(int) - Method in class org.jenkinsci.remoting.util.DirectByteBufferPool
-
Borrow a buffer from the pool.
- add(EngineListener) - Method in class hudson.remoting.EngineListenerSplitter
- add(PublicKey) - Method in class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
-
Adds a trusted
PublicKey
. - addCandidateCertificate(X509Certificate) - Method in class hudson.remoting.Engine
- addInterestAccept(SelectionKey) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Reregister the provided key as interested in accepting connections.
- addInterestConnect(SelectionKey) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Reregister the provided key as interested in the connection with a server being established.
- addInterestRead(SelectionKey) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Reregister the provided key as interested in reading data.
- addInterestWrite(SelectionKey) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Reregister the provided key as interested in writing data.
- addListener(Channel.Listener) - Method in class hudson.remoting.Channel
-
Registers a new
Channel.Listener
. - addListener(EngineListener) - Method in class hudson.remoting.Engine
- addListener(Runnable, Executor) - Method in interface org.jenkinsci.remoting.util.ListenableFuture
-
Registers a listener to be run.
- addListener(Runnable, Executor) - Method in class org.jenkinsci.remoting.util.SettableFuture
-
Registers a listener to be run.
- addListener(ProtocolStack.Listener) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
Adds a listener.
- addLocalExecutionInterceptor(CallableFilter) - Method in class hudson.remoting.Channel
-
Deprecated.
- addLocalExecutionInterceptor(CallableDecorator) - Method in class hudson.remoting.Channel
-
Adds a
CallableDecorator
that gets a chance to decorate everyCallable
s that run locally sent by the other peer. - afterChannel(JnlpConnectionState) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
-
Callback to notify the
JnlpConnectionState.approve()
listener that theChannel
has been created and is available viaJnlpConnectionState.getChannel()
. - afterDisconnect(JnlpConnectionState) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
-
Callback to notify the
JnlpConnectionState.approve()
listener that theSocket
has been closed. - afterProperties(JnlpConnectionState) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
-
Notification that properties have been exchanged.
- agentJnlpCredentials - Variable in class hudson.remoting.Launcher
- agentJnlpURL - Variable in class hudson.remoting.Launcher
-
Deprecated.
- agentLog - Variable in class hudson.remoting.Launcher
-
Specifies a destination for error logs.
- AgentProtocolClientFilterLayer - Class in org.jenkinsci.remoting.protocol.impl
-
A
FilterLayer
that sends the AgentProtocol client handshake. - AgentProtocolClientFilterLayer(String) - Constructor for class org.jenkinsci.remoting.protocol.impl.AgentProtocolClientFilterLayer
-
Constructor
- AnonymousClassWarnings - Class in org.jenkinsci.remoting.util
-
Issues warnings about attempts to (de-)serialize anonymous, local, or synthetic classes.
- append(char) - Method in class hudson.remoting.RemoteWriter
- append(CharSequence) - Method in class hudson.remoting.RemoteWriter
- append(CharSequence, int, int) - Method in class hudson.remoting.RemoteWriter
- appendDefaultFilter(Pattern) - Static method in class hudson.remoting.ClassFilter
-
Deprecated.use
ClassFilter.setDefault(hudson.remoting.ClassFilter)
as needed - appendEscaped(StringBuilder, String) - Static method in class org.jenkinsci.remoting.protocol.impl.ConnectionHeaders
- ApplicationLayer<T> - Class in org.jenkinsci.remoting.protocol
-
The highest
ProtocolLayer
in aProtocolStack
. - ApplicationLayer() - Constructor for class org.jenkinsci.remoting.protocol.ApplicationLayer
- approve() - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Signals that the current
JnlpConnectionStateListener
is declaring ownership of this event, approving the connection and all otherJnlpConnectionStateListener
instances will now be ignored. - args - Variable in class hudson.remoting.Launcher
-
Deprecated.use
Launcher.secret
andLauncher.name
- asInteger(String) - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
- AsyncFutureImpl<V> - Class in hudson.remoting
-
Future
implementation whose computation is carried out elsewhere. - AsyncFutureImpl() - Constructor for class hudson.remoting.AsyncFutureImpl
- AsyncFutureImpl(Throwable) - Constructor for class hudson.remoting.AsyncFutureImpl
- AsyncFutureImpl(V) - Constructor for class hudson.remoting.AsyncFutureImpl
- Asynchronous - Annotation Type in hudson.remoting
-
Used on a method in a remotable exported interface to designate that the call is made asynchronously.
- AtmostOneThreadExecutor - Class in hudson.remoting
-
ExecutorService
that uses at most one executor. - AtmostOneThreadExecutor() - Constructor for class hudson.remoting.AtmostOneThreadExecutor
- AtmostOneThreadExecutor(ThreadFactory) - Constructor for class hudson.remoting.AtmostOneThreadExecutor
- auth - Variable in class hudson.remoting.Launcher
-
Deprecated.
- available() - Method in class hudson.remoting.FastPipedInputStream
- available() - Method in class hudson.remoting.RemoteInputStream
- available() - Method in class org.jenkinsci.remoting.util.ByteBufferQueueInputStream
- available() - Method in class org.jenkinsci.remoting.util.FastByteBufferQueueInputStream
- awaitTermination(long, TimeUnit) - Method in class hudson.remoting.AtmostOneThreadExecutor
- awaitTermination(long, TimeUnit) - Method in class hudson.remoting.SingleLaneExecutorService
B
- Base64 - Class in hudson.remoting
-
Deprecated.Use
Base64
instead - Base64() - Constructor for class hudson.remoting.Base64
-
Deprecated.
- beforeChannel(JnlpConnectionState) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
-
Callback to allow the
JnlpConnectionState.approve()
listener to decorate theChannelBuilder
viaJnlpConnectionState.getChannelBuilder()
. - beforeProperties(JnlpConnectionState) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
-
Notification that the connection has been established and properties will be exchanged.
- BINARY - Enum constant in enum hudson.remoting.Channel.Mode
-
Send binary data over the stream.
- BinarySafeStream - Class in hudson.remoting
-
Tunnels byte stream into another byte stream so that binary data can be sent across binary-unsafe stream.
- BIONetworkLayer - Class in org.jenkinsci.remoting.protocol.impl
-
A
NetworkLayer
that uses a dedicated reader thread and runs on demand writer thread to manage I/O. - BIONetworkLayer(IOHub, ReadableByteChannel, WritableByteChannel) - Constructor for class org.jenkinsci.remoting.protocol.impl.BIONetworkLayer
-
Constructor.
- BlindTrustX509ExtendedTrustManager - Class in org.jenkinsci.remoting.protocol.cert
-
An
X509ExtendedTrustManager
that trusts everything always. - BlindTrustX509ExtendedTrustManager() - Constructor for class org.jenkinsci.remoting.protocol.cert.BlindTrustX509ExtendedTrustManager
- branch - Variable in class hudson.remoting.TeeOutputStream
-
The second OutputStream to write to.
- build(CommandTransport) - Method in class hudson.remoting.ChannelBuilder
- build(InputStream, OutputStream) - Method in class hudson.remoting.ChannelBuilder
-
Performs a handshake over the communication channel and builds a
Channel
. - build(Socket) - Method in class hudson.remoting.ChannelBuilder
- build(Socket) - Method in class org.jenkinsci.remoting.nio.NioChannelBuilder
- build(SelectableChannel, SelectableChannel) - Method in class org.jenkinsci.remoting.nio.NioChannelBuilder
- build(SocketChannel) - Method in class hudson.remoting.ChannelBuilder
- build(SocketChannel) - Method in class org.jenkinsci.remoting.nio.NioChannelBuilder
- build(ApplicationLayer<T>) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Builder
-
Create the
ProtocolStack
. - ByteBufferPool - Interface in org.jenkinsci.remoting.util
-
API for a pool of
ByteBuffer
s. - ByteBufferQueue - Class in org.jenkinsci.remoting.util
-
A helper class to make queuing up of data easier.
- ByteBufferQueue(int) - Constructor for class org.jenkinsci.remoting.util.ByteBufferQueue
-
Constructor.
- ByteBufferQueueInputStream - Class in org.jenkinsci.remoting.util
-
An
InputStream
backed by aByteBufferQueue
. - ByteBufferQueueInputStream(ByteBufferQueue) - Constructor for class org.jenkinsci.remoting.util.ByteBufferQueueInputStream
-
Constructs a new instance.
- ByteBufferQueueInputStream(ByteBufferQueue, int) - Constructor for class org.jenkinsci.remoting.util.ByteBufferQueueInputStream
-
Constructs a new instance.
- ByteBufferQueueOutputStream - Class in org.jenkinsci.remoting.util
-
An
OutputStream
backed by aByteBufferQueue
. - ByteBufferQueueOutputStream(ByteBufferQueue) - Constructor for class org.jenkinsci.remoting.util.ByteBufferQueueOutputStream
-
Creates a new instance.
- ByteBufferUtils - Class in org.jenkinsci.remoting.util
-
Utility methods to help working with
ByteBuffer
s.
C
- call() - Method in interface hudson.remoting.Callable
-
Performs computation and returns the result, or throws some exception.
- call(Callable<V, T>) - Method in class hudson.remoting.Channel
-
Makes a remote procedure call.
- call(Callable<V, T>) - Method in class hudson.remoting.LocalChannel
- call(Callable<V, T>) - Method in interface hudson.remoting.VirtualChannel
-
Makes a remote procedure call.
- call(Callable<V>) - Method in interface hudson.remoting.CallableFilter
-
Deprecated.This implementation should normally look something like this:
- call(Callable<V>) - Method in class org.jenkinsci.remoting.CallableDecorator
-
Used to decorate everything that executes in the channel as a result of a request from the other side, such as RPC executions on exported objects, user-provided
Callable
execution, pipe write, and so on. - Callable<V,
T extends Throwable> - Interface in hudson.remoting -
Represents computation to be done on a remote system.
- CallableDecorator - Class in org.jenkinsci.remoting
-
Decorator on
Callable.call()
to filter the execution. - CallableDecorator() - Constructor for class org.jenkinsci.remoting.CallableDecorator
- CallableFilter - Interface in hudson.remoting
-
Deprecated.
- callAsync(Callable<V, T>) - Method in class hudson.remoting.Channel
-
Makes an asynchronous remote procedure call.
- callAsync(Callable<V, T>) - Method in class hudson.remoting.LocalChannel
- callAsync(Callable<V, T>) - Method in interface hudson.remoting.VirtualChannel
-
Makes an asynchronous remote procedure call.
- cancel(boolean) - Method in class hudson.remoting.AsyncFutureImpl
- cancel(boolean) - Method in class org.jenkinsci.remoting.util.SettableFuture
-
Completes the future by cancellation.
- candidateCertificates - Variable in class hudson.remoting.Launcher
- Capability - Class in hudson.remoting
-
Represents additional features implemented on
Channel
. - Capability() - Constructor for class hudson.remoting.Capability
- chain(T1, T2) - Static method in class org.jenkinsci.remoting.util.ThrowableUtils
-
Allows building a chain of exceptions.
- channel - Variable in class hudson.remoting.AbstractByteArrayCommandTransport
- channel - Variable in class hudson.remoting.SynchronousCommandTransport
- Channel - Class in hudson.remoting
-
Represents a communication channel to the remote peer.
- Channel(ChannelBuilder, CommandTransport) - Constructor for class hudson.remoting.Channel
- Channel(String, ExecutorService, Channel.Mode, InputStream, OutputStream) - Constructor for class hudson.remoting.Channel
-
Deprecated.as of 2.24 Use
ChannelBuilder
ChannelBuilder(name, exec) .withMode(mode) .build(is, os) - Channel(String, ExecutorService, Channel.Mode, InputStream, OutputStream, OutputStream) - Constructor for class hudson.remoting.Channel
-
Deprecated.as of 2.24 Use
ChannelBuilder
ChannelBuilder(name, exec) .withMode(mode) .withHeaderStream(header) .withArbitraryCallableAllowed(true) .withRemoteClassLoadingAllowed(true) .build(is, os) - Channel(String, ExecutorService, Channel.Mode, InputStream, OutputStream, OutputStream, boolean) - Constructor for class hudson.remoting.Channel
-
Deprecated.as of 2.24 Use
ChannelBuilder
ChannelBuilder(name, exec) .withMode(mode) .withHeaderStream(header) .withArbitraryCallableAllowed(!restricted) .withRemoteClassLoadingAllowed(!restricted) .withBaseLoader(base) .build(is, os) - Channel(String, ExecutorService, Channel.Mode, InputStream, OutputStream, OutputStream, boolean, ClassLoader) - Constructor for class hudson.remoting.Channel
-
Deprecated.as of 2.24 Use
ChannelBuilder
ChannelBuilder(name, exec) .withMode(mode) .withHeaderStream(header) .withArbitraryCallableAllowed(!restricted) .withRemoteClassLoadingAllowed(!restricted) .withBaseLoader(base) .build(is, os) - Channel(String, ExecutorService, CommandTransport, boolean, ClassLoader) - Constructor for class hudson.remoting.Channel
-
Deprecated.as of 2.24 Use
ChannelBuilder
ChannelBuilder(name, exec) .withArbitraryCallableAllowed(!restricted) .withRemoteClassLoadingAllowed(!restricted) .withBaseLoader(base) .build(transport) - Channel(String, ExecutorService, CommandTransport, boolean, ClassLoader, JarCache) - Constructor for class hudson.remoting.Channel
-
Deprecated.as of 2.38 Use
ChannelBuilder
ChannelBuilder(name, exec) .withArbitraryCallableAllowed(!restricted) .withRemoteClassLoadingAllowed(!restricted) .withBaseLoader(base) .withJarCache(jarCache) .build(transport) - Channel(String, ExecutorService, InputStream, OutputStream) - Constructor for class hudson.remoting.Channel
-
Deprecated.as of 2.24 Use
ChannelBuilder
ChannelBuilder(name, exec) .withMode(Channel.Mode.BINARY) .build(is, os) - Channel(String, ExecutorService, InputStream, OutputStream, OutputStream) - Constructor for class hudson.remoting.Channel
-
Deprecated.as of 2.24 Use
ChannelBuilder
ChannelBuilder(name, exec) .withMode(Channel.Mode.BINARY) .withHeaderStream(header) .build(is, os) - Channel.Listener - Class in hudson.remoting
-
Callback "interface" for changes in the state of
Channel
. - Channel.Mode - Enum in hudson.remoting
-
Communication mode used in conjunction with
ClassicCommandTransport
. - ChannelApplicationLayer - Class in org.jenkinsci.remoting.protocol.impl
-
An
ApplicationLayer
that produces aChannel
. - ChannelApplicationLayer(ExecutorService, ChannelApplicationLayer.Listener) - Constructor for class org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer
-
Creates a new
ChannelApplicationLayer
- ChannelApplicationLayer(ExecutorService, ChannelApplicationLayer.Listener, String) - Constructor for class org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer
-
Creates a new
ChannelApplicationLayer
- ChannelApplicationLayer.ChannelDecorator - Interface in org.jenkinsci.remoting.protocol.impl
-
Callback for decorating the
ChannelBuilder
before theChannel
is created. - ChannelApplicationLayer.Listener - Interface in org.jenkinsci.remoting.protocol.impl
-
Callback interface for notification of the
Channel
being created. - ChannelBuilder - Class in hudson.remoting
- ChannelBuilder(String, ExecutorService) - Constructor for class hudson.remoting.ChannelBuilder
-
Specify the minimum mandatory parameters.
- channelClosed(JnlpConnectionState) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
-
Callback to notify the
JnlpConnectionState.approve()
listener that theChannel
has been closed. - ChannelClosedException - Exception in hudson.remoting
-
Indicates that the channel is already closed or being closed.
- ChannelClosedException() - Constructor for exception hudson.remoting.ChannelClosedException
-
Deprecated.Use
ChannelClosedException(Throwable)
orChannelClosedException(String, Throwable)
. This constructor will not include cause of the termination. - ChannelClosedException(Channel, String, Throwable) - Constructor for exception hudson.remoting.ChannelClosedException
-
Constructor.
- ChannelClosedException(Channel, Throwable) - Constructor for exception hudson.remoting.ChannelClosedException
-
Constructor.
- ChannelClosedException(String, Throwable) - Constructor for exception hudson.remoting.ChannelClosedException
-
Deprecated.
- ChannelClosedException(Throwable) - Constructor for exception hudson.remoting.ChannelClosedException
-
Deprecated.
- ChannelProperty<T> - Class in hudson.remoting
-
A convenient key type for
Channel.getProperty(Object)
andChannel.setProperty(Object, Object)
- ChannelProperty(Class<T>, String) - Constructor for class hudson.remoting.ChannelProperty
- ChannelStateException - Exception in org.jenkinsci.remoting
-
Indicates invalid state of the channel during the operation.
- ChannelStateException(Channel, String) - Constructor for exception org.jenkinsci.remoting.ChannelStateException
- ChannelStateException(Channel, String, Throwable) - Constructor for exception org.jenkinsci.remoting.ChannelStateException
- check(Class<?>) - Method in class hudson.remoting.ClassFilter
-
API version of
ClassFilter.isBlacklisted(Class)
SPI. - check(Class<?>) - Static method in class org.jenkinsci.remoting.util.AnonymousClassWarnings
-
Checks a class which is being either serialized or deserialized.
- check(String) - Method in class hudson.remoting.ClassFilter
-
API version of
ClassFilter.isBlacklisted(String)
SPI. - check(RoleSensitive, Collection<Role>) - Method in class org.jenkinsci.remoting.RoleChecker
-
Called from
RoleSensitive.checkRoles(RoleChecker)
to ensure that this side of the channel is willing to executeCallable
s that expects one of the given roles on their intended recipients. - check(RoleSensitive, Role) - Method in class org.jenkinsci.remoting.RoleChecker
- check(RoleSensitive, Role...) - Method in class org.jenkinsci.remoting.RoleChecker
- checkClientTrusted(X509Certificate[], String) - Method in class org.jenkinsci.remoting.protocol.cert.BlindTrustX509ExtendedTrustManager
- checkClientTrusted(X509Certificate[], String) - Method in class org.jenkinsci.remoting.protocol.cert.DelegatingX509ExtendedTrustManager
- checkClientTrusted(X509Certificate[], String) - Method in class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
- checkClientTrusted(X509Certificate[], String) - Method in class org.jenkinsci.remoting.protocol.cert.ValidityCheckingX509ExtendedTrustManager
- checkClientTrusted(X509Certificate[], String) - Method in class org.jenkinsci.remoting.util.https.NoCheckTrustManager
- checkClientTrusted(X509Certificate[], String, Socket) - Method in class org.jenkinsci.remoting.protocol.cert.BlindTrustX509ExtendedTrustManager
- checkClientTrusted(X509Certificate[], String, Socket) - Method in class org.jenkinsci.remoting.protocol.cert.DelegatingX509ExtendedTrustManager
- checkClientTrusted(X509Certificate[], String, Socket) - Method in class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
- checkClientTrusted(X509Certificate[], String, Socket) - Method in class org.jenkinsci.remoting.protocol.cert.ValidityCheckingX509ExtendedTrustManager
- checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class org.jenkinsci.remoting.protocol.cert.BlindTrustX509ExtendedTrustManager
- checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class org.jenkinsci.remoting.protocol.cert.DelegatingX509ExtendedTrustManager
- checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
- checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class org.jenkinsci.remoting.protocol.cert.ValidityCheckingX509ExtendedTrustManager
- checkingObjectOutputStream(OutputStream) - Static method in class org.jenkinsci.remoting.util.AnonymousClassWarnings
-
Like
ObjectOutputStream(OutputStream)
but appliesAnonymousClassWarnings.check(java.lang.Class<?>)
when writing classes. - checkRoles(RoleChecker) - Method in interface org.jenkinsci.remoting.RoleSensitive
-
Verifies the roles expected by this callable by invoking
RoleChecker.check(RoleSensitive, Collection)
method (or its variants), to provide an opportunity forRoleChecker
to reject this object. - checkServerTrusted(X509Certificate[], String) - Method in class org.jenkinsci.remoting.protocol.cert.BlindTrustX509ExtendedTrustManager
- checkServerTrusted(X509Certificate[], String) - Method in class org.jenkinsci.remoting.protocol.cert.DelegatingX509ExtendedTrustManager
- checkServerTrusted(X509Certificate[], String) - Method in class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
- checkServerTrusted(X509Certificate[], String) - Method in class org.jenkinsci.remoting.protocol.cert.ValidityCheckingX509ExtendedTrustManager
- checkServerTrusted(X509Certificate[], String) - Method in class org.jenkinsci.remoting.util.https.NoCheckTrustManager
- checkServerTrusted(X509Certificate[], String, Socket) - Method in class org.jenkinsci.remoting.protocol.cert.BlindTrustX509ExtendedTrustManager
- checkServerTrusted(X509Certificate[], String, Socket) - Method in class org.jenkinsci.remoting.protocol.cert.DelegatingX509ExtendedTrustManager
- checkServerTrusted(X509Certificate[], String, Socket) - Method in class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
- checkServerTrusted(X509Certificate[], String, Socket) - Method in class org.jenkinsci.remoting.protocol.cert.ValidityCheckingX509ExtendedTrustManager
- checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class org.jenkinsci.remoting.protocol.cert.BlindTrustX509ExtendedTrustManager
- checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class org.jenkinsci.remoting.protocol.cert.DelegatingX509ExtendedTrustManager
- checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
- checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class org.jenkinsci.remoting.protocol.cert.ValidityCheckingX509ExtendedTrustManager
- ChunkHeader - Class in hudson.remoting
-
Parsing of the chunk header.
- ChunkHeader() - Constructor for class hudson.remoting.ChunkHeader
- classFileUrl(Class<?>) - Static method in class hudson.remoting.Which
-
Returns the URL of the class file where the given class has been loaded from.
- ClassFilter - Class in hudson.remoting
-
Restricts what classes can be received through remoting.
- ClassFilter() - Constructor for class hudson.remoting.ClassFilter
- ClassFilter.ClassFilterException - Exception in hudson.remoting
-
Deprecated.Only used by deprecated
ClassFilter.appendDefaultFilter(java.util.regex.Pattern)
. - ClassFilterException(String, String) - Constructor for exception hudson.remoting.ClassFilter.ClassFilterException
-
Deprecated.
- ClassFilterException(String, Throwable, String) - Constructor for exception hudson.remoting.ClassFilter.ClassFilterException
-
Deprecated.
- ClassFilterException(String, PatternSyntaxException) - Constructor for exception hudson.remoting.ClassFilter.ClassFilterException
-
Deprecated.
- ClassLoaderHolder - Class in hudson.remoting
-
Remoting-aware holder of
ClassLoader
that replaces ClassLoader by itsRemoteClassLoader
. - ClassLoaderHolder() - Constructor for class hudson.remoting.ClassLoaderHolder
- ClassLoaderHolder(ClassLoader) - Constructor for class hudson.remoting.ClassLoaderHolder
- classLoadingCount - Variable in class hudson.remoting.Channel
-
Total counts of remote classloading activities.
- classLoadingPrefetchCacheCount - Variable in class hudson.remoting.Channel
-
Prefetch cache hits.
- classLoadingTime - Variable in class hudson.remoting.Channel
-
Total number of nanoseconds spent for remote class loading.
- clear() - Method in class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
-
Clears the trusted public keys.
- CLIENT_NAME_KEY - Static variable in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
The property name for the client name key.
- close() - Method in class hudson.remoting.Channel
-
Performs an orderly shut down of this channel (and the remote peer.)
- close() - Method in class hudson.remoting.FastPipedInputStream
- close() - Method in class hudson.remoting.FastPipedOutputStream
- close() - Method in interface hudson.remoting.forward.ListeningPort
-
Shuts down the port forwarding by removing the server socket.
- close() - Method in class hudson.remoting.forward.PortForwarder
-
Deprecated.Shuts down this port forwarder.
- close() - Method in class hudson.remoting.LocalChannel
- close() - Method in class hudson.remoting.RemoteInputStream
- close() - Method in class hudson.remoting.RemoteOutputStream
- close() - Method in class hudson.remoting.RemoteWriter
- close() - Method in class hudson.remoting.SocketInputStream
- close() - Method in class hudson.remoting.SocketOutputStream
- close() - Method in class hudson.remoting.StandardOutputStream
- close() - Method in class hudson.remoting.TeeOutputStream
-
Closes both output streams.
- close() - Method in interface hudson.remoting.VirtualChannel
-
Performs an orderly shut down of this channel (and the remote peer.)
- close() - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Indicates that there will be no more write.
- close() - Method in class org.jenkinsci.remoting.nio.NioChannelHub
-
Shuts down the selector thread and aborts all
- close() - Method in class org.jenkinsci.remoting.protocol.IOHub
- close() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
- close(Throwable) - Method in class hudson.remoting.Channel
-
Closes the channel.
- closeQuietly(Closeable) - Static method in class org.jenkinsci.remoting.util.IOUtils
-
Unconditionally close a
Closeable
. - closeRead() - Method in class hudson.remoting.CommandTransport
-
Called to indicate that the no further input is expected and any resources associated with reading commands should be freed.
- closeWrite() - Method in class hudson.remoting.CommandTransport
-
Called to close the write side of the transport, allowing the underlying transport to be shut down.
- Command - Class in hudson.remoting
-
One-way command to be sent over to the remote system and executed there.
- CommandTransport - Class in hudson.remoting
-
Lower level abstraction under
Channel
for sending and receiving commands - CommandTransport() - Constructor for class hudson.remoting.CommandTransport
- CommandTransport.CommandReceiver - Interface in hudson.remoting
- compareTo(VersionNumber) - Method in class org.jenkinsci.remoting.util.VersionNumber
- complete() - Method in class org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer
- completed() - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
The
FilterLayer
implementation calls this to signify that it is now a no-op layer in both directions and can be removed from theProtocolStack
- connect(FastPipedInputStream) - Method in class hudson.remoting.FastPipedOutputStream
- connect(FastPipedOutputStream) - Method in class hudson.remoting.FastPipedInputStream
- connect(OutputStream) - Method in interface hudson.remoting.forward.Forwarder
-
Establishes a port forwarding connection and returns the writer end.
- connect(Socket, Map<String, String>, List<? extends JnlpConnectionStateListener>) - Method in class org.jenkinsci.remoting.engine.JnlpProtocol4Handler
-
Handles an outgoing connection to the server on the supplied socket.
- connect(Socket, Map<String, String>, List<? extends JnlpConnectionStateListener>) - Method in class org.jenkinsci.remoting.engine.JnlpProtocol4ProxyHandler
- connect(Socket, Map<String, String>, List<? extends JnlpConnectionStateListener>) - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandler
-
Handles an outgoing connection to the server on the supplied socket.
- connect(Socket, Map<String, String>, JnlpConnectionStateListener...) - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandler
-
Handles an outgoing connection to the server on the supplied socket.
- ConnectionHeaders - Class in org.jenkinsci.remoting.protocol.impl
-
Utility class to handle the encoding and decoding of the connection headers.
- ConnectionHeaders.ParseException - Exception in org.jenkinsci.remoting.protocol.impl
- ConnectionHeadersFilterLayer - Class in org.jenkinsci.remoting.protocol.impl
-
Performs the connection header negotiation.
- ConnectionHeadersFilterLayer(Map<String, String>, ConnectionHeadersFilterLayer.Listener) - Constructor for class org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer
-
Constructor.
- ConnectionHeadersFilterLayer.Listener - Interface in org.jenkinsci.remoting.protocol.impl
-
A listener for the connection headers.
- ConnectionRefusalException - Exception in org.jenkinsci.remoting.protocol.impl
-
An exception to flag that the connection has been refused.
- ConnectionRefusalException() - Constructor for exception org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException
- ConnectionRefusalException(String) - Constructor for exception org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException
- ConnectionRefusalException(String, Object...) - Constructor for exception org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException
-
Constructs an
ConnectionRefusalException
with the specified detail message formatted usingString.format(String, Object...)
. - ConnectionRefusalException(String, Throwable) - Constructor for exception org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException
- ConnectionRefusalException(Throwable) - Constructor for exception org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException
- ConnectionRefusalException(Throwable, String, Object...) - Constructor for exception org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException
-
Constructs an
ConnectionRefusalException
with the specified detail message formatted usingString.format(String, Object...)
. - connectionTarget - Variable in class hudson.remoting.Launcher
-
Deprecated.removed without replacement
- COOKIE_KEY - Static variable in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
The property name for the cookie name key.
- copy(InputStream, OutputStream) - Static method in class hudson.remoting.Util
- create() - Static method in class org.jenkinsci.remoting.util.SettableFuture
-
Creates a new
SettableFuture
. - create(VirtualChannel, int, Forwarder) - Static method in class hudson.remoting.forward.PortForwarder
-
Deprecated.Starts a
PortForwarder
accepting remotely at the given channel, which connects by using the given connector. - create(VirtualChannel, String, int) - Static method in class hudson.remoting.forward.ForwarderFactory
-
Deprecated.Creates a connector on the remote side that connects to the speicied host and port.
- create(FileDescriptor) - Method in class org.jenkinsci.remoting.nio.SelectableFileChannelFactory
-
Create channel using the specified file descriptor.
- create(FileInputStream) - Method in class org.jenkinsci.remoting.nio.SelectableFileChannelFactory
- create(FileOutputStream) - Method in class org.jenkinsci.remoting.nio.SelectableFileChannelFactory
- create(InputStream) - Method in class org.jenkinsci.remoting.nio.SelectableFileChannelFactory
- create(OutputStream) - Method in class org.jenkinsci.remoting.nio.SelectableFileChannelFactory
- create(String, int) - Static method in class hudson.remoting.forward.ForwarderFactory
-
Deprecated.
- create(Executor) - Static method in class org.jenkinsci.remoting.protocol.IOHub
-
Creates and starts a new
IOHub
instance. - createConnectionState(Socket, List<? extends JnlpConnectionStateListener>) - Method in class org.jenkinsci.remoting.engine.JnlpProtocol4Handler
- createConnectionState(Socket, List<? extends JnlpConnectionStateListener>) - Method in class org.jenkinsci.remoting.engine.JnlpProtocol4ProxyHandler
- createConnectionState(Socket, List<? extends JnlpConnectionStateListener>) - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandler
-
Creates the
JnlpConnectionState
instance for thisJnlpProtocolHandler
. - createLocalToRemote() - Static method in class hudson.remoting.Pipe
-
Creates a
Pipe
that allows local system to write and remote system to read. - createLocalToRemotePortForwarding(int, String, int) - Method in class hudson.remoting.Channel
-
Deprecated.as of 3.39
- createRemoteToLocal() - Static method in class hudson.remoting.Pipe
-
Creates a
Pipe
that allows remote system to write and local system to read. - createRemoteToLocalPortForwarding(int, String, int) - Method in class hudson.remoting.Channel
-
Deprecated.as of 3.39
- createRuntimeException(String, ExecutorServiceUtils.ExecutionRejectedException) - Static method in class org.jenkinsci.remoting.util.ExecutorServiceUtils
-
Creates a runtime
RejectedExecutionException
forExecutorServiceUtils.ExecutionRejectedException
. - current() - Static method in class hudson.remoting.Channel
-
This method can be invoked during the serialization/deserialization of objects when they are transferred to the remote
Channel
, as well as duringCallable.call()
is invoked. - current() - Static method in class hudson.remoting.Engine
- currentOrFail() - Static method in class hudson.remoting.Channel
-
Gets current channel or fails with
IllegalStateException
.
D
- DaemonThreadFactory - Class in hudson.remoting
- DaemonThreadFactory() - Constructor for class hudson.remoting.DaemonThreadFactory
- decode(String) - Static method in class hudson.remoting.Base64
-
Deprecated.Decodes Base64 data into octets
- decorate(ChannelBuilder) - Method in interface org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.ChannelDecorator
-
Decorate the
ChannelBuilder
- decorate(ChannelBuilder) - Method in class org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer
-
Allows subclasses to decorate the
ChannelBuilder
- DEFAULT - Static variable in class hudson.remoting.ClassFilter
-
The currently used default.
- DEFAULT_FAIL_IF_WORKDIR_IS_MISSING - Static variable in class org.jenkinsci.remoting.engine.WorkDirManager
-
Default value for the behavior when the requested working directory is missing.
- DEFAULT_NOWS_JAR_CACHE_LOCATION - Static variable in class hudson.remoting.JarCache
-
Default JAR cache location for disabled workspace Manager.
- DelegatingCallable<V,
T extends Throwable> - Interface in hudson.remoting -
Callable
that nominates another classloader for serialization. - DelegatingX509ExtendedTrustManager - Class in org.jenkinsci.remoting.protocol.cert
-
An
X509ExtendedTrustManager
that delegates to a runtime mutable delegateX509ExtendedTrustManager
. - DelegatingX509ExtendedTrustManager(X509ExtendedTrustManager) - Constructor for class org.jenkinsci.remoting.protocol.cert.DelegatingX509ExtendedTrustManager
-
Constructor for a
X509ExtendedTrustManager
that will trust any certificates that are both currently valid and trusted by the suppliedX509ExtendedTrustManager
. - DESCENDING - Static variable in class org.jenkinsci.remoting.util.VersionNumber
- detect(String) - Static method in enum org.jenkinsci.remoting.util.DurationStyle
-
Detect the style from the given source value.
- detectAndParse(String) - Static method in enum org.jenkinsci.remoting.util.DurationStyle
-
Detect the style then parse the value to return a duration.
- detectAndParse(String, ChronoUnit) - Static method in enum org.jenkinsci.remoting.util.DurationStyle
-
Detect the style then parse the value to return a duration.
- DiagnosedStreamCorruptionException - Exception in hudson.remoting
-
Signals a
StreamCorruptedException
with some additional diagnostic information. - DirectByteBufferPool - Class in org.jenkinsci.remoting.util
-
A buffer pool that keeps a free list of
ByteBuffer
s of a specified default size in a simple fixed size stack. - DirectByteBufferPool(int, int) - Constructor for class org.jenkinsci.remoting.util.DirectByteBufferPool
-
Constructor.
- directConnection - Variable in class hudson.remoting.Launcher
-
Connect directly to the TCP port specified, skipping the HTTP(S) connection parameter download.
- disable(WorkDirManager.DirType) - Method in class org.jenkinsci.remoting.engine.WorkDirManager
- displayName - Variable in class hudson.remoting.ChannelProperty
- doCloseRead() - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
SPI: Implementations of
ApplicationLayer
should use this method to request that the read path of theProtocolStack
be closed. - doCloseRecv() - Method in class org.jenkinsci.remoting.protocol.impl.BIONetworkLayer
-
Request the recv side to be closed.
- doCloseRecv() - Method in class org.jenkinsci.remoting.protocol.impl.NIONetworkLayer
-
Request the recv side to be closed.
- doCloseRecv() - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
Request the recv side to be closed.
- doCloseSend() - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
Notify the lower layer that it should close.
- doCloseSend() - Method in class org.jenkinsci.remoting.protocol.impl.BIONetworkLayer
-
Notify the lower layer that it should close.
- doCloseSend() - Method in class org.jenkinsci.remoting.protocol.impl.NIONetworkLayer
-
Notify the lower layer that it should close.
- doCloseSend() - Method in class org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer
-
Notify the lower layer that it should close.
- doCloseSend() - Method in interface org.jenkinsci.remoting.protocol.ProtocolLayer.Send
-
Notify the lower layer that it should close.
- doCloseSend() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Ptr
-
Requests the next layer down the stack to close output.
- doCloseWrite() - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
SPI: Implementations of
ApplicationLayer
should use this method to request that the write path of theProtocolStack
be closed. - doSend(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
SPI: Sends data to the lower layer.
- doSend(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.impl.AckFilterLayer
-
SPI: Sends data to the lower layer.
- doSend(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.impl.AgentProtocolClientFilterLayer
-
SPI: Sends data to the lower layer.
- doSend(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer
-
SPI: Sends data to the lower layer.
- doSend(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer
-
SPI: Sends data to the lower layer.
- doSend(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
Sends data to the lower layer.
- doSend(ByteBuffer) - Method in interface org.jenkinsci.remoting.protocol.ProtocolLayer.Send
-
Sends data to the lower layer.
- doSend(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Ptr
-
Each
ProtocolLayer.Send
should call this method to hand data for sending down the stack to the nextProtocolLayer
(except for theNetworkLayer
which should eat the data). - dumpDiagnostics(PrintWriter) - Method in class hudson.remoting.Channel
-
Print the diagnostic information.
- dumpDiagnosticsForAll(PrintWriter) - Static method in class hudson.remoting.Channel
-
Calls
Channel.dumpDiagnostics(PrintWriter)
across all the active channels in this system. - dumpExportTable(PrintWriter) - Method in class hudson.remoting.Channel
-
Dumps the list of exported objects and their allocation traces to the given output.
- dumpPerformanceCounters(PrintWriter) - Method in class hudson.remoting.Channel
-
Print the performance counters.
- duplicate(ByteBuffer) - Static method in class org.jenkinsci.remoting.util.ByteBufferUtils
-
Duplicate a byte buffer for storing for future use.
- DurationFormatter - Class in org.jenkinsci.remoting.util
-
Formats a
Duration
into a human-readable string. - DurationOptionHandler - Class in org.jenkinsci.remoting
-
Parses a string like 1s, 2m, 3h, 4d into a
Duration
. - DurationOptionHandler(CmdLineParser, OptionDef, Setter<? super Duration>) - Constructor for class org.jenkinsci.remoting.DurationOptionHandler
- DurationStyle - Enum in org.jenkinsci.remoting.util
-
Duration format styles.
E
- EMPTY_BUFFER - Static variable in interface org.jenkinsci.remoting.protocol.ProtocolLayer
-
A handy constant to use for no-op send/receive calls.
- EMPTY_BUFFER - Static variable in class org.jenkinsci.remoting.util.ByteBufferUtils
-
A handy constant to use for no-op send/receive calls.
- encode(byte[]) - Static method in class hudson.remoting.Base64
-
Deprecated.Encodes hex octets into Base64
- encodeEscape(int) - Static method in class org.jenkinsci.remoting.protocol.impl.ConnectionHeaders
- Engine - Class in hudson.remoting
-
Agent engine that proactively connects to Jenkins controller.
- Engine(EngineListener, List<URL>, String, String) - Constructor for class hudson.remoting.Engine
- Engine(EngineListener, List<URL>, String, String, String, String, Set<String>) - Constructor for class hudson.remoting.Engine
- EngineListener - Interface in hudson.remoting
-
Receives status notification from
Engine
. - EngineListenerAdapter - Class in hudson.remoting
-
Adapter class for
EngineListener
to shield subtypes from future callback additions. - EngineListenerAdapter() - Constructor for class hudson.remoting.EngineListenerAdapter
- EngineListenerSplitter - Class in hudson.remoting
-
EngineListener
that distributes callbacks. - EngineListenerSplitter() - Constructor for class hudson.remoting.EngineListenerSplitter
- ensureValid() - Method in class org.jenkinsci.remoting.nio.NioChannelHub
-
Verifies that the selector thread is running and this hub is active.
- equals(Object) - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
- equals(Object) - Method in class org.jenkinsci.remoting.protocol.IOHub
- equals(Object) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
- equals(Object) - Method in class org.jenkinsci.remoting.Role
- equals(Object) - Method in class org.jenkinsci.remoting.util.VersionNumber
- equals(Key, Key) - Static method in class org.jenkinsci.remoting.util.KeyUtils
-
Check two keys for equality.
- error(Throwable) - Method in interface hudson.remoting.EngineListener
-
Fatal error that's non recoverable.
- error(Throwable) - Method in class hudson.remoting.EngineListenerAdapter
- error(Throwable) - Method in class hudson.remoting.EngineListenerSplitter
- error(Throwable) - Method in interface hudson.remoting.ErrorPropagatingOutputStream
-
Closes the stream and causes the reading
InputStream
to report an error. - error(Throwable) - Method in class hudson.remoting.FastPipedOutputStream
- error(Throwable) - Method in class hudson.remoting.Pipe
-
Writes an error to
Pipe.getOut()
, which results inIOException
from the reading end. - ErrorPropagatingOutputStream - Interface in hudson.remoting
-
OutputStream
that's connected to anInputStream
somewhere, which provides ability to haveInputStream
report an error. - execute(Channel) - Method in class hudson.remoting.UnexportCommand
- execute(Runnable) - Method in class hudson.remoting.AtmostOneThreadExecutor
- execute(Runnable) - Method in class hudson.remoting.SingleLaneExecutorService
- execute(Runnable) - Method in class org.jenkinsci.remoting.protocol.IOHub
- execute(Runnable) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
Executes the given command at some time in the future.
- executeLater(Runnable, long, TimeUnit) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Executes a task at a future point in time.
- executeLater(Runnable, long, TimeUnit) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
Executes a task at a future point in time.
- executeOnSelector(Runnable) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Executes the given task at some time in the future.
- ExecutionRejectedException(ExecutorService, RejectedExecutionException) - Constructor for exception org.jenkinsci.remoting.util.ExecutorServiceUtils.ExecutionRejectedException
-
Constructor of the new exception.
- executor - Variable in class hudson.remoting.Channel
- ExecutorServiceUtils - Class in org.jenkinsci.remoting.util
-
Helper class for
ExecutorService
operations. - ExecutorServiceUtils.ExecutionRejectedException - Exception in org.jenkinsci.remoting.util
-
Wraps the runtime
RejectedExecutionException
. - ExecutorServiceUtils.FatalRejectedExecutionException - Exception in org.jenkinsci.remoting.util
-
Version of
RejectedExecutionException
, which treats the error as fatal. - exists(String) - Method in class org.jenkinsci.remoting.engine.JnlpClientDatabase
-
Check if the supplied client name exists.
- export(Class<T>, T) - Method in class hudson.remoting.Channel
-
Exports an object for remoting to the other
Channel
by creating a remotable proxy. - export(Class<T>, T) - Method in class hudson.remoting.LocalChannel
- export(Class<T>, T) - Method in interface hudson.remoting.VirtualChannel
-
Exports an object for remoting to the other
Channel
by creating a remotable proxy.
F
- failIfWorkDirIsMissing - Variable in class hudson.remoting.Engine
-
Fail the initialization if the workDir or internalDir are missing.
- failIfWorkDirIsMissing - Variable in class hudson.remoting.Launcher
-
Fail the initialization if the workDir or internalDir are missing.
- FastByteBufferQueueInputStream - Class in org.jenkinsci.remoting.util
-
An
InputStream
backed by a set number of bytes from the head of aByteBufferQueue
. - FastByteBufferQueueInputStream(ByteBufferQueue, int) - Constructor for class org.jenkinsci.remoting.util.FastByteBufferQueueInputStream
-
Constructs a new instance.
- FastPipedInputStream - Class in hudson.remoting
-
This class is equivalent to
PipedInputStream
. - FastPipedInputStream() - Constructor for class hudson.remoting.FastPipedInputStream
-
Creates an unconnected PipedInputStream with a default buffer size.
- FastPipedInputStream(FastPipedOutputStream) - Constructor for class hudson.remoting.FastPipedInputStream
-
Creates a PipedInputStream with a default buffer size and connects it to
source
. - FastPipedInputStream(FastPipedOutputStream, int) - Constructor for class hudson.remoting.FastPipedInputStream
-
Creates a PipedInputStream with buffer size
bufferSize
and connects it tosource
. - FastPipedOutputStream - Class in hudson.remoting
-
This class is equivalent to
PipedOutputStream
. - FastPipedOutputStream() - Constructor for class hudson.remoting.FastPipedOutputStream
-
Creates an unconnected PipedOutputStream.
- FastPipedOutputStream(FastPipedInputStream) - Constructor for class hudson.remoting.FastPipedOutputStream
-
Creates a PipedOutputStream with a default buffer size and connects it to
sink
. - FastPipedOutputStream(FastPipedInputStream, int) - Constructor for class hudson.remoting.FastPipedOutputStream
-
Deprecated.as of 1.350 bufferSize parameter is ignored.
- FatalRejectedExecutionException(String) - Constructor for exception org.jenkinsci.remoting.util.ExecutorServiceUtils.FatalRejectedExecutionException
- FatalRejectedExecutionException(String, Throwable) - Constructor for exception org.jenkinsci.remoting.util.ExecutorServiceUtils.FatalRejectedExecutionException
- FifoBuffer - Class in org.jenkinsci.remoting.nio
-
FIFO buffer for a reader thread and a writer thread to collaborate.
- FifoBuffer(int) - Constructor for class org.jenkinsci.remoting.nio.FifoBuffer
- FifoBuffer(int, int) - Constructor for class org.jenkinsci.remoting.nio.FifoBuffer
- FifoBuffer(Object, int, int) - Constructor for class org.jenkinsci.remoting.nio.FifoBuffer
- FifoBuffer.CloseCause - Exception in org.jenkinsci.remoting.nio
-
Explains the reason of the buffer close.
- FILE_OVERRIDE_LOCATION_PROPERTY - Static variable in class hudson.remoting.ClassFilter
-
Deprecated.use
ClassFilter.setDefault(hudson.remoting.ClassFilter)
as needed - FileSystemJarCache - Class in hudson.remoting
-
JarCache
that stores files in a single directory. - FileSystemJarCache(File, boolean) - Constructor for class hudson.remoting.FileSystemJarCache
- fileToPath(File) - Static method in class org.jenkinsci.remoting.util.PathUtils
- filter(FilterLayer) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Builder
-
Adds the supplied filter into the
ProtocolStack
. - FilterLayer - Class in org.jenkinsci.remoting.protocol
-
An intermediate
ProtocolLayer
in aProtocolStack
. - FilterLayer() - Constructor for class org.jenkinsci.remoting.protocol.FilterLayer
- finalize() - Method in class hudson.remoting.FastPipedInputStream
- finalize() - Method in class hudson.remoting.FastPipedOutputStream
- fingerprint(Key) - Static method in class org.jenkinsci.remoting.util.KeyUtils
-
Returns the MD5 fingerprint of a key formatted in the normal way for key fingerprints
- fireAfterChannel(Channel) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Advances the connection state to indicate that the channel has been created.
- fireAfterDisconnect() - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Advances the connection state to indicate that the socket has been closed.
- fireAfterProperties(Map<String, String>) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Advances the connection state to indicate that the property exchange has completed.
- fireBeforeChannel(ChannelBuilder) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Advances the connection state to indicate that the channel is about to be created.
- fireBeforeProperties() - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Advances the connection state to indicate that a connection has been "secured" and the property exchange is about to take place.
- fireChannelClosed(IOException) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Advances the connection state to indicate that the channel has been closed.
- flush() - Method in class hudson.remoting.FastPipedOutputStream
- flush() - Method in class hudson.remoting.RemoteOutputStream
- flush() - Method in class hudson.remoting.RemoteWriter
- flush() - Method in class hudson.remoting.StandardOutputStream
- flush() - Method in class hudson.remoting.TeeOutputStream
-
Flushes both streams.
- flushRecv(ByteBufferQueue) - Method in class org.jenkinsci.remoting.protocol.FilterLayer
- flushSend(ByteBufferQueue) - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
Flushes the supplied
ByteBufferQueue
toFilterLayer.next()
'sProtocolStack.Ptr.doSend(ByteBuffer)
This method is especially helpful forFilterLayer
implementations that are involved in initial handshaking as they will need to queue up data until the handshake is completed and then flush the data to the remainder of the stack. - format(Duration) - Static method in class org.jenkinsci.remoting.util.DurationFormatter
- Forwarder - Interface in hudson.remoting.forward
-
Abstracts away how the forwarding is set up.
- ForwarderFactory - Class in hudson.remoting.forward
-
Deprecated.
- ForwarderFactory() - Constructor for class hudson.remoting.forward.ForwarderFactory
-
Deprecated.
- fromASCII(String) - Static method in class hudson.remoting.Capability
-
The inverse of
Capability.toASCII()
. - fromString(String) - Static method in class org.jenkinsci.remoting.protocol.impl.ConnectionHeaders
-
Converts the headers from the String format.
- Future<V> - Interface in hudson.remoting
-
Alias to
Future
.
G
- get() - Method in class hudson.remoting.AsyncFutureImpl
- get() - Method in class hudson.remoting.ClassLoaderHolder
- get() - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
SPI: Returns the application specific API instance.
- get() - Method in class org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer
-
SPI: Returns the application specific API instance.
- get() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
Gets the application specific API.
- get() - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
Reads the next byte from this queue.
- get() - Method in class org.jenkinsci.remoting.util.SettableFuture
- get(byte[], int, int) - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
This method transfers bytes from the head of this buffer queue into the given destination
byte
. - get(long, TimeUnit) - Method in class hudson.remoting.AsyncFutureImpl
- get(long, TimeUnit) - Method in class org.jenkinsci.remoting.util.SettableFuture
- get(ByteBuffer) - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
This method transfers bytes from the head of this buffer queue into the given destination buffer.
- getAcceptedIssuers() - Method in class org.jenkinsci.remoting.protocol.cert.BlindTrustX509ExtendedTrustManager
- getAcceptedIssuers() - Method in class org.jenkinsci.remoting.protocol.cert.DelegatingX509ExtendedTrustManager
- getAcceptedIssuers() - Method in class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
- getAcceptedIssuers() - Method in class org.jenkinsci.remoting.protocol.cert.ValidityCheckingX509ExtendedTrustManager
- getAcceptedIssuers() - Method in class org.jenkinsci.remoting.util.https.NoCheckTrustManager
- getAddress() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
-
Gets the socket address.
- getAddress() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
- getAddressCount() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
-
Deprecated.(3.4) use
SubnetUtils.SubnetInfo.getAddressCountLong()
instead - getAddressCountLong() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
-
Gets the count of available addresses.
- getAgentName() - Method in class hudson.remoting.Engine
-
Get the agent name associated with this Engine instance.
- getAllAddresses() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
- getBaseLoader() - Method in class hudson.remoting.ChannelBuilder
- getBroadcastAddress() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
- getCapability() - Method in class hudson.remoting.ChannelBuilder
- getCause() - Method in exception hudson.remoting.ProxyException
-
ProxyException
all the way down. - getCertificate() - Method in class org.jenkinsci.remoting.engine.Jnlp4ConnectionState
-
Gets the client certificate (if available).
- getChannel() - Method in class hudson.remoting.AbstractByteBufferCommandTransport
-
Gets the channel.
- getChannel() - Method in exception org.jenkinsci.remoting.ChannelStateException
-
Gets channel associated with the exception.
- getChannel() - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Gets the connection's
Channel
. - getChannelBuilder() - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Gets the
ChannelBuilder
that will be used to create the connection'sChannel
. - getChannelForSerialization() - Method in interface org.jenkinsci.remoting.SerializableOnlyOverRemoting
-
Gets current channel or fails with
NotSerializableException
. - getChannelName() - Method in exception org.jenkinsci.remoting.ChannelStateException
-
Gets channel name.
- getChannelOrFail() - Method in interface hudson.remoting.Callable
-
Gets a channel for the operation inside callable.
- getChannelRef() - Method in exception org.jenkinsci.remoting.ChannelStateException
- getCidrSignature() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
- getClassFilter() - Method in class hudson.remoting.ChannelBuilder
- getClassLoader() - Method in interface hudson.remoting.DelegatingCallable
-
Returns the class loader to be used for the callable.
- getClientDatabase() - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandler
-
Gets the
JnlpClientDatabase
. - getCloseCause() - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Gets the reason for the channel being closed if available.
- getCloseCause() - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Returns Exception with stacktrace of the command, which invoked the buffer close.
- getCloseRequestCause() - Method in class hudson.remoting.Channel
-
Gets cause of the close request.
- getCommunicationProtocolName() - Static method in class hudson.remoting.Launcher
-
Get the name of the communication protocol used in the Launcher.
- getCreationStackTrace() - Method in class hudson.remoting.Command
-
Obtains a diagnostic stack trace recording the point at which the command was created.
- getCredentials() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- getDecorators() - Method in class hudson.remoting.ChannelBuilder
- getDefaultLocation() - Method in enum org.jenkinsci.remoting.engine.WorkDirManager.DirType
- getDefaultMetaVariable() - Method in class org.jenkinsci.remoting.DurationOptionHandler
- getDelegate() - Method in class org.jenkinsci.remoting.protocol.cert.DelegatingX509ExtendedTrustManager
-
Gets the current delegate.
- getDiagnoseFailure() - Method in exception hudson.remoting.DiagnosedStreamCorruptionException
- getDigitAt(int) - Method in class org.jenkinsci.remoting.util.VersionNumber
-
Returns a digit (numeric component) by its position.
- getException() - Method in class hudson.remoting.Response
-
Gets the exception thrown by the response.
- getExecutors() - Method in class hudson.remoting.ChannelBuilder
- getExecutorServiceDisplayName() - Method in exception org.jenkinsci.remoting.util.ExecutorServiceUtils.ExecutionRejectedException
- getHandshakingTimeout() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
Gets this
ProtocolStack
's handshaking timeout. - getHandshakingUnits() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
Gets the
TimeUnit
ofProtocolStack.getHandshakingTimeout()
. - getHeaderStream() - Method in class hudson.remoting.ChannelBuilder
- getHighAddress() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
-
Gets the high address as a dotted IP address.
- getHost() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
-
Gets the hostname.
- getHudsonUrl() - Method in class hudson.remoting.Engine
-
Provides Jenkins URL if available.
- getIdentity(String) - Method in class org.jenkinsci.remoting.engine.JnlpEndpointResolver
- getIn() - Method in class hudson.remoting.Pipe
-
Gets the reading end of the pipe.
- getInfo() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils
-
Gets a
SubnetUtils.SubnetInfo
instance that contains subnet-specific statistics - getInputStream() - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Wraps the reader end of it to
InputStream
- getInstance() - Static method in class org.jenkinsci.remoting.engine.WorkDirManager
-
Retrieves the instance of the
WorkDirManager
. - getInstance() - Static method in class org.jenkinsci.remoting.org.apache.commons.validator.routines.InetAddressValidator
-
Returns the singleton instance of this validator.
- getIoHub() - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
Gets the
IOHub
that we are using. - getJarCache() - Method in class hudson.remoting.Channel
-
If this channel is built with jar file caching, return the object that manages this cache.
- getJarCache() - Method in class hudson.remoting.ChannelBuilder
-
Gets the JAR Cache storage.
- getJarLoader(Channel) - Method in class hudson.remoting.JarCacheSupport
- getLastHeard() - Method in class hudson.remoting.Channel
-
TODO: this is not safe against clock skew and is called from jenkins core (and potentially plugins)
- getLocation(WorkDirManager.DirType) - Method in class org.jenkinsci.remoting.engine.WorkDirManager
- getLocationPath(WorkDirManager.DirType) - Method in class org.jenkinsci.remoting.engine.WorkDirManager
-
Get
Path
of the directory. - getLoggingConfigFile() - Method in class org.jenkinsci.remoting.engine.WorkDirManager
-
Gets path to the property file with JUL settings.
- getLowAddress() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
-
Gets the low address as a dotted IP address.
- getMessage() - Method in exception hudson.remoting.ClassFilter.ClassFilterException
-
Deprecated.
- getMessage() - Method in exception org.jenkinsci.remoting.ChannelStateException
- getMode() - Method in class hudson.remoting.ChannelBuilder
- getName() - Method in class hudson.remoting.Channel
- getName() - Method in class hudson.remoting.ChannelBuilder
- getName() - Method in class org.jenkinsci.remoting.engine.JnlpProtocol4Handler
-
Get the name of the protocol.
- getName() - Method in class org.jenkinsci.remoting.engine.JnlpProtocol4ProxyHandler
- getName() - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandler
-
Get the name of the protocol.
- getName() - Method in enum org.jenkinsci.remoting.engine.WorkDirManager.DirType
- getName() - Method in class org.jenkinsci.remoting.Role
-
Gets a human readable name of this role.
- getNetmask() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
- getNetworkAddress() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
- getNext() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils
- getNextAddress() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
- getOpenChannelOrFail() - Method in interface hudson.remoting.Callable
-
Gets an open channel, which is ready to accept commands.
- getOut() - Method in class hudson.remoting.Pipe
-
Gets the writing end of the pipe.
- getOutputStream() - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Wraps writer end of it to
OutputStream
. - getPattern() - Method in exception hudson.remoting.ClassFilter.ClassFilterException
-
Deprecated.
- getPort() - Method in interface hudson.remoting.forward.ListeningPort
-
TCP/IP port that is listening.
- getPort() - Method in class hudson.remoting.forward.PortForwarder
-
Deprecated.
- getPort() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
-
Gets the port.
- getPrevious() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils
- getPreviousAddress() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
- getProperties() - Method in class hudson.remoting.ChannelBuilder
- getProperties() - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Gets the connection properties.
- getProperty(ChannelProperty<T>) - Method in class hudson.remoting.Channel
- getProperty(Object) - Method in class hudson.remoting.Channel
-
Gets the application specific property set by
Channel.setProperty(Object, Object)
. - getProperty(String) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Gets the named connection property.
- getProtocolName() - Method in class hudson.remoting.Engine
-
Get the name of the communication protocol used in this Engine instance.
- getProtocols() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
-
Gets the supported protocols if available.
- getProxyCredentials() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- getPublicKey() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
-
Gets the
InstanceIdentity.getPublic()
if available. - getReadAhead() - Method in exception hudson.remoting.DiagnosedStreamCorruptionException
- getReadBack() - Method in exception hudson.remoting.DiagnosedStreamCorruptionException
- getRemoteCapability() - Method in class hudson.remoting.CommandTransport
-
Abstraction of the connection hand-shaking.
- getRemoteEndpointDescription() - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Description of the remote endpoint to which
JnlpConnectionState.getSocket()
is connected, if using an actual socket and it is actually connected. - getRemoteProperty(ChannelProperty<T>) - Method in class hudson.remoting.Channel
- getRemoteProperty(Object) - Method in class hudson.remoting.Channel
-
Gets the property set on the remote peer.
- getRequest() - Method in class hudson.remoting.Response
-
Obtains the matching request.
- getReturnValue() - Method in class hudson.remoting.Response
-
Gets the return value of the response.
- getRunnableDisplayName() - Method in exception org.jenkinsci.remoting.util.ExecutorServiceUtils.ExecutionRejectedException
- getSecretOf(String) - Method in class org.jenkinsci.remoting.engine.JnlpClientDatabase
-
Gets the secret for the supplied client name.
- getSelector() - Method in class org.jenkinsci.remoting.nio.NioChannelHub
- getSelector() - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Returns the
Selector
. - getSenderCloseCause() - Method in class hudson.remoting.Channel
-
Get why the sender side of the channel has been closed.
- getServiceUrl() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
-
Retrieves URL of the web service providing the remoting endpoint.
- getSocket() - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Gets the socket that the connection is on.
- getSslSocketFactory() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- getStash(Class<S>) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Retrieves the previously stashed state.
- getTotalTime() - Method in class hudson.remoting.Response
-
Gets the total time taken on the local side to send the request and receive the response.
- getTunnel() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- getUnderlyingOutput() - Method in class hudson.remoting.Channel
-
Deprecated.Future version of the remoting module may add other modes of creating channel that doesn't involve stream pair. Therefore, we aren't committing to this method. This method isn't a part of the committed API of the channel class.
- getUTF8(ByteBuffer) - Static method in class org.jenkinsci.remoting.util.ByteBufferUtils
-
Read from the source buffer a string that has been encoded in UTF-8 and prefixed by a two byte length.
- getVersion() - Static method in class hudson.remoting.Util
- GREEDY - Enum constant in enum hudson.remoting.RemoteInputStream.Flag
-
Set this flag to greedily drain the input stream wrapped in
RemoteInputStream
and send data to the other side.
H
- handle(byte[]) - Method in interface hudson.remoting.AbstractByteArrayCommandTransport.ByteArrayReceiver
-
Notifies the
Channel
that the transport has received a new block. - handle(Command) - Method in interface hudson.remoting.CommandTransport.CommandReceiver
-
Notifies the channel that a new
Command
was received from the other side. - handle(Socket, Map<String, String>, List<? extends JnlpConnectionStateListener>) - Method in class org.jenkinsci.remoting.engine.JnlpProtocol4Handler
-
Handles an incoming client connection on the supplied socket.
- handle(Socket, Map<String, String>, List<? extends JnlpConnectionStateListener>) - Method in class org.jenkinsci.remoting.engine.JnlpProtocol4ProxyHandler
- handle(Socket, Map<String, String>, List<? extends JnlpConnectionStateListener>) - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandler
-
Handles an incoming client connection on the supplied socket.
- handle(Socket, Map<String, String>, JnlpConnectionStateListener...) - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandler
-
Handles an incoming client connection on the supplied socket.
- handlers() - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandlerFactory
-
Creates the list of
JnlpProtocolHandler
instances that are available with the current configuration. - hashCode() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
- hashCode() - Method in class org.jenkinsci.remoting.protocol.IOHub
- hashCode() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
- hashCode() - Method in class org.jenkinsci.remoting.Role
- hashCode() - Method in class org.jenkinsci.remoting.util.VersionNumber
- hasMimicException() - Method in class hudson.remoting.Capability
-
Deprecated.no longer used
- hasRemaining() - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
Tells whether there are any bytes between the current read index and the write index.
- hasRemaining(int) - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
Tells whether there are any bytes between the current read index and the write index.
- headlessMode - Variable in class hudson.remoting.Launcher
-
Deprecated.removed without replacement
- HexDump - Class in hudson.remoting
- HexDump() - Constructor for class hudson.remoting.HexDump
- hudson.remoting - package hudson.remoting
-
Remoting infrastructure for Hudson.
- hudson.remoting.forward - package hudson.remoting.forward
-
TCP port forwarding over
hudson.remoting
. - hudson.remoting.jnlp - package hudson.remoting.jnlp
-
Code for launching the remote agent through JNLP.
I
- IDENTITY_PROVED - Enum constant in enum org.jenkinsci.remoting.engine.JnlpClientDatabase.ValidationResult
-
The certificate is valid and proven to originate from the named client, skip secret validation.
- ignore() - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Signals that the current
JnlpConnectionStateListener
is not interested in this event any more. - in(Socket) - Static method in class hudson.remoting.SocketChannelStream
- in(SocketChannel) - Static method in class hudson.remoting.SocketChannelStream
- InetAddressValidator - Class in org.jenkinsci.remoting.org.apache.commons.validator.routines
-
InetAddress validation and conversion routines (
InetAddress
). - InetAddressValidator() - Constructor for class org.jenkinsci.remoting.org.apache.commons.validator.routines.InetAddressValidator
- init(ProtocolStack.Ptr) - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
Initializes the layer with its
ProtocolStack.Ptr
. - init(ProtocolStack.Ptr) - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
Initializes the layer with its
ProtocolStack.Ptr
. - init(ProtocolStack.Ptr) - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
Initializes the layer with its
ProtocolStack.Ptr
. - init(ProtocolStack.Ptr) - Method in interface org.jenkinsci.remoting.protocol.ProtocolLayer
-
Initializes the layer with its
ProtocolStack.Ptr
. - InitializeJarCacheMain - Class in hudson.remoting
-
Takes a directory of jars and populates them into the given jar cache directory with the correct hash names.
- InitializeJarCacheMain() - Constructor for class hudson.remoting.InitializeJarCacheMain
- initializeWorkDir(File, String, boolean) - Method in class org.jenkinsci.remoting.engine.WorkDirManager
-
Initializes the working directory for the agent.
- instanceIdentity - Variable in class hudson.remoting.Launcher
-
The controller's instance identity.
- INTERNAL_DIR - Enum constant in enum org.jenkinsci.remoting.engine.WorkDirManager.DirType
-
Directory, which stores internal data of the Remoting layer itself.
- internalDir - Variable in class hudson.remoting.Engine
-
Specifies a directory within
Engine.workDir
, which stores all the remoting-internal files. - internalDir - Variable in class hudson.remoting.Launcher
-
Specifies a directory within
Launcher.workDir
, which stores all the remoting-internal files. - INVALID - Enum constant in enum org.jenkinsci.remoting.engine.JnlpClientDatabase.ValidationResult
-
The certificate is invalid, reject the connection.
- IOHub - Class in org.jenkinsci.remoting.protocol
-
A hub for performing I/O.
- IOHubReadyListener - Interface in org.jenkinsci.remoting.protocol
-
Interface for receiving callbacks when a
SelectableChannel
is ready on its registeredSelectionKey.interestOps()
. - IOHubRegistrationCallback - Interface in org.jenkinsci.remoting.protocol
-
Callback to be notified when a call to
IOHub.register(SelectableChannel, IOHubReadyListener, boolean, boolean, boolean, boolean, IOHubRegistrationCallback)
has completed registration. - IOUtils - Class in org.jenkinsci.remoting.util
-
I/O related utility methods.
- IReadResolve - Interface in hudson.remoting
-
Used internally in the remoting code to have the proxy object implement readResolve.
- isArbitraryCallableAllowed() - Method in class hudson.remoting.Channel
- isArbitraryCallableAllowed() - Method in class hudson.remoting.ChannelBuilder
- isBlacklisted(Class<?>) - Method in class hudson.remoting.ClassFilter
-
Whether a given class should be blocked, after having loaded that class.
- isBlacklisted(String) - Method in class hudson.remoting.ClassFilter
-
Whether a given class should be blocked, before even attempting to load that class.
- isCancelled() - Method in class hudson.remoting.AsyncFutureImpl
- isCancelled() - Method in class org.jenkinsci.remoting.util.SettableFuture
- isClosed() - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Returns true if the write end of the buffer is already closed, and that no more new data will arrive.
- isClosedChannelException(Throwable) - Static method in class hudson.remoting.Channel
-
Checks whether an exception seems to be related to a closed channel.
- isClosingOrClosed() - Method in class hudson.remoting.Channel
-
Returns
true
if the channel is either in the process of closing down or has closed down. - isDisableHttpsCertValidation() - Method in class hudson.remoting.Engine
-
Determines if JNLPAgentEndpointResolver will not perform certificate validation in the HTTPs mode.
- isDisableHttpsCertValidation() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
-
Determine if certificate checking should be ignored for JNLP endpoint
- isDone() - Method in class hudson.remoting.AsyncFutureImpl
- isDone() - Method in class org.jenkinsci.remoting.util.SettableFuture
- isEnabled() - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandler
-
Whether this protocol is enabled for connecting.
- isFatal() - Method in exception org.jenkinsci.remoting.util.ExecutorServiceUtils.ExecutionRejectedException
-
Checks if the issue is fatal.
- isInClosed() - Method in class hudson.remoting.Channel
-
If the receiving end of the channel is closed (that is, if we are guaranteed to receive nothing further), this method returns true.
- isInclusiveHostCount() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils
-
Tests if the return value of
SubnetUtils.SubnetInfo.getAddressCount()
includes the network and broadcast addresses. - isInRange(int) - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
-
Tests if the parameter
address
is in the range of usable endpoint addresses for this subnet. - isInRange(String) - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
-
Tests if the parameter
address
is in the range of usable endpoint addresses for this subnet. - isKeepAlive() - Method in class hudson.remoting.Engine
-
Returns
true
if and only if the socket to the controller will haveSocket.setKeepAlive(boolean)
set. - isLast(int) - Static method in class hudson.remoting.ChunkHeader
- isNewerThan(VersionNumber) - Method in class org.jenkinsci.remoting.util.VersionNumber
- isNewerThanOrEqualTo(VersionNumber) - Method in class org.jenkinsci.remoting.util.VersionNumber
- ISO8601 - Enum constant in enum org.jenkinsci.remoting.util.DurationStyle
-
ISO-8601 formatting.
- isOlderThan(VersionNumber) - Method in class org.jenkinsci.remoting.util.VersionNumber
- isOlderThanOrEqualTo(VersionNumber) - Method in class org.jenkinsci.remoting.util.VersionNumber
- isOpen() - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Check if the hub is open.
- isOutClosed() - Method in class hudson.remoting.Channel
-
Is the sender side of the transport already closed?
- isPreferNio() - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandler
-
Gets the preference for Non-Blocking I/O
- isPresentOnRemote(Checksum) - Method in interface hudson.remoting.JarLoader
-
Used by the local side to see if the jar file of the given checksum is already present on the other side.
- isProtocolSupported(String) - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
-
Checks if the named protocol is supported.
- isReadOpen() - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
SPI: Implementations of
ApplicationLayer
must ensure this method either returnstrue
while the application specific API instance (ApplicationLayer.get()
) is accepting data viaApplicationLayer.onRead(ByteBuffer)
or returnsfalse
once it is permanently closed to incoming data. - isReadOpen() - Method in class org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer
-
SPI: Implementations of
ApplicationLayer
must ensure this method either returnstrue
while the application specific API instance (ApplicationLayer.get()
) is accepting data viaApplicationLayer.onRead(ByteBuffer)
or returnsfalse
once it is permanently closed to incoming data. - isRecvOpen() - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
Tracks if this layer is accepting received data via
ProtocolLayer.Recv.onRecv(ByteBuffer)
. - isRecvOpen() - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
Tracks if this layer is accepting received data via
ProtocolLayer.Recv.onRecv(ByteBuffer)
. - isRecvOpen() - Method in class org.jenkinsci.remoting.protocol.impl.AckFilterLayer
-
Tracks if this layer is accepting received data via
ProtocolLayer.Recv.onRecv(ByteBuffer)
. - isRecvOpen() - Method in class org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer
-
Tracks if this layer is accepting received data via
ProtocolLayer.Recv.onRecv(ByteBuffer)
. - isRecvOpen() - Method in class org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer
-
Tracks if this layer is accepting received data via
ProtocolLayer.Recv.onRecv(ByteBuffer)
. - isRecvOpen() - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
SPI: Check if the recipient is open.
- isRecvOpen() - Method in interface org.jenkinsci.remoting.protocol.ProtocolLayer.Recv
-
Tracks if this layer is accepting received data via
ProtocolLayer.Recv.onRecv(ByteBuffer)
. - isRecvOpen() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Ptr
-
Checks if the next layer up the stack is open to receive data.
- isRemoteClassLoadingAllowed() - Method in class hudson.remoting.Channel
- isRemoteClassLoadingAllowed() - Method in class hudson.remoting.ChannelBuilder
- isRestricted() - Method in class hudson.remoting.Channel
-
Deprecated.Use methods like
Channel.isRemoteClassLoadingAllowed()
andChannel.isArbitraryCallableAllowed()
to test individual features. - isRestricted() - Method in class hudson.remoting.ChannelBuilder
-
Deprecated.Test individual features instead.
- isSendOpen() - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
Tracks if this layer is submitting data to be sent via
ProtocolLayer.Send.doSend(ByteBuffer)
. - isSendOpen() - Method in class org.jenkinsci.remoting.protocol.impl.BIONetworkLayer
-
Tracks if this layer is submitting data to be sent via
ProtocolLayer.Send.doSend(ByteBuffer)
. - isSendOpen() - Method in class org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer
-
Tracks if this layer is submitting data to be sent via
ProtocolLayer.Send.doSend(ByteBuffer)
. - isSendOpen() - Method in class org.jenkinsci.remoting.protocol.impl.NIONetworkLayer
-
Tracks if this layer is submitting data to be sent via
ProtocolLayer.Send.doSend(ByteBuffer)
. - isSendOpen() - Method in class org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer
-
Tracks if this layer is submitting data to be sent via
ProtocolLayer.Send.doSend(ByteBuffer)
. - isSendOpen() - Method in interface org.jenkinsci.remoting.protocol.ProtocolLayer.Send
-
Tracks if this layer is submitting data to be sent via
ProtocolLayer.Send.doSend(ByteBuffer)
. - isSendOpen() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Ptr
-
Checks if the next layer down the stack is open to send data.
- isShutdown() - Method in class hudson.remoting.AtmostOneThreadExecutor
- isShutdown() - Method in class hudson.remoting.SingleLaneExecutorService
- isSwapped() - Method in class hudson.remoting.StandardOutputStream
- isTerminated() - Method in class hudson.remoting.AtmostOneThreadExecutor
- isTerminated() - Method in class hudson.remoting.SingleLaneExecutorService
- isTrusted(PublicKey) - Method in class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
-
Check if a
PublicKey
is trusted. - isValid(String) - Method in class org.jenkinsci.remoting.org.apache.commons.validator.routines.InetAddressValidator
-
Checks if the specified string is a valid IP address.
- isValid(String) - Method in class org.jenkinsci.remoting.org.apache.commons.validator.routines.RegexValidator
-
Validate a value against the set of regular expressions.
- isValidInet4Address(String) - Method in class org.jenkinsci.remoting.org.apache.commons.validator.routines.InetAddressValidator
-
Validates an IPv4 address.
- isValidInet6Address(String) - Method in class org.jenkinsci.remoting.org.apache.commons.validator.routines.InetAddressValidator
-
Validates an IPv6 address.
- isWindows() - Static method in class hudson.remoting.Launcher
- isWriteOpen() - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
SPI: Implementations of
ApplicationLayer
should use method to detect if theProtocolStack
is open for writing viaApplicationLayer.write(ByteBuffer)
or has been closed.
J
- JAR_CACHE_DIR - Enum constant in enum org.jenkinsci.remoting.engine.WorkDirManager.DirType
-
Directory, which stores the JAR Cache.
- jarCache - Variable in class hudson.remoting.Launcher
- JarCache - Class in hudson.remoting
-
Jar file cache.
- JarCache() - Constructor for class hudson.remoting.JarCache
- JarCacheSupport - Class in hudson.remoting
-
Default partial implementation of
JarCache
. - JarCacheSupport() - Constructor for class hudson.remoting.JarCacheSupport
- jarFile(Class<?>) - Static method in class hudson.remoting.Which
-
Locates the jar file that contains the given class.
- jarFile(URL) - Static method in class hudson.remoting.Which
- JarLoader - Interface in hudson.remoting
-
Remoting interface to allow the other side to retrieve a jar file from the checksum advertised in
ResourceImageInJar
. - jarURL(Class<?>) - Static method in class hudson.remoting.Which
-
Deprecated.
- JarURLValidator - Interface in hudson.remoting
-
Deprecated.Do not use, intended as a temporary workaround only.
- Jnlp4ConnectionState - Class in org.jenkinsci.remoting.engine
-
Represents the connection state for a
JnlpProtocol4Handler
connection. - Jnlp4ConnectionState(Socket, List<? extends JnlpConnectionStateListener>) - Constructor for class org.jenkinsci.remoting.engine.Jnlp4ConnectionState
-
Constructor.
- JnlpAgentEndpoint - Class in org.jenkinsci.remoting.engine
-
Represents a
TcpSlaveAgentListener
endpoint details. - JnlpAgentEndpoint(String, int, RSAPublicKey, Set<String>) - Constructor for class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
-
Deprecated.
- JnlpAgentEndpoint(String, int, RSAPublicKey, Set<String>, URL) - Constructor for class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
-
Deprecated.
- JnlpAgentEndpoint(String, int, RSAPublicKey, Set<String>, URL, String) - Constructor for class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
-
Constructor for a remote
Jenkins
instance. - JnlpAgentEndpointConfigurator - Class in org.jenkinsci.remoting.engine
- JnlpAgentEndpointConfigurator(String, String, Set<String>, String) - Constructor for class org.jenkinsci.remoting.engine.JnlpAgentEndpointConfigurator
- JnlpAgentEndpointResolver - Class in org.jenkinsci.remoting.engine
- JnlpAgentEndpointResolver(List<String>, String, String, String, String, SSLSocketFactory, boolean, Duration) - Constructor for class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- JnlpClientDatabase - Class in org.jenkinsci.remoting.engine
-
Represents a database of clients that are permitted to connect.
- JnlpClientDatabase() - Constructor for class org.jenkinsci.remoting.engine.JnlpClientDatabase
- JnlpClientDatabase.ValidationResult - Enum in org.jenkinsci.remoting.engine
-
The types of certificate validation results.
- JnlpConnectionState - Class in org.jenkinsci.remoting.engine
-
Represents the state of a connection event.
- JnlpConnectionState(Socket, List<? extends JnlpConnectionStateListener>) - Constructor for class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Constructor.
- JnlpConnectionState.ListenerState - Interface in org.jenkinsci.remoting.engine
-
Marker base class for all stashed state data.
- JnlpConnectionStateListener - Class in org.jenkinsci.remoting.engine
-
A listener for connection state changes.
- JnlpConnectionStateListener() - Constructor for class org.jenkinsci.remoting.engine.JnlpConnectionStateListener
- JnlpEndpointResolver - Class in org.jenkinsci.remoting.engine
- JnlpEndpointResolver() - Constructor for class org.jenkinsci.remoting.engine.JnlpEndpointResolver
- JnlpProtocol4Handler - Class in org.jenkinsci.remoting.engine
-
Implements the JNLP4-connect protocol.
- JnlpProtocol4Handler(JnlpClientDatabase, ExecutorService, IOHub, SSLContext, boolean, boolean) - Constructor for class org.jenkinsci.remoting.engine.JnlpProtocol4Handler
-
Constructor.
- JnlpProtocol4ProxyHandler - Class in org.jenkinsci.remoting.engine
-
Passes
JnlpConnectionState.CLIENT_NAME_KEY
using an HTTP-style header and lets the server decide how to handle that. - JnlpProtocol4ProxyHandler(JnlpProtocol4Handler) - Constructor for class org.jenkinsci.remoting.engine.JnlpProtocol4ProxyHandler
- JnlpProtocolHandler<STATE extends JnlpConnectionState> - Class in org.jenkinsci.remoting.engine
-
Consolidates the protocol handling for both the server and the client ends of the connection.
- JnlpProtocolHandlerFactory - Class in org.jenkinsci.remoting.engine
-
Builds a set of
JnlpProtocolHandler
instances from the supplied preconditions. - JnlpProtocolHandlerFactory(ExecutorService) - Constructor for class org.jenkinsci.remoting.engine.JnlpProtocolHandlerFactory
-
Constructor.
- join() - Method in class hudson.remoting.Channel
-
Waits for this
Channel
to be closed down. - join() - Method in class hudson.remoting.LocalChannel
- join() - Method in interface hudson.remoting.VirtualChannel
-
Waits for this
Channel
to be closed down. - join(long) - Method in class hudson.remoting.Channel
-
Waits for this
Channel
to be closed down, but only up the given milliseconds. - join(long) - Method in class hudson.remoting.LocalChannel
- join(long) - Method in interface hudson.remoting.VirtualChannel
-
Waits for this
Channel
to be closed down, but only up the given milliseconds. - JUL_CONFIG_FILE_SYSTEM_PROPERTY_NAME - Static variable in class org.jenkinsci.remoting.engine.WorkDirManager
-
Name of the standard System Property, which points to the
java.util.logging
config file.
K
- KEY - Static variable in class hudson.remoting.Capability
-
Key usable as a WebSocket HTTP header to negotiate capabilities.
- KeyUtils - Class in org.jenkinsci.remoting.util
-
Utility methods to help working with
Key
instances.
L
- Launcher - Class in hudson.remoting
-
Entry point for running a
Channel
. - Launcher() - Constructor for class hudson.remoting.Launcher
- length(int) - Static method in class hudson.remoting.ChunkHeader
- ListenableFuture<V> - Interface in org.jenkinsci.remoting.util
-
Extend
Future
with the capability to accept completion callbacks. - listener - Variable in class hudson.remoting.Engine
-
Deprecated.Use
Engine.events
. - listener(ProtocolStack.Listener) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Builder
-
Register a
ProtocolStack.Listener
for theProtocolStack
. - Listener() - Constructor for class hudson.remoting.Channel.Listener
- listeners - Variable in class hudson.remoting.EngineListenerSplitter
- ListeningPort - Interface in hudson.remoting.forward
-
Represents a listening port that forwards a connection via port forwarding.
- LocalChannel - Class in hudson.remoting
-
VirtualChannel
that performs computation on the local JVM. - LocalChannel(ExecutorService) - Constructor for class hudson.remoting.LocalChannel
- LoggingChannelListener - Class in org.jenkinsci.remoting.util
-
Channel listener which merely formats events to a logger.
- LoggingChannelListener(Logger, Level) - Constructor for class org.jenkinsci.remoting.util.LoggingChannelListener
- loggingConfigFilePath - Variable in class hudson.remoting.Launcher
-
Specified location of the property file with JUL settings.
- LOGS_DIR - Enum constant in enum org.jenkinsci.remoting.engine.WorkDirManager.DirType
-
Directory, which stores logs.
- lookInCache(Channel, long, long) - Method in class hudson.remoting.FileSystemJarCache
- lookInCache(Channel, long, long) - Method in class hudson.remoting.JarCacheSupport
-
Look up the local cache and return URL if found.
M
- main(InputStream, OutputStream) - Static method in class hudson.remoting.Launcher
- main(InputStream, OutputStream, Channel.Mode) - Static method in class hudson.remoting.Launcher
- main(InputStream, OutputStream, Channel.Mode, boolean) - Static method in class hudson.remoting.Launcher
- main(InputStream, OutputStream, Channel.Mode, boolean, JarCache) - Static method in class hudson.remoting.Launcher
- main(String[]) - Static method in class hudson.remoting.InitializeJarCacheMain
-
Requires 2 parameters: The source jar directory.
- main(String...) - Static method in class hudson.remoting.jnlp.Main
-
Deprecated.
- main(String...) - Static method in class hudson.remoting.Launcher
- Main - Class in hudson.remoting.jnlp
-
Deprecated.use
Launcher
- Main() - Constructor for class hudson.remoting.jnlp.Main
-
Deprecated.
- makeTransport(InputStream, OutputStream, Channel.Mode, Capability) - Method in class hudson.remoting.ChannelBuilder
-
Instantiate a transport.
- MANUAL_UNEXPORT - Enum constant in enum hudson.remoting.RemoteInputStream.Flag
-
If a Callable captures a
RemoteInputStream
on its way to the other wide,RemoteInputStream
gets unexported automatically when the callable returns. - mark(int) - Method in class hudson.remoting.FastPipedInputStream
- mark(int) - Method in class hudson.remoting.RemoteInputStream
- mark(int) - Method in class org.jenkinsci.remoting.util.ByteBufferQueueInputStream
- mark(int) - Method in class org.jenkinsci.remoting.util.FastByteBufferQueueInputStream
- markSupported() - Method in class hudson.remoting.FastPipedInputStream
- markSupported() - Method in class hudson.remoting.RemoteInputStream
- markSupported() - Method in class org.jenkinsci.remoting.util.ByteBufferQueueInputStream
- markSupported() - Method in class org.jenkinsci.remoting.util.FastByteBufferQueueInputStream
- match(String) - Method in class org.jenkinsci.remoting.org.apache.commons.validator.routines.RegexValidator
-
Validate a value against the set of regular expressions returning the array of matched groups.
- matcher(String) - Method in enum org.jenkinsci.remoting.util.DurationStyle
- matches(String) - Method in enum org.jenkinsci.remoting.util.DurationStyle
- mode - Variable in class hudson.remoting.Launcher
N
- name - Variable in class hudson.remoting.Launcher
- name() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
The name of this stack to use in logging.
- name(String) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
Updates the name of this stack to use in logging.
- NAME - Static variable in class org.jenkinsci.remoting.engine.JnlpProtocol4ProxyHandler
- named(String) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Builder
-
Provide a custom name for the
ProtocolStack
. - NamingThreadFactory - Class in hudson.remoting
-
Thread factory that sets thread name so we know who is responsible for so many threads being created.
- NamingThreadFactory(ThreadFactory, String) - Constructor for class hudson.remoting.NamingThreadFactory
-
Creates a new naming factory.
- negotiate(InputStream, OutputStream) - Method in class hudson.remoting.ChannelBuilder
-
Performs hand-shaking and creates a
CommandTransport
. - NEGOTIATE - Enum constant in enum hudson.remoting.Channel.Mode
-
Let the remote peer decide the transmission mode and follow that.
- NetworkLayer - Class in org.jenkinsci.remoting.protocol
-
The lowest
ProtocolLayer
in aProtocolStack
. - NetworkLayer(IOHub) - Constructor for class org.jenkinsci.remoting.protocol.NetworkLayer
-
Constructor.
- newByteBuffer() - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
Creates a new byte buffer matched to the queue's current buffer size.
- newByteBufferQueue() - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
SPI: Creates a new
ByteBuffer
optimally sized for network read/write operations. - newChannelBuilder(String, ExecutorService) - Method in class org.jenkinsci.remoting.nio.NioChannelHub
-
Returns a
ChannelBuilder
that will add a channel to this hub. - newThread(Runnable) - Method in class hudson.remoting.DaemonThreadFactory
- newThread(Runnable) - Method in class hudson.remoting.NamingThreadFactory
- next() - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
Accessor for the next layers in the
ProtocolStack
. - NioChannelBuilder - Class in org.jenkinsci.remoting.nio
-
ChannelBuilder
subtype forNioChannelHub
. - NioChannelHub - Class in org.jenkinsci.remoting.nio
-
Switch board of multiple
Channel
s through NIO select. - NioChannelHub(ExecutorService) - Constructor for class org.jenkinsci.remoting.nio.NioChannelHub
- NIONetworkLayer - Class in org.jenkinsci.remoting.protocol.impl
- NIONetworkLayer(IOHub, ReadableByteChannel, WritableByteChannel) - Constructor for class org.jenkinsci.remoting.protocol.impl.NIONetworkLayer
-
Constructor.
- noCertificateCheck - Variable in class hudson.remoting.Launcher
-
Disables HTTPs Certificate validation of the server when using
JnlpAgentEndpointResolver
. - NoCheckHostnameVerifier - Class in org.jenkinsci.remoting.util.https
-
Hostname verifier, which accepts any hostname.
- NoCheckHostnameVerifier() - Constructor for class org.jenkinsci.remoting.util.https.NoCheckHostnameVerifier
- NoCheckTrustManager - Class in org.jenkinsci.remoting.util.https
-
X509TrustManager
that performs no check at all. - NoCheckTrustManager() - Constructor for class org.jenkinsci.remoting.util.https.NoCheckTrustManager
- noKeepAlive - Variable in class hudson.remoting.Launcher
- NONE - Static variable in class hudson.remoting.Capability
- NONE - Static variable in class hudson.remoting.ClassFilter
-
No filtering whatsoever.
- NoProxyEvaluator - Class in hudson.remoting
- noReconnect - Variable in class hudson.remoting.Launcher
- noReconnectAfter - Variable in class hudson.remoting.Launcher
- NOT_GREEDY - Enum constant in enum hudson.remoting.RemoteInputStream.Flag
-
A dummy flag to make it explicit that the particular use case prevents you from setting
RemoteInputStream.Flag.GREEDY
flag. - notifyJarPresence(long[]) - Method in interface hudson.remoting.JarLoader
- notifyJarPresence(long, long) - Method in interface hudson.remoting.JarLoader
-
Called by the other side to notify that they already own the jar file of the given checksum.
O
- ObjectInputStreamEx - Class in hudson.remoting
-
ObjectInputStream
that uses a specificClassLoader
and can use aClassFilter
to limit what classes can be loaded. - ObjectInputStreamEx(InputStream, ClassLoader) - Constructor for class hudson.remoting.ObjectInputStreamEx
-
Deprecated.as of 2.53
- ObjectInputStreamEx(InputStream, ClassLoader, ClassFilter) - Constructor for class hudson.remoting.ObjectInputStreamEx
- on(NetworkLayer) - Static method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
Create a
ProtocolStack
on the suppliedNetworkLayer
. - onChannel(Channel) - Method in interface org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.Listener
-
Called when the
Channel
has been constructed. - onClosed(Channel, IOException) - Method in class hudson.remoting.Channel.Listener
-
When the channel was closed normally or abnormally due to an error.
- onClosed(Channel, IOException) - Method in class org.jenkinsci.remoting.util.LoggingChannelListener
- onClosed(ProtocolStack<?>, IOException) - Method in interface org.jenkinsci.remoting.protocol.ProtocolStack.Listener
-
When the stack was closed normally or abnormally due to an error.
- onClosedChannel(ClosedChannelException) - Method in interface org.jenkinsci.remoting.protocol.IOHubRegistrationCallback
-
Notification callback that the
SelectableChannel
was closed by the time the registration request was processed. - onDead() - Method in class hudson.remoting.PingThread
-
Deprecated.as of 2.9 Override
PingThread.onDead(Throwable)
to receive the cause, but also override this method and provide a fallback behaviour to be backward compatible with earlier version of remoting library. - onDead(Throwable) - Method in class hudson.remoting.PingThread
-
Called when ping failed.
- onDisconnect() - Method in interface hudson.remoting.EngineListener
-
Called when a connection is terminated.
- onDisconnect() - Method in class hudson.remoting.EngineListenerAdapter
- onDisconnect() - Method in class hudson.remoting.EngineListenerSplitter
- onHandshakeCompleted(SSLSession) - Method in interface org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.Listener
-
Callback when the handshake is completed.
- onJar(Channel, File) - Method in class hudson.remoting.Channel.Listener
-
Called when a JAR file is being sent to the remote side.
- onJar(Channel, File) - Method in class org.jenkinsci.remoting.util.LoggingChannelListener
- onRead(Channel, Command, long) - Method in class hudson.remoting.Channel.Listener
-
Called when a command is successfully received by a channel.
- onRead(Channel, Command, long) - Method in class org.jenkinsci.remoting.util.LoggingChannelListener
- onRead(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
SPI: Callback on data being received from the protocol stack.
- onRead(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer
-
SPI: Callback on data being received from the protocol stack.
- onRead(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
SPI: Performed the handling of te actual read from the recipient.
- onReadClosed(IOException) - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
Callback on the lower layer's source of data being closed.
- onReadClosed(IOException) - Method in class org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer
-
Callback on the lower layer's source of data being closed.
- onReceiveHeaders(Map<String, String>) - Method in interface org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.Listener
-
Validate the supplied connection headers from the remote end.
- onReconnect() - Method in interface hudson.remoting.EngineListener
-
Called when a re-connection is about to be attempted.
- onReconnect() - Method in class hudson.remoting.EngineListenerAdapter
- onReconnect() - Method in class hudson.remoting.EngineListenerSplitter
- onRecv(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
Callback on data being received from the lower layer.
- onRecv(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
SPI: Callback on data being received from the lower layer.
- onRecv(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.impl.AckFilterLayer
-
SPI: Callback on data being received from the lower layer.
- onRecv(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.impl.AgentProtocolClientFilterLayer
-
SPI: Callback on data being received from the lower layer.
- onRecv(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer
-
SPI: Callback on data being received from the lower layer.
- onRecv(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer
-
SPI: Callback on data being received from the lower layer.
- onRecv(ByteBuffer) - Method in interface org.jenkinsci.remoting.protocol.ProtocolLayer.Recv
-
Callback on data being received from the lower layer.
- onRecv(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Ptr
-
Each
ProtocolLayer.Recv
should call this method to hand received data up the stack to the nextProtocolLayer
(except for theApplicationLayer
which should eat the data). - onRecvClosed() - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
SPI: Notify that the connection with the recipient is closed.
- onRecvClosed(IOException) - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
Callback on the lower layer's source of data being closed.
- onRecvClosed(IOException) - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
Callback on the lower layer's source of data being closed.
- onRecvClosed(IOException) - Method in class org.jenkinsci.remoting.protocol.impl.AckFilterLayer
-
Callback on the lower layer's source of data being closed.
- onRecvClosed(IOException) - Method in class org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer
-
Callback on the lower layer's source of data being closed.
- onRecvClosed(IOException) - Method in class org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer
-
Callback on the lower layer's source of data being closed.
- onRecvClosed(IOException) - Method in interface org.jenkinsci.remoting.protocol.ProtocolLayer.Recv
-
Callback on the lower layer's source of data being closed.
- onRecvClosed(IOException) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Ptr
-
Notify the next layer up the stack that input has been closed.
- onRegistered(SelectionKey) - Method in interface org.jenkinsci.remoting.protocol.IOHubRegistrationCallback
-
Notification callback that the
SelectableChannel
has been successfully registered. - onResponse(Channel, Request<?, ?>, Response<?, ?>, long) - Method in class hudson.remoting.Channel.Listener
-
Called when a response has been read from a channel.
- onResponse(Channel, Request<?, ?>, Response<?, ?>, long) - Method in class org.jenkinsci.remoting.util.LoggingChannelListener
- onSelected(SelectionKey) - Method in class org.jenkinsci.remoting.nio.NioChannelHub
-
Called when the unknown key registered to the selector is selected.
- onWrite(Channel, Command, long) - Method in class hudson.remoting.Channel.Listener
-
Called when a command is successfully written to a channel.
- onWrite(Channel, Command, long) - Method in class org.jenkinsci.remoting.util.LoggingChannelListener
- open(int) - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
-
Opens a socket connection to the remote endpoint.
- openURLConnection(URL, String, String, String, SSLSocketFactory, HostnameVerifier) - Static method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
-
Gets URL connection.
- org.jenkinsci.remoting - package org.jenkinsci.remoting
- org.jenkinsci.remoting.engine - package org.jenkinsci.remoting.engine
- org.jenkinsci.remoting.nio - package org.jenkinsci.remoting.nio
- org.jenkinsci.remoting.org.apache.commons.net.util - package org.jenkinsci.remoting.org.apache.commons.net.util
- org.jenkinsci.remoting.org.apache.commons.validator.routines - package org.jenkinsci.remoting.org.apache.commons.validator.routines
- org.jenkinsci.remoting.protocol - package org.jenkinsci.remoting.protocol
- org.jenkinsci.remoting.protocol.cert - package org.jenkinsci.remoting.protocol.cert
- org.jenkinsci.remoting.protocol.impl - package org.jenkinsci.remoting.protocol.impl
- org.jenkinsci.remoting.util - package org.jenkinsci.remoting.util
- org.jenkinsci.remoting.util.https - package org.jenkinsci.remoting.util.https
- OURS - Static variable in interface hudson.remoting.JarLoader
- out(Socket) - Static method in class hudson.remoting.SocketChannelStream
- out(SocketChannel) - Static method in class hudson.remoting.SocketChannelStream
P
- pack(int, boolean) - Static method in class hudson.remoting.ChunkHeader
- parse(byte[]) - Static method in class hudson.remoting.ChunkHeader
- parse(byte[], int) - Static method in class hudson.remoting.ChunkHeader
- parse(int, int) - Static method in class hudson.remoting.ChunkHeader
- parse(String) - Method in enum org.jenkinsci.remoting.util.DurationStyle
-
Parse the given value to a duration.
- parse(String, ChronoUnit) - Method in enum org.jenkinsci.remoting.util.DurationStyle
-
Parse the given value to a duration.
- parseArguments(Parameters) - Method in class org.jenkinsci.remoting.DurationOptionHandler
- ParseException(String) - Constructor for exception org.jenkinsci.remoting.protocol.impl.ConnectionHeaders.ParseException
- PathUtils - Class in org.jenkinsci.remoting.util
-
Utilities for
Path
handling. - peek(int, byte[]) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
- peek(int, byte[], int, int) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Peek the specified number of bytes (
len
) at the specified offset in this buffer (offset
) and places it into the specified position (start
) of the array (data
) - peek(ByteBuffer) - Static method in class hudson.remoting.ChunkHeader
- peek(ByteBuffer) - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
- peek(ByteBuffer, int) - Static method in class hudson.remoting.ChunkHeader
- PermanentConnectionRefusalException - Exception in org.jenkinsci.remoting.protocol.impl
-
Deprecated.Does not actually do what it claims; only affects logging levels.
- PermanentConnectionRefusalException() - Constructor for exception org.jenkinsci.remoting.protocol.impl.PermanentConnectionRefusalException
-
Deprecated.
- PermanentConnectionRefusalException(String) - Constructor for exception org.jenkinsci.remoting.protocol.impl.PermanentConnectionRefusalException
-
Deprecated.
- PermanentConnectionRefusalException(String, Object...) - Constructor for exception org.jenkinsci.remoting.protocol.impl.PermanentConnectionRefusalException
-
Deprecated.
- PermanentConnectionRefusalException(String, Throwable) - Constructor for exception org.jenkinsci.remoting.protocol.impl.PermanentConnectionRefusalException
-
Deprecated.
- PermanentConnectionRefusalException(Throwable) - Constructor for exception org.jenkinsci.remoting.protocol.impl.PermanentConnectionRefusalException
-
Deprecated.
- PermanentConnectionRefusalException(Throwable, String, Object...) - Constructor for exception org.jenkinsci.remoting.protocol.impl.PermanentConnectionRefusalException
-
Deprecated.
- pin(Object) - Method in class hudson.remoting.Channel
-
Increase reference count so much to effectively prevent de-allocation.
- pinClassLoader(ClassLoader) - Method in class hudson.remoting.Channel
-
Pin down the exported classloader.
- ping - Variable in class hudson.remoting.Launcher
-
Deprecated.removed without replacement
- PingThread - Class in hudson.remoting
-
Periodically perform a ping.
- PingThread(Channel) - Constructor for class hudson.remoting.PingThread
- PingThread(Channel, long) - Constructor for class hudson.remoting.PingThread
- PingThread(Channel, long, long) - Constructor for class hudson.remoting.PingThread
- Pipe - Class in hudson.remoting
-
Pipe for the remote
Callable
and the local program to talk to each other. - PIPE_WINDOW_SIZE - Static variable in class hudson.remoting.Channel
-
Default pipe window size.
- PortForwarder - Class in hudson.remoting.forward
-
Deprecated.
- PortForwarder(int, Forwarder) - Constructor for class hudson.remoting.forward.PortForwarder
-
Deprecated.
- preloadJar(Callable<?, ?>, Class<?>...) - Method in class hudson.remoting.Channel
-
Preloads jar files on the remote side.
- preloadJar(ClassLoader, Class<?>...) - Method in class hudson.remoting.Channel
- preloadJar(ClassLoader, URL...) - Method in class hudson.remoting.Channel
- print(Duration) - Method in class org.jenkinsci.remoting.DurationOptionHandler
- print(Duration) - Method in enum org.jenkinsci.remoting.util.DurationStyle
-
Print the specified duration.
- print(Duration, ChronoUnit) - Method in enum org.jenkinsci.remoting.util.DurationStyle
-
Print the specified duration using the given unit.
- ProtocolLayer - Interface in org.jenkinsci.remoting.protocol
-
A network
ProtocolStack
consists of a number ofProtocolLayer
s. - ProtocolLayer.Recv - Interface in org.jenkinsci.remoting.protocol
-
Interface to indicate that this layer receives data from lower layers.
- ProtocolLayer.Send - Interface in org.jenkinsci.remoting.protocol
-
Interface to indicate that this layer sends data to lower layers.
- protocols - Variable in class hudson.remoting.Launcher
-
When
Launcher.instanceIdentity
is set, the agent skips connecting via http(s) where it normally obtains the configured protocols. - ProtocolStack<T> - Class in org.jenkinsci.remoting.protocol
-
A stack of
ProtocolLayer
that make a network protocol. - ProtocolStack.Builder - Class in org.jenkinsci.remoting.protocol
-
Builder for
ProtocolStack
instances. - ProtocolStack.Listener - Interface in org.jenkinsci.remoting.protocol
-
Callback "interface" for changes in the state of
ProtocolStack
. - ProtocolStack.Ptr - Class in org.jenkinsci.remoting.protocol
-
Tracks where a
ProtocolLayer
is in theProtocolStack
. - proxyCredentials - Variable in class hudson.remoting.Launcher
- ProxyException - Exception in hudson.remoting
-
Used when the exception thrown by the remoted code cannot be serialized.
- ProxyException(Throwable) - Constructor for exception hudson.remoting.ProxyException
- PublicKeyMatchingX509ExtendedTrustManager - Class in org.jenkinsci.remoting.protocol.cert
-
An
X509ExtendedTrustManager
that trusts any chain where the initial certificate was issued for a specific set of trustedPublicKey
s. - PublicKeyMatchingX509ExtendedTrustManager(boolean, boolean, PublicKey...) - Constructor for class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
-
Creates a
TrustManager
that will only trust certificate chains where the first certificate'sCertificate.getPublicKey()
is in the list of trusted public keys. - PublicKeyMatchingX509ExtendedTrustManager(PublicKey...) - Constructor for class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
-
Creates a
TrustManager
that will only trust certificate chains where the first certificate'sCertificate.getPublicKey()
is in the list of trusted public keys. - put(byte) - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
This method appends a single byte onto this buffer queue.
- put(byte[], int, int) - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
This method appends bytes from the byte array onto this buffer queue.
- put(ByteBuffer) - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
This method transfers the bytes remaining in the given source buffer appended onto this buffer queue.
- put(ByteBuffer, ByteBuffer) - Static method in class org.jenkinsci.remoting.util.ByteBufferUtils
-
Transfer bytes from src to dst.
- putUTF8(String, ByteBuffer) - Static method in class org.jenkinsci.remoting.util.ByteBufferUtils
-
Transfer a string into the destination buffer as a UTF-8 encoded string prefixed by a two byte length.
R
- read() - Method in class hudson.remoting.AbstractSynchronousByteArrayCommandTransport
- read() - Method in class hudson.remoting.FastPipedInputStream
- read() - Method in class hudson.remoting.RemoteInputStream
- read() - Method in class hudson.remoting.SynchronousCommandTransport
-
Called by
Channel
to read the next command to arrive from the stream. - read() - Method in class org.jenkinsci.remoting.util.ByteBufferQueueInputStream
- read() - Method in class org.jenkinsci.remoting.util.FastByteBufferQueueInputStream
- read(byte[]) - Method in class hudson.remoting.FastPipedInputStream
- read(byte[]) - Method in class hudson.remoting.RemoteInputStream
- read(byte[]) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
- read(byte[], int, int) - Method in class hudson.remoting.FastPipedInputStream
- read(byte[], int, int) - Method in class hudson.remoting.RemoteInputStream
- read(byte[], int, int) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
- read(byte[], int, int) - Method in class org.jenkinsci.remoting.util.ByteBufferQueueInputStream
- read(byte[], int, int) - Method in class org.jenkinsci.remoting.util.FastByteBufferQueueInputStream
- read(InputStream) - Static method in class hudson.remoting.Capability
-
The opposite operation of
Capability.write(java.io.OutputStream)
. - read(ByteBuffer) - Static method in class hudson.remoting.ChunkHeader
- readable() - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Number of bytes available in this buffer that are readable.
- readBlock(Channel) - Method in class hudson.remoting.AbstractSynchronousByteArrayCommandTransport
-
Read a byte[] from the underlying transport for the given channel.
- readFrom(Channel, byte[]) - Static method in class hudson.remoting.Command
-
Reads command from the specified payload.
- readNonBlocking(byte[]) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
- readNonBlocking(byte[], int, int) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
- readResolve() - Method in interface hudson.remoting.IReadResolve
- ready(boolean, boolean, boolean, boolean) - Method in class org.jenkinsci.remoting.protocol.impl.NIONetworkLayer
-
Callback to indicate the
SelectableChannel
that this listener was registered for is ready for the indicated operations. - ready(boolean, boolean, boolean, boolean) - Method in interface org.jenkinsci.remoting.protocol.IOHubReadyListener
-
Callback to indicate the
SelectableChannel
that this listener was registered for is ready for the indicated operations. - receive(ByteBuffer) - Method in class hudson.remoting.AbstractByteBufferCommandTransport
-
Handle receiving some data.
- receive(ReadableByteChannel) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Read bytes from a channel and stores it into this buffer.
- RegexValidator - Class in org.jenkinsci.remoting.org.apache.commons.validator.routines
-
Regular Expression validation (using JDK 1.4+ regex support).
- RegexValidator(String) - Constructor for class org.jenkinsci.remoting.org.apache.commons.validator.routines.RegexValidator
-
Construct a case sensitive validator for a single regular expression.
- RegexValidator(String[]) - Constructor for class org.jenkinsci.remoting.org.apache.commons.validator.routines.RegexValidator
-
Construct a case sensitive validator that matches any one of the set of regular expressions.
- RegexValidator(String[], boolean) - Constructor for class org.jenkinsci.remoting.org.apache.commons.validator.routines.RegexValidator
-
Construct a validator that matches any one of the set of regular expressions with the specified case sensitivity.
- RegexValidator(String, boolean) - Constructor for class org.jenkinsci.remoting.org.apache.commons.validator.routines.RegexValidator
-
Construct a validator for a single regular expression with the specified case sensitivity.
- register(SelectableChannel, IOHubReadyListener, boolean, boolean, boolean, boolean) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Register the
SelectableChannel
for the requested operations using the suppliedIOHubReadyListener
. - register(SelectableChannel, IOHubReadyListener, boolean, boolean, boolean, boolean, IOHubRegistrationCallback) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Register the
SelectableChannel
for the requested operations using the suppliedIOHubReadyListener
, when the registration is complete theIOHubRegistrationCallback
will be invoked. - reject(ConnectionRefusalException) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Signals that the current
JnlpConnectionStateListener
is declaring ownership of this event, rejecting the connection and all otherJnlpConnectionStateListener
instances will now be ignored. - release(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Returns a buffer to the pool.
- release(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
SPI: Returns a previously acquired
ByteBuffer
to the pool. - release(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
Returns a buffer to the pool.
- release(ByteBuffer) - Method in interface org.jenkinsci.remoting.util.ByteBufferPool
-
Returns a buffer to the pool.
- release(ByteBuffer) - Method in class org.jenkinsci.remoting.util.DirectByteBufferPool
-
Returns a buffer to the pool.
- remaining() - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
Returns how much data is remaining between the current read index and the write index.
- remaining(int) - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
Returns how much data is remaining between the current read index and the write index.
- remoteCapability - Variable in class hudson.remoting.Channel
-
Capability of the remote
Channel
. - RemoteInputStream - Class in hudson.remoting
-
Wraps
InputStream
so that it can be sent over the remoting channel. - RemoteInputStream(InputStream) - Constructor for class hudson.remoting.RemoteInputStream
-
Deprecated.as of 2.35 Use
RemoteInputStream(InputStream, Flag)
and specify eitherRemoteInputStream.Flag.GREEDY
orRemoteInputStream.Flag.NOT_GREEDY
. - RemoteInputStream(InputStream, boolean) - Constructor for class hudson.remoting.RemoteInputStream
-
Deprecated.as of 2.35 Use
RemoteInputStream(InputStream, Flag, Flag)
withRemoteInputStream.Flag.MANUAL_UNEXPORT
. Also specify eitherRemoteInputStream.Flag.GREEDY
orRemoteInputStream.Flag.NOT_GREEDY
. - RemoteInputStream(InputStream, RemoteInputStream.Flag) - Constructor for class hudson.remoting.RemoteInputStream
- RemoteInputStream(InputStream, RemoteInputStream.Flag, RemoteInputStream.Flag) - Constructor for class hudson.remoting.RemoteInputStream
- RemoteInputStream(InputStream, Set<RemoteInputStream.Flag>) - Constructor for class hudson.remoting.RemoteInputStream
- RemoteInputStream.Flag - Enum in hudson.remoting
- RemoteOutputStream - Class in hudson.remoting
-
OutputStream
that can be sent over to the remoteChannel
, so that the remoteCallable
can write to a localOutputStream
. - RemoteOutputStream(OutputStream) - Constructor for class hudson.remoting.RemoteOutputStream
- RemoteWriter - Class in hudson.remoting
- RemoteWriter(Writer) - Constructor for class hudson.remoting.RemoteWriter
- REMOTING_MINIMUM_VERSION_HEADER - Static variable in class hudson.remoting.Engine
-
HTTP header sent by Jenkins to indicate the earliest version of Remoting it is prepared to accept connections from.
- remove() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Ptr
-
Requests removal of this
ProtocolLayer
from theProtocolStack
- remove(EngineListener) - Method in class hudson.remoting.EngineListenerSplitter
- remove(PublicKey) - Method in class org.jenkinsci.remoting.protocol.cert.PublicKeyMatchingX509ExtendedTrustManager
-
Removes a trusted
PublicKey
. - removeInterestAccept(SelectionKey) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Reregister the provided key as no longer interested in accepting connections.
- removeInterestConnect(SelectionKey) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Reregister the provided key as no longer interested in the connection with a server being established.
- removeInterestRead(SelectionKey) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Reregister the provided key as no longer interested in reading data.
- removeInterestWrite(SelectionKey) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Reregister the provided key as no longer interested in writing data.
- removeListener(Channel.Listener) - Method in class hudson.remoting.Channel
-
Removes a listener.
- removeListener(EngineListener) - Method in class hudson.remoting.Engine
- removeListener(ProtocolStack.Listener) - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
-
Removes a listener.
- removeLocalExecutionInterceptor(CallableFilter) - Method in class hudson.remoting.Channel
-
Deprecated.
- removeLocalExecutionInterceptor(CallableDecorator) - Method in class hudson.remoting.Channel
-
Removes the filter introduced by
Channel.addLocalExecutionInterceptor(CallableDecorator)
. - Request<RSP extends Serializable,
EXC extends Throwable> - Class in hudson.remoting -
Request/response pattern over
Channel
, the layer-1 service. - RequestAbortedException - Exception in hudson.remoting
- RequestAbortedException(Throwable) - Constructor for exception hudson.remoting.RequestAbortedException
- reset() - Method in class hudson.remoting.RemoteInputStream
- reset() - Method in class org.jenkinsci.remoting.util.ByteBufferQueueInputStream
- reset() - Method in class org.jenkinsci.remoting.util.FastByteBufferQueueInputStream
- resetPerformanceCounters() - Method in class hudson.remoting.Channel
-
Resets all the performance counters.
- resolve() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointConfigurator
- resolve() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- resolve() - Method in class org.jenkinsci.remoting.engine.JnlpEndpointResolver
- resolve(Channel, long, long) - Method in class hudson.remoting.JarCache
-
Looks up the jar in cache, and if not found, use
JarLoader
to retrieve it from the other side. - resolve(Channel, long, long) - Method in class hudson.remoting.JarCacheSupport
- resolveClass(ObjectStreamClass) - Method in class hudson.remoting.ObjectInputStreamEx
- resolveObject(Object) - Method in class hudson.remoting.ObjectInputStreamEx
- resolveProxyClass(String[]) - Method in class hudson.remoting.ObjectInputStreamEx
- resourceLoadingCount - Variable in class hudson.remoting.Channel
-
Total count of remote resource loading.
- resourceLoadingTime - Variable in class hudson.remoting.Channel
-
Total number of nanoseconds spent for remote resource loading.
- Response<RSP extends Serializable,
EXC extends Throwable> - Class in hudson.remoting -
Request/response pattern over
Command
. - retrieve(Channel, long, long) - Method in class hudson.remoting.FileSystemJarCache
- retrieve(Channel, long, long) - Method in class hudson.remoting.JarCacheSupport
-
Retrieve the jar file from the given
JarLoader
, store it, then return the URL to that jar. - REVERIFY_SECRET - Enum constant in enum org.jenkinsci.remoting.engine.JnlpClientDatabase.ValidationResult
-
The certificate is valid, but check the secret also.
- Role - Class in org.jenkinsci.remoting
-
Represents different roles two sides of the channel plays.
- Role(Class<?>) - Constructor for class org.jenkinsci.remoting.Role
- Role(String) - Constructor for class org.jenkinsci.remoting.Role
- ROLE - Static variable in class hudson.remoting.forward.ForwarderFactory
-
Deprecated.Role that's willing to open a socket to arbitrary node nad forward that to the other side.
- ROLE - Static variable in class hudson.remoting.forward.PortForwarder
-
Deprecated.Role that's willing to listen on a socket and forward that to the other side.
- RoleChecker - Class in org.jenkinsci.remoting
-
Verifies that the callable is getting run on the intended recipient.
- RoleChecker() - Constructor for class org.jenkinsci.remoting.RoleChecker
- RoleSensitive - Interface in org.jenkinsci.remoting
-
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. - rootDir - Variable in class hudson.remoting.FileSystemJarCache
- run() - Method in class hudson.remoting.Engine
- run() - Method in class hudson.remoting.forward.PortForwarder
-
Deprecated.
- run() - Method in class hudson.remoting.jnlp.Main
-
Deprecated.
- run() - Method in class hudson.remoting.Launcher
- run() - Method in class hudson.remoting.PingThread
- run() - Method in class org.jenkinsci.remoting.nio.NioChannelHub
-
Attend to channels in the hub.
- run() - Method in class org.jenkinsci.remoting.protocol.IOHub
S
- secret - Variable in class hudson.remoting.Launcher
- SECRET_KEY - Static variable in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
The property name for the secret key.
- SelectableFileChannelFactory - Class in org.jenkinsci.remoting.nio
- SelectableFileChannelFactory() - Constructor for class org.jenkinsci.remoting.nio.SelectableFileChannelFactory
- send(WritableByteChannel) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Read from this buffer write as much as possible to the channel until the channel gets filled up.
- SerializableOnlyOverRemoting - Interface in org.jenkinsci.remoting
-
This interface indicates objects which are
Serializable
only for sending over the RemotingChannel
. - set(ClassLoader) - Method in class hudson.remoting.ClassLoaderHolder
- set(Throwable) - Method in class hudson.remoting.AsyncFutureImpl
- set(V) - Method in class hudson.remoting.AsyncFutureImpl
- set(V) - Method in class org.jenkinsci.remoting.util.SettableFuture
-
Completes the future with the supplied value.
- setAgentLog(Path) - Method in class hudson.remoting.Engine
-
Sets the destination for agent logs.
- setArbitraryCallableAllowed(boolean) - Method in class hudson.remoting.Channel
- setAsCancelled() - Method in class hudson.remoting.AsyncFutureImpl
-
Marks this task as cancelled.
- setAuth(String) - Method in class hudson.remoting.Launcher
-
Deprecated.
- setCandidateCertificates(List<X509Certificate>) - Method in class hudson.remoting.Engine
- setConnectTo(String) - Method in class hudson.remoting.Launcher
-
Deprecated.removed without replacement
- setCredentials(String) - Method in class hudson.remoting.Engine
- setCredentials(String) - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- setCredentials(String, String) - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- setDefault(ClassFilter) - Static method in class hudson.remoting.ClassFilter
-
Changes the effective value of
ClassFilter.DEFAULT
. - setDelegate(X509ExtendedTrustManager) - Method in class org.jenkinsci.remoting.protocol.cert.DelegatingX509ExtendedTrustManager
-
Switches the delegate for a new one.
- setDisableHttpsCertValidation(boolean) - Method in class hudson.remoting.Engine
-
Sets if JNLPAgentEndpointResolver will not perform certificate validation in the HTTPs mode.
- setDisableHttpsCertValidation(boolean) - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
-
Sets if the HTTPs certificate check should be disabled.
- setException(Throwable) - Method in class org.jenkinsci.remoting.util.SettableFuture
-
Completes the future with the supplied exception.
- setFailIfWorkDirIsMissing(boolean) - Method in class hudson.remoting.Engine
-
Sets up behavior if the workDir or internalDir are missing during the startup.
- setFrameSize(int) - Method in class hudson.remoting.AbstractByteBufferCommandTransport
-
Set the frame size.
- setFrameSize(int) - Method in class org.jenkinsci.remoting.nio.NioChannelHub
- setHeadlessMode(boolean) - Method in class hudson.remoting.Launcher
-
Deprecated.removed without replacement
- setInclusiveHostCount(boolean) - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils
-
Sets to
true
if you want the return value ofSubnetUtils.SubnetInfo.getAddressCount()
to include the network and broadcast addresses. - setInternalDir(String) - Method in class hudson.remoting.Engine
-
Specifies name of the internal data directory within
Engine.workDir
. - setJarCache(JarCache) - Method in class hudson.remoting.Channel
-
You can change the
JarCache
while the channel is in operation, but doing so doesn't impactRemoteClassLoader
s that are already created. - setJarCache(JarCache) - Method in class hudson.remoting.Engine
-
Configures custom JAR Cache location.
- setKeepAlive(boolean) - Method in class hudson.remoting.Engine
-
Sets the
Socket.setKeepAlive(boolean)
to use for the connection to the controller. - setLimit(int) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Set limit to the number of maximum bytes this buffer can hold.
- setLoggingConfig(File) - Method in class org.jenkinsci.remoting.engine.WorkDirManager
-
Sets path to the Logging JUL property file with logging settings.
- setLoggingConfigFile(Path) - Method in class hudson.remoting.Engine
-
Sets path to the property file with JUL settings.
- setMaximumBytecodeLevel(short) - Method in class hudson.remoting.Channel
-
Sets the maximum bytecode version (~ JDK) that we expect this channel to be able to load.
- setNoReconnect(boolean) - Method in class hudson.remoting.Engine
- setNoReconnectAfter(Duration) - Method in class hudson.remoting.Engine
- setPing(boolean) - Method in class hudson.remoting.Launcher
-
Deprecated.removed without replacement
- setProperty(ChannelProperty<T>, T) - Method in class hudson.remoting.Channel
- setProperty(Object, Object) - Method in class hudson.remoting.Channel
-
Sets the property value on this side of the channel.
- setProxyCredentials(String) - Method in class hudson.remoting.Engine
- setProxyCredentials(String) - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- setProxyCredentials(String, String) - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- setRemoteClassLoadingAllowed(boolean) - Method in class hudson.remoting.Channel
-
Controls whether or not this channel is willing to load classes from the other side.
- setRemoteEndpointDescription(String) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Set a specific value for
JnlpConnectionState.getRemoteEndpointDescription()
. - setRestricted(boolean) - Method in class hudson.remoting.Channel
-
Deprecated.Use methods like
Channel.setRemoteClassLoadingAllowed(boolean)
andChannel.setArbitraryCallableAllowed(boolean)
to control individual features. - setSslSocketFactory(SSLSocketFactory) - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- setStash(S) - Method in class org.jenkinsci.remoting.engine.JnlpConnectionState
-
Stores some listener specific state for later retrieval.
- SettableFuture<V> - Class in org.jenkinsci.remoting.util
-
A
Future
that can be completed. - setTcpPortFile(File) - Method in class hudson.remoting.Launcher
-
Deprecated.removed without replacement
- setTextMode(boolean) - Method in class hudson.remoting.Launcher
- setTunnel(String) - Method in class hudson.remoting.Engine
-
If set, connect to the specified host and port instead of connecting directly to Jenkins.
- setTunnel(String) - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- setup(AbstractByteArrayCommandTransport.ByteArrayReceiver) - Method in class hudson.remoting.AbstractByteArrayCommandTransport
-
Starts the transport.
- setup(Channel, CommandTransport.CommandReceiver) - Method in class hudson.remoting.AbstractByteArrayCommandTransport
- setup(Channel, CommandTransport.CommandReceiver) - Method in class hudson.remoting.AbstractByteBufferCommandTransport
-
Starts the transport.
- setup(Channel, CommandTransport.CommandReceiver) - Method in class hudson.remoting.CommandTransport
-
Starts the transport.
- setup(Channel, CommandTransport.CommandReceiver) - Method in class hudson.remoting.SynchronousCommandTransport
- setupLogging(Path, Path) - Method in class org.jenkinsci.remoting.engine.WorkDirManager
-
Sets up logging subsystem in the working directory.
- setWebSocket(boolean) - Method in class hudson.remoting.Engine
- setWebSocketHeaders(Map<String, String>) - Method in class hudson.remoting.Engine
-
Sets map of custom websocket headers.
- setWorkDir(Path) - Method in class hudson.remoting.Engine
-
Specified a path to the work directory.
- shouldBailOut(Instant, Duration) - Static method in class hudson.remoting.Util
- shouldProxy(String) - Static method in class hudson.remoting.NoProxyEvaluator
- showHelp - Variable in class hudson.remoting.Launcher
-
Shows help message and then exits
- showVersion - Variable in class hudson.remoting.Launcher
-
Shows version information and then exits
- shutdown() - Method in class hudson.remoting.AtmostOneThreadExecutor
- shutdown() - Method in class hudson.remoting.SingleLaneExecutorService
- shutdownNow() - Method in class hudson.remoting.AtmostOneThreadExecutor
- shutdownNow() - Method in class hudson.remoting.SingleLaneExecutorService
- SIMPLE - Enum constant in enum org.jenkinsci.remoting.util.DurationStyle
-
Simple formatting, for example '1s'.
- SingleLaneExecutorService - Class in hudson.remoting
-
Creates an
ExecutorService
that executes submitted tasks sequentially on top of another generic arbitraryExecutorService
. - SingleLaneExecutorService(ExecutorService) - Constructor for class hudson.remoting.SingleLaneExecutorService
- SIZE - Static variable in class hudson.remoting.ChunkHeader
- skip(long) - Method in class hudson.remoting.RemoteInputStream
- skip(long) - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
Discards up to the specified number of bytes from the read index.
- skip(long) - Method in class org.jenkinsci.remoting.util.ByteBufferQueueInputStream
- skip(long) - Method in class org.jenkinsci.remoting.util.FastByteBufferQueueInputStream
- SocketChannelStream - Class in hudson.remoting
-
Wraps
SocketChannel
intoInputStream
/OutputStream
in a way that avoids deadlock when read/write happens concurrently. - SocketChannelStream() - Constructor for class hudson.remoting.SocketChannelStream
- SocketInputStream - Class in hudson.remoting
-
InputStream
connected to socket. - SocketInputStream(Socket) - Constructor for class hudson.remoting.SocketInputStream
-
Deprecated.
- SocketOutputStream - Class in hudson.remoting
-
InputStream
connected to socket. - SocketOutputStream(Socket) - Constructor for class hudson.remoting.SocketOutputStream
-
Deprecated.
- SSLEngineFilterLayer - Class in org.jenkinsci.remoting.protocol.impl
-
A
FilterLayer
that encrypts the communication between the upper layers and the lower layers using the suppliedSSLEngine
. - SSLEngineFilterLayer(SSLEngine, SSLEngineFilterLayer.Listener) - Constructor for class org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer
-
Constructs a new instance.
- SSLEngineFilterLayer.Listener - Interface in org.jenkinsci.remoting.protocol.impl
-
A listener for the connection headers.
- stack() - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
Accessor for the
ProtocolStack
that we are bound to. - stack() - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
Accessor for the
ProtocolStack
that we are bound to. - stack() - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
Returns the
ProtocolStack
instance that we belong to. - stack() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack.Ptr
-
Helper method to access the
ProtocolStack
. - STANDARD - Static variable in class hudson.remoting.ClassFilter
-
A set of sensible default filtering rules to apply, based on a configurable blacklist.
- StandardOutputStream - Class in hudson.remoting
-
Hint that indicates that we are using
stdout
with fd=1 as the stream to write to for the channel. - StandardOutputStream() - Constructor for class hudson.remoting.StandardOutputStream
- start() - Method in class org.jenkinsci.remoting.protocol.FilterLayer
-
Starts this layer.
- start() - Method in class org.jenkinsci.remoting.protocol.impl.AckFilterLayer
-
Starts this layer.
- start() - Method in class org.jenkinsci.remoting.protocol.impl.AgentProtocolClientFilterLayer
-
Starts this layer.
- start() - Method in class org.jenkinsci.remoting.protocol.impl.BIONetworkLayer
-
Starts this layer.
- start() - Method in class org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer
-
Starts this layer.
- start() - Method in class org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer
-
Starts this layer.
- start() - Method in class org.jenkinsci.remoting.protocol.impl.NIONetworkLayer
-
Starts this layer.
- start() - Method in class org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer
-
Starts this layer.
- start() - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
Starts this layer.
- start() - Method in interface org.jenkinsci.remoting.protocol.ProtocolLayer
-
Starts this layer.
- startEngine() - Method in class hudson.remoting.Engine
-
Starts the engine.
- startExportRecording() - Method in class hudson.remoting.Channel
- status(String) - Method in interface hudson.remoting.EngineListener
-
Status message that indicates the progress of the operation.
- status(String) - Method in class hudson.remoting.EngineListenerAdapter
- status(String) - Method in class hudson.remoting.EngineListenerSplitter
- status(String, Throwable) - Method in interface hudson.remoting.EngineListener
-
Status message, with additional stack trace that indicates an error that was recovered.
- status(String, Throwable) - Method in class hudson.remoting.EngineListenerAdapter
- status(String, Throwable) - Method in class hudson.remoting.EngineListenerSplitter
- submitAsync(ExecutorService, Runnable) - Static method in class org.jenkinsci.remoting.util.ExecutorServiceUtils
-
Submits a task to the executor service without further handling.
- SubnetUtils - Class in org.jenkinsci.remoting.org.apache.commons.net.util
-
Performs some subnet calculations given a network address and a subnet mask.
- SubnetUtils(String) - Constructor for class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils
-
Constructs an instance from a CIDR-notation string, e.g.
- SubnetUtils(String, String) - Constructor for class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils
-
Constructs an instance from a dotted decimal address and a dotted decimal mask.
- SubnetUtils.SubnetInfo - Class in org.jenkinsci.remoting.org.apache.commons.net.util
-
Convenience container for subnet summary information.
- SUPPORTED_INTERNAL_DIR_NAME_MASK - Static variable in class org.jenkinsci.remoting.engine.WorkDirManager
-
Regular expression, which declares restrictions of the remoting internal directory symbols
- supportsChunking() - Method in class hudson.remoting.Capability
-
Supports chunking to designate a command boundary.
- supportsGreedyRemoteInputStream() - Method in class hudson.remoting.Capability
-
Does
RemoteInputStream
supports greedy flag. - supportsMultiClassLoaderRPC() - Method in class hudson.remoting.Capability
-
Does this implementation supports multi-classloader serialization in
UserRequest
? - supportsPipeThrottling() - Method in class hudson.remoting.Capability
-
Does the implementation supports window size control over pipes?
- supportsPrefetch() - Method in class hudson.remoting.Capability
-
Does the implementation allow classes to be prefetched and JARs to be cached?
- supportsProxyExceptionFallback() - Method in class hudson.remoting.Capability
-
Supports
ProxyException
as a fallback when failing to deserializeUserRequest
exceptions. - supportsProxyWriter2_35() - Method in class hudson.remoting.Capability
-
Does
ProxyWriter
supports proper throttling? This flag is also used to check other improvements made in ProxyWriter at the same time. - swap(OutputStream) - Method in class hudson.remoting.StandardOutputStream
-
Atomically swaps the underlying stream to another stream and returns it.
- SynchronousCommandTransport - Class in hudson.remoting
-
CommandTransport
that implements the read operation in a synchronous fashion. - SynchronousCommandTransport() - Constructor for class hudson.remoting.SynchronousCommandTransport
- syncIO() - Method in class hudson.remoting.Channel
-
Blocks until all the I/O packets sent before this gets fully executed by the remote side, then return.
- syncLocalIO() - Method in class hudson.remoting.Channel
- syncLocalIO() - Method in class hudson.remoting.LocalChannel
- syncLocalIO() - Method in interface hudson.remoting.VirtualChannel
-
Blocks until all the I/O packets sent from remote is fully locally executed, then return.
T
- tcpPortFile - Variable in class hudson.remoting.Launcher
-
Deprecated.removed without replacement
- TeeOutputStream - Class in hudson.remoting
-
Classic splitter of
OutputStream
. - TeeOutputStream(OutputStream, OutputStream) - Constructor for class hudson.remoting.TeeOutputStream
-
Constructs a TeeOutputStream.
- terminate(IOException) - Method in interface hudson.remoting.AbstractByteArrayCommandTransport.ByteArrayReceiver
- terminate(IOException) - Method in class hudson.remoting.AbstractByteBufferCommandTransport
-
Indicates that the endpoint has encountered a problem.
- terminate(IOException) - Method in class hudson.remoting.Channel
-
Aborts the connection in response to an error.
- terminate(IOException) - Method in interface hudson.remoting.CommandTransport.CommandReceiver
-
Indicates that the transport has encountered a problem.
- TEXT - Enum constant in enum hudson.remoting.Channel.Mode
-
Send ASCII over the stream.
- THEIRS - Static variable in interface hudson.remoting.JarLoader
- ThrowableUtils - Class in org.jenkinsci.remoting.util
-
Utility methods to help when working with
Throwable
instances. - toASCII() - Method in class hudson.remoting.Capability
-
Uses
Capability.write(java.io.OutputStream)
to serialize this object to a Base64-encoded ASCII stream. - toByteArray() - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
Transfers all the bytes in the
ByteBufferQueue
from the read position to the write position into a newbyte[]
. - toHex(byte[]) - Static method in class hudson.remoting.HexDump
- toHex(byte[], int, int) - Static method in class hudson.remoting.HexDump
- toString() - Method in class hudson.remoting.Capability
- toString() - Method in class hudson.remoting.Channel
- toString() - Method in class hudson.remoting.Command
-
Should provide concise information useful for
Channel.Listener
. - toString() - Method in exception hudson.remoting.DiagnosedStreamCorruptionException
- toString() - Method in class hudson.remoting.FileSystemJarCache
- toString() - Method in class hudson.remoting.Response
- toString() - Method in class hudson.remoting.UnexportCommand
- toString() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpoint
- toString() - Method in enum org.jenkinsci.remoting.engine.WorkDirManager.DirType
- toString() - Method in class org.jenkinsci.remoting.org.apache.commons.net.util.SubnetUtils.SubnetInfo
- toString() - Method in class org.jenkinsci.remoting.org.apache.commons.validator.routines.RegexValidator
-
Provide a String representation of this validator.
- toString() - Method in class org.jenkinsci.remoting.protocol.IOHub
- toString() - Method in class org.jenkinsci.remoting.protocol.ProtocolStack
- toString() - Method in class org.jenkinsci.remoting.Role
- toString() - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
- toString() - Method in class org.jenkinsci.remoting.util.VersionNumber
- toString(Map<String, String>) - Static method in class org.jenkinsci.remoting.protocol.impl.ConnectionHeaders
-
Converts the headers into the String format.
- tunnel - Variable in class hudson.remoting.Launcher
- type - Variable in class hudson.remoting.ChannelProperty
U
- UNCHECKED - Enum constant in enum org.jenkinsci.remoting.engine.JnlpClientDatabase.ValidationResult
-
The certificate was not checked, fall back to secret validation.
- UnexportCommand - Class in hudson.remoting
-
Command
that unexports an object. - UnexportCommand(int) - Constructor for class hudson.remoting.UnexportCommand
-
Deprecated.Use
UnexportCommand(int, Throwable)
- unget(ByteBuffer) - Method in class org.jenkinsci.remoting.util.ByteBufferQueue
-
This method transfers the bytes remaining in the given source buffer inserted at the head of this buffer queue.
- UNKNOWN - Static variable in class org.jenkinsci.remoting.Role
-
Used as a place holder when
Callable
didn't declare any role. - UNKNOWN_SET - Static variable in class org.jenkinsci.remoting.Role
-
Convenience singleton collection that only include
Role.UNKNOWN
- unregister(SelectableChannel) - Method in class org.jenkinsci.remoting.protocol.IOHub
-
Removes the
SelectableChannel
from the hub'sSelector
. - unwrap(InputStream) - Method in class org.jenkinsci.remoting.nio.SelectableFileChannelFactory
- unwrap(OutputStream) - Method in class org.jenkinsci.remoting.nio.SelectableFileChannelFactory
- URLDeserializationHelper - Class in hudson.remoting
-
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.
- URLDeserializationHelper() - Constructor for class hudson.remoting.URLDeserializationHelper
- urls - Variable in class hudson.remoting.Launcher
- userRequest(Callable<V, T>, Callable<V, T>) - Method in class org.jenkinsci.remoting.CallableDecorator
-
Used to specifically decorate user-provided
Callable
execution. - Util - Class in hudson.remoting
-
Misc.
V
- validate(String) - Method in class org.jenkinsci.remoting.org.apache.commons.validator.routines.RegexValidator
-
Validate a value against the set of regular expressions returning a String value of the aggregated groups.
- validate(URL) - Method in interface hudson.remoting.JarURLValidator
-
Deprecated.
- validateCertificate(String, X509Certificate) - Method in class org.jenkinsci.remoting.engine.JnlpClientDatabase
-
Performs client certificate validation.
- ValidityCheckingX509ExtendedTrustManager - Class in org.jenkinsci.remoting.protocol.cert
-
An
X509ExtendedTrustManager
that checks the validity of the chain before continuing with the (optional) delegateX509ExtendedTrustManager
. - ValidityCheckingX509ExtendedTrustManager() - Constructor for class org.jenkinsci.remoting.protocol.cert.ValidityCheckingX509ExtendedTrustManager
-
Constructor for a
X509ExtendedTrustManager
that will trust any certificates that are currently valid. - ValidityCheckingX509ExtendedTrustManager(X509ExtendedTrustManager) - Constructor for class org.jenkinsci.remoting.protocol.cert.ValidityCheckingX509ExtendedTrustManager
-
Constructor for a
X509ExtendedTrustManager
that will trust any certificates that are both currently valid and trusted by the suppliedX509ExtendedTrustManager
. - valueOf(String) - Static method in enum hudson.remoting.Channel.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum hudson.remoting.RemoteInputStream.Flag
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jenkinsci.remoting.engine.JnlpClientDatabase.ValidationResult
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jenkinsci.remoting.engine.WorkDirManager.DirType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jenkinsci.remoting.util.DurationStyle
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum hudson.remoting.Channel.Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum hudson.remoting.RemoteInputStream.Flag
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jenkinsci.remoting.engine.JnlpClientDatabase.ValidationResult
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jenkinsci.remoting.engine.WorkDirManager.DirType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jenkinsci.remoting.util.DurationStyle
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verify(String, SSLSession) - Method in class org.jenkinsci.remoting.util.https.NoCheckHostnameVerifier
- VERSION - Static variable in class hudson.remoting.Launcher
-
Version number of Hudson this agent.jar is from.
- VersionNumber - Class in org.jenkinsci.remoting.util
-
Immutable representation of a version number based on the Mercury version numbering scheme.
- VersionNumber(String) - Constructor for class org.jenkinsci.remoting.util.VersionNumber
- VirtualChannel - Interface in hudson.remoting
-
Virtualized
Channel
that allows different implementations.
W
- waitForProperty(ChannelProperty<T>) - Method in class hudson.remoting.Channel
- waitForProperty(Object) - Method in class hudson.remoting.Channel
-
Works like
Channel.getProperty(Object)
but wait until some value is set by someone. - waitForReady() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointConfigurator
- waitForReady() - Method in class org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver
- waitForReady() - Method in class org.jenkinsci.remoting.engine.JnlpEndpointResolver
- waitForRemoteProperty(ChannelProperty<T>) - Method in class hudson.remoting.Channel
-
Deprecated.Because
ChannelProperty
is identity-equality, this method would never work. This is a design error. - waitForRemoteProperty(Object) - Method in class hudson.remoting.Channel
-
Gets the property set on the remote peer.
- waitForStart() - Static method in class org.jenkinsci.remoting.protocol.ProtocolStack
- webSocket - Variable in class hudson.remoting.Launcher
- WEBSOCKET_COOKIE_HEADER - Static variable in class hudson.remoting.Engine
-
The header name to be used for the connection cookie when using websockets.
- webSocketHeaders - Variable in class hudson.remoting.Launcher
- Which - Class in hudson.remoting
-
Locates where a given class is loaded from.
- Which() - Constructor for class hudson.remoting.Which
- with(CallableDecorator) - Method in class hudson.remoting.ChannelBuilder
- withArbitraryCallableAllowed(boolean) - Method in class hudson.remoting.ChannelBuilder
-
If false, this channel only allows the other side to invoke methods on exported objects, but not
Channel.call(Callable)
(and its family of methods.) The default istrue
. - withBaseLoader(ClassLoader) - Method in class hudson.remoting.ChannelBuilder
-
Specify the classloader used for deserializing remote commands.
- withBaseLoader(ClassLoader) - Method in class org.jenkinsci.remoting.nio.NioChannelBuilder
- withCapability(Capability) - Method in class hudson.remoting.ChannelBuilder
-
Controls the capabilities that we'll advertise to the other side.
- withCapability(Capability) - Method in class org.jenkinsci.remoting.nio.NioChannelBuilder
- withClassFilter(ClassFilter) - Method in class hudson.remoting.ChannelBuilder
-
Replaces the
ClassFilter
used by the channel. - withClassFilter(ClassFilter) - Method in class org.jenkinsci.remoting.nio.NioChannelBuilder
- withClientDatabase(JnlpClientDatabase) - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandlerFactory
-
Add a
JnlpClientDatabase
. - withHeaderStream(OutputStream) - Method in class hudson.remoting.ChannelBuilder
-
If non-null, receive the portion of data in
is
before the data goes into the "binary mode". - withHeaderStream(OutputStream) - Method in class org.jenkinsci.remoting.nio.NioChannelBuilder
- withIOHub(IOHub) - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandlerFactory
-
Add a
IOHub
. - withJarCache(JarCache) - Method in class hudson.remoting.ChannelBuilder
-
Sets the JAR cache storage.
- withJarCache(JarCache) - Method in class org.jenkinsci.remoting.nio.NioChannelBuilder
- withJarCacheOrDefault(JarCache) - Method in class hudson.remoting.ChannelBuilder
-
Sets the JAR cache storage.
- withMode(Channel.Mode) - Method in class hudson.remoting.ChannelBuilder
-
The encoding to be used over the stream.
- withMode(Channel.Mode) - Method in class org.jenkinsci.remoting.nio.NioChannelBuilder
- withNioChannelHub(NioChannelHub) - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandlerFactory
-
Add a
NioChannelHub
. - withoutJarCache() - Method in class hudson.remoting.ChannelBuilder
-
Resets JAR Cache setting to the default.
- withoutJarCache() - Method in class org.jenkinsci.remoting.nio.NioChannelBuilder
- withPreferNonBlockingIO(boolean) - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandlerFactory
-
Set the I/O blocking mode preferences
- withProperty(ChannelProperty<T>, T) - Method in class hudson.remoting.ChannelBuilder
- withProperty(Object, Object) - Method in class hudson.remoting.ChannelBuilder
-
Sets the property.
- withRemoteClassLoadingAllowed(boolean) - Method in class hudson.remoting.ChannelBuilder
-
Controls whether or not this channel is willing to load classes from the other side.
- withRestricted(boolean) - Method in class hudson.remoting.ChannelBuilder
-
Deprecated.Control individual features.
- withRestricted(boolean) - Method in class org.jenkinsci.remoting.nio.NioChannelBuilder
- withRoleChecker(RoleChecker) - Method in class hudson.remoting.ChannelBuilder
-
Installs another
RoleChecker
. - withRoles(Collection<? extends Role>) - Method in class hudson.remoting.ChannelBuilder
-
Convenience method to install
RoleChecker
that verifies against the fixed set of roles. - withRoles(Role...) - Method in class hudson.remoting.ChannelBuilder
-
Convenience method to install
RoleChecker
that verifies against the fixed set of roles. - withSSLClientAuthRequired(boolean) - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandlerFactory
-
Set the policy on client authentication certificates to use for
JnlpProtocolHandler.handle(Socket, Map, List)
calls. - withSSLContext(SSLContext) - Method in class org.jenkinsci.remoting.engine.JnlpProtocolHandlerFactory
-
Add a
SSLContext
. - WORK_DIR - Enum constant in enum org.jenkinsci.remoting.engine.WorkDirManager.DirType
-
Top-level entry of the working directory.
- workDir - Variable in class hudson.remoting.Engine
-
Specifies a default working directory of the remoting instance.
- workDir - Variable in class hudson.remoting.Launcher
-
Specifies a default working directory of the remoting instance.
- WorkDirManager - Class in org.jenkinsci.remoting.engine
-
Performs working directory management in remoting.
- WorkDirManager.DirType - Enum in org.jenkinsci.remoting.engine
-
Defines components of the Working directory.
- wrap(InputStream) - Static method in class hudson.remoting.BinarySafeStream
-
Decode binary safe stream.
- wrap(InputStream) - Method in enum hudson.remoting.Channel.Mode
- wrap(OutputStream) - Static method in class hudson.remoting.BinarySafeStream
-
Wraps an
OutputStream
to encodingOutputStream
. - wrap(OutputStream) - Method in enum hudson.remoting.Channel.Mode
- wrapIfRequired(URL) - Static method in class hudson.remoting.URLDeserializationHelper
-
Wraps the given URL into a "safe" version against deserialization attack if the url has a non-empty host and the JVM configuration is standard.
- wrapUTF8(String) - Static method in class org.jenkinsci.remoting.util.ByteBufferUtils
-
Wrap a string encoded as a UTF-8 string prefixed by a two byte length.
- writable() - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Number of bytes writable.
- write(byte[]) - Method in class hudson.remoting.FastPipedOutputStream
- write(byte[]) - Method in class hudson.remoting.RemoteOutputStream
- write(byte[]) - Method in class hudson.remoting.SocketOutputStream
- write(byte[]) - Method in class hudson.remoting.StandardOutputStream
- write(byte[]) - Method in class hudson.remoting.TeeOutputStream
-
Writes the bytes to both streams.
- write(byte[]) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
- write(byte[], int, int) - Method in class hudson.remoting.FastPipedOutputStream
- write(byte[], int, int) - Method in class hudson.remoting.RemoteOutputStream
- write(byte[], int, int) - Method in class hudson.remoting.SocketOutputStream
- write(byte[], int, int) - Method in class hudson.remoting.StandardOutputStream
- write(byte[], int, int) - Method in class hudson.remoting.TeeOutputStream
-
Writes the specified bytes to both streams.
- write(byte[], int, int) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
- write(byte[], int, int) - Method in class org.jenkinsci.remoting.util.ByteBufferQueueOutputStream
- write(char[]) - Method in class hudson.remoting.RemoteWriter
- write(char[], int, int) - Method in class hudson.remoting.RemoteWriter
- write(int) - Method in class hudson.remoting.FastPipedOutputStream
- write(int) - Method in class hudson.remoting.RemoteOutputStream
- write(int) - Method in class hudson.remoting.RemoteWriter
- write(int) - Method in class hudson.remoting.SocketOutputStream
- write(int) - Method in class hudson.remoting.StandardOutputStream
- write(int) - Method in class hudson.remoting.TeeOutputStream
-
Writes a byte to both streams.
- write(int) - Method in class org.jenkinsci.remoting.util.ByteBufferQueueOutputStream
- write(Command, boolean) - Method in class hudson.remoting.AbstractByteArrayCommandTransport
- write(Command, boolean) - Method in class hudson.remoting.AbstractByteBufferCommandTransport
-
Called by
Channel
to send one command to the other side. - write(Command, boolean) - Method in class hudson.remoting.AbstractSynchronousByteArrayCommandTransport
- write(Command, boolean) - Method in class hudson.remoting.CommandTransport
-
Called by
Channel
to send one command to the other side. - write(String) - Method in class hudson.remoting.RemoteWriter
- write(String, int, int) - Method in class hudson.remoting.RemoteWriter
- write(ByteBuffer) - Method in class hudson.remoting.AbstractByteBufferCommandTransport
-
Write the packet.
- write(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.ApplicationLayer
-
SPI: Implementations of
ApplicationLayer
should use this method to write data through theProtocolStack
. - write(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.impl.BIONetworkLayer
-
SPI: Perform the actual write to the recipient.
- write(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.impl.NIONetworkLayer
-
SPI: Perform the actual write to the recipient.
- write(ByteBuffer) - Method in class org.jenkinsci.remoting.protocol.NetworkLayer
-
SPI: Perform the actual write to the recipient.
- write(ByteBuffer, int, boolean) - Static method in class hudson.remoting.ChunkHeader
- write(ByteBuffer, ByteBuffer) - Method in class hudson.remoting.AbstractByteBufferCommandTransport
-
Deprecated.pass true to
AbstractByteBufferCommandTransport(boolean)
and implementAbstractByteBufferCommandTransport.write(ByteBuffer)
- write(ByteBufferQueue, int, boolean) - Static method in class hudson.remoting.ChunkHeader
- writeBlock(Channel, byte[]) - Method in class hudson.remoting.AbstractByteArrayCommandTransport
-
Writes a byte[] to the transport.
- writeBlock(Channel, byte[]) - Method in class hudson.remoting.AbstractSynchronousByteArrayCommandTransport
-
Writes a byte[] to the transport.
- writeJarTo(long, long, OutputStream) - Method in interface hudson.remoting.JarLoader
-
Retrieve the jar file image.
- writeNonBlock(ByteBuffer) - Method in class org.jenkinsci.remoting.nio.FifoBuffer
-
Non-blocking write.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
true
toAbstractByteBufferCommandTransport(boolean)
and switchAbstractByteBufferCommandTransport.write(ByteBuffer, ByteBuffer)
toAbstractByteBufferCommandTransport.write(ByteBuffer)
.