Monday, November 08, 2010 at 12:06 AM.
system.verbs.builtins.tcp.im.builtinDrivers.jabber.start
on start () {
<<Changes
<<7/30/02; 2:10:27 PM by JES
<<Set user.im.jabber.flActive to true. If we fail to start, then re-set it to false. This boolean is checked by the everyMinute script.
<<5/15/02; 12:26:12 PM by JB
<<Created.
user.im.jabber.flActive = true;
try {
if not defined ( system.temp.jabber.connection ) {
tcp.im.builtinDrivers.jabber.code.openConnection ()};
tcp.im.builtinDrivers.jabber.code.registerHandler ("message", @tcp.im.builtinDrivers.jabber.code.examples.tcpImServer)}
else {
user.im.jabber.flActive = false;
scriptError (tryError)}};
start()
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.