T - the proxified classprotected static class SerializationProxy.Type<T extends Serializable> extends Object
| Constructor and Description |
|---|
Type(Class<T> clazz)
Creates a new instance of type.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSlot()
The slot number if the class is registered.
|
String |
getTargetName() |
T |
proxyNew(ObjectInput in)
Creates a new instance of the proxified class calling one mandatory ctors(DataInput).
|
void |
proxyWrite(T proxy,
ObjectOutput out)
Writes a proxified instance through an output calling one mandatory method write(DataOutput).
|
public int getSlot()
public String getTargetName()
public T proxyNew(ObjectInput in)
in - the inputSerializationProxy.ProxyException - if any error occurspublic void proxyWrite(T proxy, ObjectOutput out)
proxy - the proxyout - the outSerializationProxy.ProxyException - if any error occursCopyright © 2024 The Apache Software Foundation. All rights reserved.