[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: dcop Q
From:       ian reinhart geiser <geiseri () yahoo ! com>
Date:       2002-02-28 12:26:21
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 28 February 2002 07:11 am, David Faure wrote about Re: dcop Q:
> On Thursday 28 February 2002 13:06, ian reinhart geiser wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On Thursday 28 February 2002 06:39 am, Thomas Zander wrote about dcop Q:
> > >     kapp->dcopClient()->send( "*", "KIO::Scheduler",
> > >                               "reparseSlaveConfiguration(QString)",
> > > data );
> >
> > I dont think "*" is allowed in send/call...  Waldo?
>
> It sure is. That's called a broadcast.
Ah, this is what confused me:
(kdelibs/dcop/HOWTO)
	N.B.: You cannot call() a method belonging to an application which has
	registered with an unique numeric id appended to its textual name (see
	dcopclient.h for more info). In this case, DCOP would not know which
	application it should connect with to call the method. This is not an issue
	with send(), as you can broadcast to all applications that have registered
	with appname-<numeric_id> by using a wildcard (e.g. 'konsole-*'), which
	will send your signal to all applications called 'konsole'.

Somehow I got it stuck in my head that you could do a "someapp-*" but not a 
"*".  Thanks for clearing that up.

cheers
	-ian reinhart geiser  
- -- 
:-- Ian Reinhart Geiser --:
GPG Key: D6A6 7E16 13A9 B5A7 9E18 D1A7 3F2E B64D 19BC 76F8
===========================================================
===========================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8fiHuPy62TRm8dvgRArohAKC9dwMvZ9Pl92OEyi7pJgp61WmtiwCcCJfQ
DlVUWEqeuHiFAw7YbrGmorc=
=RrcI
-----END PGP SIGNATURE-----


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic