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 Form| Modifier 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?MultiClassLoaderSerializerpublic boolean supportsPipeThrottling()
ProxyOutputStreampublic boolean hasMimicException()
public static Capability read(java.io.InputStream is) throws java.io.IOException
writePreamble(OutputStream).java.io.IOExceptionCopyright © 2013. All Rights Reserved.