App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine.ext.webapp.xmpp_handlers.BaseHandler Class Reference
Inheritance diagram for google.appengine.ext.webapp.xmpp_handlers.BaseHandler:
google.appengine.ext.webapp._webapp25.RequestHandler google.appengine.ext.webapp.xmpp_handlers.CommandHandler

Public Member Functions

def message_received
 
def handle_exception
 
def post
 
- Public Member Functions inherited from google.appengine.ext.webapp._webapp25.RequestHandler
def initialize
 
def get
 
def post
 
def head
 
def options
 
def put
 
def delete
 
def trace
 
def error
 
def redirect
 
def handle_exception
 
def new_factory
 
def get_url
 

Public Attributes

 xmpp_message
 
- Public Attributes inherited from google.appengine.ext.webapp._webapp25.RequestHandler
 request
 
 response
 

Detailed Description

A webapp baseclass for XMPP handlers.

Implements a straightforward message delivery pattern. When a message is
received, message_received is called with a Message object that encapsulates
the relevant details. Users can reply using the standard XMPP API, or the
convenient .reply() method on the Message object.

Member Function Documentation

def google.appengine.ext.webapp.xmpp_handlers.BaseHandler.handle_exception (   self,
  exception,
  debug_mode 
)
Called if this handler throws an exception during execution.

Args:
  exception: the exception that was thrown
  debug_mode: True if the web application is running in debug mode
def google.appengine.ext.webapp.xmpp_handlers.BaseHandler.message_received (   self,
  message 
)
Called when a message is sent to the XMPP bot.

Args:
  message: Message: The message that was sent by the user.

The documentation for this class was generated from the following file: