[JDEV] Components that broadcast?
Trejkaz Xaoza
trejkaz at xaoza.net
Thu Feb 5 05:10:38 CST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 5 Feb 2004 20:20, Bret D. Wortman wrote:
> I need to write a component that's capable of sending a message to all
> clients currently connected to a server. Does anyone have experience doing
> this?
>
> Is it possible to get a list of connected users from the server, or is
> there another mechanism that can be used to ensure all clients get a
> message?
Supposing your server were jabber.example.com, browsing
jabber.example.com/admin gives you a list of all online users, or simply
sending a message to jabber.example.com/announce/online will send a message
to all online users.
You can do either of these logged in as an admin user; how this applies to
components I'm not entirely sure, but they might be permitted to use the same
thing.
TX
- --
'Every sufficiently advanced technology is indistinguishable from magic' -
Arthur C Clarke
'Every sufficiently advanced magic is indistinguishable from technology' - Tom
Graves
Email: Trejkaz Xaoza <trejkaz at xaoza.net>
Web site: http://xaoza.net/trejkaz/
Jabber ID: trejkaz at jabber.xaoza.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAIiSwmifzwBMPxxoRAh1qAJ9EZLwJvfnRbzbN50BO1/Yshv+RuwCdGtJM
31ZF0vlWtH+5uDWzC/fJTyQ=
=ZI5B
-----END PGP SIGNATURE-----
More information about the JDev
mailing list