Monday, November 08, 2010 at 12:06 AM.
system.verbs.builtins.tcp.im.builtinDrivers.jabber.code.deleteHandler
on deleteHandler (handlerType, connection = nil, namespace = "") {
<<Changes:
<<5/13/02; 11:03:58 PM by JB
<<Changelog created.
if connection == nil {
connection = @system.temp.jabber.connection};
local ( handlerAdr = @user.im.jabber.handlers[string(connection)][handlerType] );
if not defined (handlerAdr^) {
return};
if handlerType == "iq" {
try { delete ( @handlerAdr^[namespace] ); }}
else {
try { delete ( handlerAdr ); }}};
deleteHandler ( "iq", namespace: "jabber:x:test" )
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.