Package AccessGrid :: Module EventServiceAsynch :: Class EventChannel
[show private | hide private]
[frames | no frames]

Class EventChannel


Method Summary
  __init__(self, server, id, authCallback)
  __del__(self)
  AddConnection(self, event, connObj)
  AuthorizeNewConnection(self, event, connObj)
An event has come in on a previously unconnected connection object connObj.
  Distribute(self, data)
Distribute the event contained in data to the connections in this channel.
  GetId(self)
  HandleEvent(self, event, connObj)
Handle an incoming event from connObj.
  RegisterCallback(self, eventType, callback)
Register callback as a handler for events of type eventType.
  RegisterChannelCallback(self, callback)
Register callback as a handler for all events on this channel.
  RemoveConnection(self, connObj)

Method Details

AuthorizeNewConnection(self, event, connObj)

An event has come in on a previously unconnected connection object connObj. See if we want to allow this connection to be attached to this channel.

Distribute(self, data)

Distribute the event contained in data to the connections in this channel.

HandleEvent(self, event, connObj)

Handle an incoming event from connObj.

RegisterCallback(self, eventType, callback)

Register callback as a handler for events of type eventType.

RegisterChannelCallback(self, callback)

Register callback as a handler for all events on this channel.


Generated by Epydoc 2.1 on Thu Apr 14 16:39:27 2005 http://epydoc.sf.net