[GnomeMeeting-devel-list] Doubts on the net.gnomemeeting.accounts interface



Hi,

the interface is not fully implemented yet, and already I'm wondering if it's good enough :-/

I'm wondering if it shouldn't be more like the net.gnomemeeting.calls interface : a specific account/call is determined by a meaningless token, and we get information about that meaningless token.

The current proposed interface is (in dbus introspection format) :
  <interface name="net.gnomemeeting.accounts">
    <method name="GetAccountsList">
      <arg type="as" direction="out"/>
    </method>
    <method name="Register">
      <arg type="s" name="name" direction="in"/>
    </method>
    <method name="Unregister">
        <arg type="s" name="name" direction="in"/>
    </method>
    <method name="ResignalAccountState">
        <arg type="s" name="name" direction="in"/>
    </method>
    <signal name="AccountRegister">
        <arg type="s" name="name"/>
        <arg type="u" name="state"/>
    </signal>
  </interface>

and could perhaps better be :
  <interface name="net.gnomemeeting.accounts">
    <method name="GetAccountsList">
      <arg type="as" direction="out"/>
    </method>
    <method name="Register">
      <arg type="s" name="token" direction="in"/>
    </method>
    <method name="Unregister">
        <arg type="s" name="token" direction="in"/>
    </method>
    <method name="ResignalAccountInfo">
        <arg type="s" name="token" direction="in"/>
    </method>
    <signal name="AccountState">
        <arg type="s" name="token"/>
        <arg type="u" name="state"/>
    </signal>
    <signal name="AccountName">
        <arg type="s" name="token"/>
        <arg type="s" name="name"/>
    </signal>
  </interface>

What do you think about it ?

Snark



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]