Using D-BUS messages for event handling

Havoc Pennington hp@redhat.com
Wed, 28 May 2003 10:34:04 -0400


On Wed, May 28, 2003 at 10:51:03AM +0300, Jarmo.Nikula@nokia.com wrote:
> 
> But many clients can authenticate to one server at a time, right?
> Then it is probably possible to implement a server that sends all
> it's events to all the clients who are currently authenticated,
> using DATA command. This is not exactly what we need, but could do
> somehow.

Note that the DATA command is part of the auth protocol - the auth
protocol isn't used once authentication has succeeded. Once auth
succeeds you switch over to sending messages in the binary protocol.

> Is it so that client can then use CANCEL command to unauthenticate
> (unregister) from the server? If so, we could live by using the
> commands as follows:

To unregister from the server, right now you simply close down the
connection.

Havoc