Package | Description |
---|---|
hudson.remoting |
Remoting infrastructure for Hudson.
|
org.jenkinsci.remoting.engine | |
org.jenkinsci.remoting.nio |
Modifier and Type | Method and Description |
---|---|
ChannelBuilder |
ChannelBuilder.with(CallableDecorator decorator) |
ChannelBuilder |
ChannelBuilder.withArbitraryCallableAllowed(boolean b)
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 is true . |
ChannelBuilder |
ChannelBuilder.withBaseLoader(ClassLoader base)
Specify the classloader used for deserializing remote commands.
|
ChannelBuilder |
ChannelBuilder.withCapability(Capability capability)
Controls the capabilities that we'll advertise to the other side.
|
ChannelBuilder |
ChannelBuilder.withClassFilter(ClassFilter filter)
Replaces the
ClassFilter used by the channel. |
ChannelBuilder |
ChannelBuilder.withHeaderStream(OutputStream header)
If non-null, receive the portion of data in is before
the data goes into the "binary mode".
|
ChannelBuilder |
ChannelBuilder.withJarCache(JarCache jarCache) |
ChannelBuilder |
ChannelBuilder.withMode(Channel.Mode mode)
The encoding to be used over the stream.
|
<T> ChannelBuilder |
ChannelBuilder.withProperty(ChannelProperty<T> key,
T value) |
ChannelBuilder |
ChannelBuilder.withProperty(Object key,
Object value)
Sets the property.
|
ChannelBuilder |
ChannelBuilder.withRemoteClassLoadingAllowed(boolean b)
Controls whether or not this channel is willing to load classes from the other side.
|
ChannelBuilder |
ChannelBuilder.withRestricted(boolean restricted)
Deprecated.
Control individual features.
|
ChannelBuilder |
ChannelBuilder.withRoleChecker(RoleChecker checker)
Installs another
RoleChecker . |
ChannelBuilder |
ChannelBuilder.withRoles(Collection<? extends Role> actual)
Convenience method to install
RoleChecker that verifies against the fixed set of roles. |
ChannelBuilder |
ChannelBuilder.withRoles(Role... roles)
Convenience method to install
RoleChecker that verifies against the fixed set of roles. |
Constructor and Description |
---|
Channel(ChannelBuilder settings,
CommandTransport transport) |
Modifier and Type | Method and Description |
---|---|
ChannelBuilder |
JnlpServerHandshake.createChannelBuilder(String nodeName) |
Modifier and Type | Method and Description |
---|---|
Channel |
JnlpProtocol.establishChannel(Socket socket,
ChannelBuilder channelBuilder)
Performs a handshake with the master and establishes a
Channel . |
Modifier and Type | Class and Description |
---|---|
class |
NioChannelBuilder
ChannelBuilder subtype for NioChannelHub . |
Copyright © 2017. All rights reserved.