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 FormModifier and Type | Field and Description |
---|---|
static Capability |
NONE |
Constructor and Description |
---|
Capability() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMimicException() |
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
?MultiClassLoaderSerializer
public boolean supportsPipeThrottling()
ProxyOutputStream
public boolean hasMimicException()
public static Capability read(InputStream is) throws IOException
writePreamble(OutputStream)
.IOException
Copyright © 2013. All rights reserved.