Package hudson.remoting
package hudson.remoting
Remoting infrastructure for Hudson.
Code in this package is used for running a part of a program in agents.
If you are new to this package, start from Channel.
-
ClassDescription
CommandTransportthat works withbyte[]instead of command object.SynchronousCommandTransportthat works withbyte[]instead of command object.Futureimplementation whose computation is carried out elsewhere.Used on a method in a remotable exported interface to designate that the call is made asynchronously.ExecutorServicethat uses at most one executor.Deprecated.Tunnels byte stream into another byte stream so that binary data can be sent across binary-unsafe stream.Represents computation to be done on a remote system.Deprecated.Represents additional features implemented onChannel.Represents a communication channel to the remote peer.Callback "interface" for changes in the state ofChannel.Communication mode used in conjunction withClassicCommandTransport.Indicates that the channel is already closed or being closed.A convenient key type forChannel.getProperty(Object)andChannel.setProperty(Object, Object)Parsing of the chunk header.Restricts what classes can be received through remoting.Deprecated.Only used by deprecatedClassFilter.appendDefaultFilter(java.util.regex.Pattern).Remoting-aware holder ofClassLoaderthat replaces ClassLoader by itsRemoteClassLoader.One-way command to be sent over to the remote system and executed there.Lower level abstraction underChannelfor sending and receiving commandsDelegatingCallable<V,T extends Throwable> Callablethat nominates another classloader for serialization.Signals aStreamCorruptedExceptionwith some additional diagnostic information.Agent engine that proactively connects to Jenkins controller.Receives status notification fromEngine.Adapter class forEngineListenerto shield subtypes from future callback additions.EngineListenerthat distributes callbacks.OutputStreamthat's connected to anInputStreamsomewhere, which provides ability to haveInputStreamreport an error.This class is equivalent toPipedInputStream.This class is equivalent toPipedOutputStream.JarCachethat stores files in a single directory.Future<V>Alias toFuture.Takes a directory of jars and populates them into the given jar cache directory with the correct hash names.Used internally in the remoting code to have the proxy object implement readResolve.Jar file cache.Default partial implementation ofJarCache.Remoting interface to allow the other side to retrieve a jar file from the checksum advertised inResourceImageInJar.Deprecated.Do not use, intended as a temporary workaround only.Entry point for running aChannel.VirtualChannelthat performs computation on the local JVM.Thread factory that sets thread name so we know who is responsible for so many threads being created.ObjectInputStreamthat uses a specificClassLoaderand can use aClassFilterto limit what classes can be loaded.Periodically perform a ping.Pipe for the remoteCallableand the local program to talk to each other.Used when the exception thrown by the remoted code cannot be serialized.WrapsInputStreamso that it can be sent over the remoting channel.OutputStreamthat can be sent over to the remoteChannel, so that the remoteCallablecan write to a localOutputStream.Request/response pattern overChannel, the layer-1 service.Request/response pattern overCommand.Creates anExecutorServicethat executes submitted tasks sequentially on top of another generic arbitraryExecutorService.WrapsSocketChannelintoInputStream/OutputStreamin a way that avoids deadlock when read/write happens concurrently.InputStreamconnected to socket.InputStreamconnected to socket.Hint that indicates that we are usingstdoutwith fd=1 as the stream to write to for the channel.CommandTransportthat implements the read operation in a synchronous fashion.Classic splitter ofOutputStream.Commandthat unexports an object.SECURITY-637, this helper wraps the URL into a "safe" version if the url has a non-empty host and the JVM configuration is standard.Misc.VirtualizedChannelthat allows different implementations.Locates where a given class is loaded from.
Base64instead