Package AccessGrid :: Module Venue :: Class VenueClientState
[show private | hide private]
[frames | no frames]

Class VenueClientState


Instances of the VenueClientState class hold the per-client state that the venue cares about. This includes the client's profile, the last time a heartbeat was received from the client, the client's connections to the text and event services, and any queues of events waiting to be delivered to those services (after the client connects, before the client's event client connects to the service).
Method Summary
  __init__(self, venue, privateId, profile)
  __repr__(self)
  CloseEventChannel(self)
Close down our connection to the event service.
  CloseTextChannel(self)
  GetClientProfile(self)
  GetLastHeartbeat(self)
  GetPrivateId(self)
  GetPublicId(self)
  GetTimeSinceLastHeartbeat(self, now)
  SendEvent(self, marshalledEvent)
  SetConnection(self, connObj)
We've gotten a connection from the event client.
  SetTextConnection(self, conn)
  UpdateAccessTime(self)
  UpdateClientProfile(self, profile)

Method Details

CloseEventChannel(self)

Close down our connection to the event service.

SetConnection(self, connObj)

We've gotten a connection from the event client.

Send the accumulated events, if any.

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