public final class Capability extends Object implements 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 Form| Modifier and Type | Field and Description |
|---|---|
static Capability |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static Capability |
read(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?MultiClassLoaderSerializerpublic boolean supportsPipeThrottling()
ProxyOutputStreampublic static Capability read(InputStream is) throws IOException
writePreamble(OutputStream).IOExceptionCopyright © 2015. All Rights Reserved.