[openi18n-im:01540] IIIMP enhancement for IM_FILE_OPERATION

AShiZaWa KaZuNoRi <[email protected]> Thu, 08 Sep 2005 13:34:39 +0900
Newsgroups gmane.comp.internationalization.input-methods
Message-ID <[email protected]>
Hi,

I'd like to add CLIENT_GROUP attribute to Input Method
Attributes.  As I've wrote previously, IIIMCF file operation
agent (or proxy) has no relationship with the X environment.
This means that the Client Descriptor for the agent will not
contain X display information, so IIIMF server can not determine
for which desktop the agent is.  CLIENT_GROUP attribute will be
the key with which IIIMF server identifies agent-desktop pair.
The agent must set IIIMP_CAPABILITY_FILE_OPERATION capability,
of course.

The protocol sequence between file operation agent and IIIMF
server will be the following.  Very simple.

file operation agent                     IIIMF server
         -- IM_CONNECT ----------------->
        <-- IM_PROTOCOL_VERSION --------
        <-- IM_REGISTER_TRIGGER_KEYS ---
        <-- IM_CONNECT_REPLY -----------
         -- IM_SETIMVALUES ------------->
           (CLIENTDESCRIPTOR, CAPABILITY)

        <-- IM_FILE_OPERATION ----------
         -- IM_FILE_OPERATION_REPLY ---->

        <-- IM_FILE_OPERATION ----------
         -- IM_FILE_OPERATION_REPLY ---->
                     .
                     .
                     .

        <-- IM_SETIMVALUES_REPLY -------  no more request
         -- IM_DISCONNECT -------------->
        <-- IM_DISCONNECT_REPLY --------


Please post any concerns, if any.

Thanks,
-- 
kasha