-
InterfaceDescriptionDo not use, intended as a temporary workaround only.
-
ExceptionsDescriptionOnly used by deprecated
ClassFilter.appendDefaultFilter(java.util.regex.Pattern)
.Does not actually do what it claims; only affects logging levels.
-
FieldDescriptionuse
ClassFilter.setDefault(hudson.remoting.ClassFilter)
as neededUseEngine.events
.useLauncher.secret
andLauncher.name
removed without replacementremoved without replacementremoved without replacementremoved without replacement
-
MethodDescriptionpass true to
AbstractByteBufferCommandTransport(boolean)
and implementAbstractByteBufferCommandTransport.write(ByteBuffer)
no longer usedas of 3.39as of 3.39Future 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.Use methods likeChannel.isRemoteClassLoadingAllowed()
andChannel.isArbitraryCallableAllowed()
to test individual features.Use methods likeChannel.setRemoteClassLoadingAllowed(boolean)
andChannel.setArbitraryCallableAllowed(boolean)
to control individual features.BecauseChannelProperty
is identity-equality, this method would never work. This is a design error.Test individual features instead.Control individual features.useClassFilter.setDefault(hudson.remoting.ClassFilter)
as neededremoved without replacementremoved without replacementremoved without replacementremoved without replacementas of 2.9 OverridePingThread.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.(3.4) useSubnetUtils.SubnetInfo.getAddressCountLong()
instead
-
ConstructorDescriptionas of 2.24 Use
ChannelBuilder
ChannelBuilder(name, exec) .withMode(mode) .build(is, os)as of 2.24 UseChannelBuilder
ChannelBuilder(name, exec) .withMode(mode) .withHeaderStream(header) .withArbitraryCallableAllowed(true) .withRemoteClassLoadingAllowed(true) .build(is, os)as of 2.24 UseChannelBuilder
ChannelBuilder(name, exec) .withMode(mode) .withHeaderStream(header) .withArbitraryCallableAllowed(!restricted) .withRemoteClassLoadingAllowed(!restricted) .withBaseLoader(base) .build(is, os)as of 2.24 UseChannelBuilder
ChannelBuilder(name, exec) .withMode(mode) .withHeaderStream(header) .withArbitraryCallableAllowed(!restricted) .withRemoteClassLoadingAllowed(!restricted) .withBaseLoader(base) .build(is, os)as of 2.24 UseChannelBuilder
ChannelBuilder(name, exec) .withArbitraryCallableAllowed(!restricted) .withRemoteClassLoadingAllowed(!restricted) .withBaseLoader(base) .build(transport)as of 2.38 UseChannelBuilder
ChannelBuilder(name, exec) .withArbitraryCallableAllowed(!restricted) .withRemoteClassLoadingAllowed(!restricted) .withBaseLoader(base) .withJarCache(jarCache) .build(transport)as of 2.24 UseChannelBuilder
ChannelBuilder(name, exec) .withMode(Channel.Mode.BINARY) .build(is, os)as of 2.24 UseChannelBuilder
ChannelBuilder(name, exec) .withMode(Channel.Mode.BINARY) .withHeaderStream(header) .build(is, os)UseChannelClosedException(Throwable)
orChannelClosedException(String, Throwable)
. This constructor will not include cause of the termination.as of 1.350 bufferSize parameter is ignored.as of 2.53as of 2.35 UseRemoteInputStream(InputStream, Flag)
and specify eitherRemoteInputStream.Flag.GREEDY
orRemoteInputStream.Flag.NOT_GREEDY
.as of 2.35 UseRemoteInputStream(InputStream, Flag, Flag)
withRemoteInputStream.Flag.MANUAL_UNEXPORT
. Also specify eitherRemoteInputStream.Flag.GREEDY
orRemoteInputStream.Flag.NOT_GREEDY
.UseUnexportCommand(int, Throwable)
CallableDecorator