Google

# File jabber4r/session.rb, line 351

    def set_subscription_handler(handler=nil, &block)

      @subscriptionHandler = handler.new(self) if handler

      @subscriptionHandler = block if block_given? and !handler

    end