Uses of Class
hudson.remoting.Channel
Packages that use Channel
Package
Description
Remoting infrastructure for Hudson.
-
Uses of Channel in hudson.remoting
Fields in hudson.remoting declared as ChannelModifier and TypeFieldDescriptionprotected ChannelAbstractByteArrayCommandTransport.channelprotected ChannelSynchronousCommandTransport.channelMethods in hudson.remoting that return ChannelModifier and TypeMethodDescriptionChannelBuilder.build(CommandTransport transport) ChannelBuilder.build(InputStream is, OutputStream os) Performs a handshake over the communication channel and builds aChannel.ChannelBuilder.build(SocketChannel s) static ChannelChannel.current()This method can be invoked during the serialization/deserialization of objects when they are transferred to the remoteChannel, as well as duringCallable.call()is invoked.static ChannelChannel.currentOrFail()Gets current channel or fails withIllegalStateException.protected ChannelAbstractByteBufferCommandTransport.getChannel()Gets the channel.default ChannelCallable.getChannelOrFail()Gets a channel for the operation inside callable.default ChannelCallable.getOpenChannelOrFail()Gets an open channel, which is ready to accept commands.Methods in hudson.remoting with parameters of type ChannelModifier and TypeMethodDescriptionprotected voidprotected JarLoaderJarCacheSupport.getJarLoader(Channel channel) protected URLFileSystemJarCache.lookInCache(Channel channel, long sum1, long sum2) protected abstract URLJarCacheSupport.lookInCache(Channel channel, long sum1, long sum2) Look up the local cache and return URL if found.voidChannel.Listener.onClosed(Channel channel, IOException cause) When the channel was closed normally or abnormally due to an error.voidCalled when a JAR file is being sent to the remote side.voidCalled when a command is successfully received by a channel.voidChannel.Listener.onResponse(Channel channel, Request<?, ?> req, Response<?, ?> rsp, long totalTime) Called when a response has been read from a channel.voidCalled when a command is successfully written to a channel.abstract byte[]Read a byte[] from the underlying transport for the given channel.static CommandReads command from the specified payload.abstract CompletableFuture<URL>Looks up the jar in cache, and if not found, useJarLoaderto retrieve it from the other side.protected URLprotected abstract URLRetrieve the jar file from the givenJarLoader, store it, then return the URL to that jar.final voidAbstractByteArrayCommandTransport.setup(Channel channel, CommandTransport.CommandReceiver receiver) final voidAbstractByteBufferCommandTransport.setup(Channel channel, CommandTransport.CommandReceiver receiver) Starts the transport.abstract voidCommandTransport.setup(Channel channel, CommandTransport.CommandReceiver receiver) Starts the transport.voidSynchronousCommandTransport.setup(Channel channel, CommandTransport.CommandReceiver receiver) abstract voidAbstractByteArrayCommandTransport.writeBlock(Channel channel, byte[] payload) Writes a byte[] to the transport.abstract voidAbstractSynchronousByteArrayCommandTransport.writeBlock(Channel channel, byte[] payload) Writes a byte[] to the transport.Constructors in hudson.remoting with parameters of type ChannelModifierConstructorDescriptionChannelClosedException(Channel channel, String message, Throwable cause) Constructor.ChannelClosedException(Channel channel, Throwable cause) Constructor.PingThread(Channel channel) PingThread(Channel channel, long interval) PingThread(Channel channel, long timeout, long interval) -
Uses of Channel in org.jenkinsci.remoting
Methods in org.jenkinsci.remoting that return ChannelModifier and TypeMethodDescriptionChannelStateException.getChannel()Gets channel associated with the exception.default ChannelSerializableOnlyOverRemoting.getChannelForSerialization()Gets current channel or fails withNotSerializableException.Methods in org.jenkinsci.remoting that return types with arguments of type ChannelConstructors in org.jenkinsci.remoting with parameters of type ChannelModifierConstructorDescriptionChannelStateException(Channel channel, String message) ChannelStateException(Channel channel, String message, Throwable cause) -
Uses of Channel in org.jenkinsci.remoting.engine
Methods in org.jenkinsci.remoting.engine that return ChannelModifier and TypeMethodDescriptionJnlpConnectionState.getChannel()Gets the connection'sChannel.Methods in org.jenkinsci.remoting.engine that return types with arguments of type ChannelModifier and TypeMethodDescriptionJnlpProtocol4Handler.connect(Socket socket, Map<String, String> headers, List<? extends JnlpConnectionStateListener> listeners) Handles an outgoing connection to the server on the supplied socket.JnlpProtocol4ProxyHandler.connect(Socket socket, Map<String, String> headers, List<? extends JnlpConnectionStateListener> listeners) JnlpProtocolHandler.connect(Socket socket, Map<String, String> headers, List<? extends JnlpConnectionStateListener> listeners) Handles an outgoing connection to the server on the supplied socket.JnlpProtocolHandler.connect(Socket socket, Map<String, String> headers, JnlpConnectionStateListener... listeners) Handles an outgoing connection to the server on the supplied socket.JnlpProtocol4Handler.handle(Socket socket, Map<String, String> headers, List<? extends JnlpConnectionStateListener> listeners) Handles an incoming client connection on the supplied socket.JnlpProtocol4ProxyHandler.handle(Socket socket, Map<String, String> headers, List<? extends JnlpConnectionStateListener> listeners) JnlpProtocolHandler.handle(Socket socket, Map<String, String> headers, List<? extends JnlpConnectionStateListener> listeners) Handles an incoming client connection on the supplied socket.JnlpProtocolHandler.handle(Socket socket, Map<String, String> headers, JnlpConnectionStateListener... listeners) Handles an incoming client connection on the supplied socket.Methods in org.jenkinsci.remoting.engine with parameters of type ChannelModifier and TypeMethodDescriptionvoidJnlpConnectionState.fireAfterChannel(Channel channel) Advances the connection state to indicate that the channel has been created. -
Uses of Channel in org.jenkinsci.remoting.nio
Methods in org.jenkinsci.remoting.nio that return ChannelModifier and TypeMethodDescriptionNioChannelBuilder.build(SelectableChannel r, SelectableChannel w) NioChannelBuilder.build(SocketChannel socket) -
Uses of Channel in org.jenkinsci.remoting.protocol.impl
Methods in org.jenkinsci.remoting.protocol.impl that return types with arguments of type ChannelModifier and TypeMethodDescriptionChannelApplicationLayer.get()SPI: Returns the application specific API instance.Methods in org.jenkinsci.remoting.protocol.impl with parameters of type Channel -
Uses of Channel in org.jenkinsci.remoting.util
Methods in org.jenkinsci.remoting.util with parameters of type ChannelModifier and TypeMethodDescriptionvoidLoggingChannelListener.onClosed(Channel channel, IOException cause) voidvoidvoidLoggingChannelListener.onResponse(Channel channel, Request<?, ?> req, Response<?, ?> rsp, long totalTime) void