IClientProxy

    Description:

    Defines the client proxy object.

    This object is used for the IPC with the server. If you want to use the same invocation mode as that on the server, create an object inherited from

    and implement serialization.

    Since:

    1.0

    Version:

    Summary

    Details

    INHERIT_IUNKNOWN

    Inherites the base class.

    Description:

    Sends an IPC message from the client to the IServerProxy.

    This function is used for IPC. The passed proxy is used to obtain the server information. Then, request carries the request message to be sent to the server and processed by the function specified by funcId. notify is a callback function used to process the response message.

    Parameters:

    Name

    Description

    proxy Indicates the pointer of the client proxy object.
    funcId Indicates the ID of the function implemented on the server.
    request Indicates the pointer to the serialized request message.
    owner Indicates the receiver (generics type) of the response message.
    notify Indicates the callback function that notifies the client of the response message.

    Returns EC_SUCCESS if the IPC message is sent successfully; returns other error codes if the message fails to be sent.