org.eclipse.ecf.remoteservice.client
Interface IRemoteCallParameterSerializer
- All Known Implementing Classes:
- StringParameterSerializer, TrivialParameterServializer
public interface IRemoteCallParameterSerializer
Call parameter serializer. Represents the serializer for remote call parameters.
- Since:
- 4.0
serializeParameter
IRemoteCallParameter serializeParameter(java.lang.String endpoint,
IRemoteCall call,
IRemoteCallable callable,
IRemoteCallParameter paramDefault,
java.lang.Object paramToSerialize)
throws java.io.NotSerializableException
- Serialize a remote call parameter.
- Parameters:
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.
- Returns:
- IRemoteCallParameter the serialized parameter...with appropriate name and serialized value.
- Throws:
java.io.NotSerializableException
- if parameter cannot be serialized.