Package AccessGrid :: Module TextServiceAsynch :: Class TextChannel
[show private | hide private]
[frames | no frames]

Class TextChannel


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 Mon Jan 09 13:23:51 2006 http://epydoc.sf.net