Your best bet is probably to start Switchboard in a different thread
before starting the event loop. You can hang on to a reference to the
client in your main thread and send messages with that in
`bubbleEvent`. This way Switchboard will be able to hang out and do
its own thing without interfering / blocking what you're doing.
seht
OK, very nearly there! I have a ref to a switchboard connection thread
passed in where I need it:
http://svn.foaf-project.org/foaftown/buttons/osx/buttonhole_surfer.rb
However I miss in the documentation an example for the simplest of
things: sending off a message. Is this because Switchboard uses other
libraries whose documentation I'm missing?
cheers,
Dan
Yup. Switchboard is essentially a wrapper around xmpp4r, so
`switchboard.client` will give you access to a `Jabber::Client`
object. Docs for that are here: http://home.gna.org/xmpp4r/rdoc/
seth