public abstract class ChannelConfigurator extends Object implements ExtensionPoint
Channeland tweak its configuration.
|Constructor and Description|
|Modifier and Type||Method and Description|
All the registered
Called whenever a new channel is being built.
public void onChannelBuilding(hudson.remoting.ChannelBuilder builder, @Nullable Object context)
builder- Configures the newly built channel. The callee can call its methods to modify its settings.
context- The parameter that helps the callee determines what this channel is for. Legacy callers do not always provide this information, in which case this value might be null. Possible known values include:
Channels.forProcess(String, ExecutorService, Process, OutputStream)or overloads are used without a contextual
Copyright © 2004–2021. All rights reserved.