old_contents: # Module:   events
  # Date:     3rd February 2009
  # Author:   James Mills, prologic at shortcircuit dot net dot au
  
  """Events
  
  This module implements the necessary Events needed.
  """
  
  from circuits import Event
  
  class Request(Event):
      """Request(Event) -> Request Event
  
      args: request, response
      """
  
      success = "request_success", "http"
      failure = "request_failure", "http"
  
  class Response(Event):
      """Response(Event) -> Response Event
  
      args: request, response
      """
  
  class Stream(Event):
      """Stream(Event) -> Stream Event
  
      args: request, response
      """
  
  class Write(Event):
      """Write(Event) -> Write Event
  
      args: sock
      """
  
  class Close(Event):
      """Close(Event) -> Close Event
  
      args: sock
      """
  
new_contents: # Module:   events
  # Date:     3rd February 2009
  # Author:   James Mills, prologic at shortcircuit dot net dot au
  
  """Events
  
  This module implements the necessary Events needed.
  """
  
  from circuits import Event
  
  class Request(Event):
      """Request(Event) -> Request Event
  
      args: request, response
      """
  
      success = "request_success", "http"
      failure = "request_failure", "http"
      before = "before_request", "http"
      filter = "request_filtered", "http"
      start = "request_started", "http"
      end = "request_completed", "http"
  
  class Response(Event):
      """Response(Event) -> Response Event
  
      args: request, response
      """
  
  class Stream(Event):
      """Stream(Event) -> Stream Event
  
      args: request, response
      """
  
  class Write(Event):
      """Write(Event) -> Write Event
  
      args: sock
      """
  
  class Close(Event):
      """Close(Event) -> Close Event
  
      args: sock
      """
  
subject: Define channels for "before", "filter", "start" and "end" feedbacks.