public final class Capability
extends java.lang.Object
implements java.io.Serializable
Channel
.
Each Channel
exposes its capability to Channel.getProperty(Object)
.
This mechanism allows two different versions of remoting.jar to talk to each other.
Channel.remoteCapability
,
Serialized FormModifier and Type | Field and Description |
---|---|
static Capability |
NONE |
Constructor and Description |
---|
Capability() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMimicException() |
static Capability |
read(java.io.InputStream is)
The opposite operation of
writePreamble(OutputStream) . |
boolean |
supportsMultiClassLoaderRPC()
Does this implementation supports multi-classloader serialization in
UserRequest ? |
boolean |
supportsPipeThrottling()
Does the implementation supports window size control over pipes?
|
public static final Capability NONE
public boolean supportsMultiClassLoaderRPC()
UserRequest
?MultiClassLoaderSerializer
public boolean supportsPipeThrottling()
ProxyOutputStream
public boolean hasMimicException()
public static Capability read(java.io.InputStream is) throws java.io.IOException
writePreamble(OutputStream)
.java.io.IOException
Copyright © 2013. All Rights Reserved.