Interface IRemoteCallParameterSerializer

    • Method Detail

      • serializeParameter

        IRemoteCallParameter serializeParameter​(String endpoint,
                                                IRemoteCall call,
                                                IRemoteCallable callable,
                                                IRemoteCallParameter paramDefault,
                                                Object paramToSerialize)
                                         throws 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:
        NotSerializableException - if parameter cannot be serialized.