public interface IRemoteCallParameterSerializer
Modifier and Type | Method and Description |
---|---|
IRemoteCallParameter[] |
serializeParameter(String endpoint,
IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter[] currentParameters,
Object[] paramToSerialize)
Serializes all remote call parameters of this call.
|
IRemoteCallParameter |
serializeParameter(String endpoint,
IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter paramDefault,
Object paramToSerialize)
Serialize a remote call parameter.
|
IRemoteCallParameter serializeParameter(String endpoint, IRemoteCall call, IRemoteCallable callable, IRemoteCallParameter paramDefault, Object paramToSerialize) throws NotSerializableException
endpoint
- the endpoint. Should not be null
.call
- the call associated with the parameter to serialize. Will not be null
.callable
- the callable associated with the parameter to serialize. Will not be null
.paramDefault
- the default value (from the callable), for the parameter to serialize.paramToSerialize
- the actual parameter value to serialize.NotSerializableException
- if parameter cannot be serialized.IRemoteCallParameter[] serializeParameter(String endpoint, IRemoteCall call, IRemoteCallable callable, IRemoteCallParameter[] currentParameters, Object[] paramToSerialize) throws NotSerializableException
IRemoteCallParameter
serializeParameter(String, IRemoteCall, IRemoteCallable, IRemoteCallParameter, Object)
and allows to override its results (read override IRemoteCallParameters).endpoint
- the endpoint. Should not be null
.call
- the call associated with the parameter to serialize. Will not be null
.callable
- the callable associated with the parameter to serialize. Will not be null
.currentParameters
- the list of current parameters (from the callable) that would be sendparamToSerialize
- all parameters to serialize.NotSerializableException
- if a parameter cannot be serialized.Copyright © 2017 Eclipse Foundation. All rights reserved.