Package svs_simulation :: Package world :: Module processes :: Class ProcessHandlerProxy
[show private | hide private]
[frames | no frames]

Class ProcessHandlerProxy

ProcessHandler --+
                 |
                ProcessHandlerProxy

Known Subclasses:
EntityGroupProcessHandlerProxy

Represents remote process handler to world.
Method Summary
  __init__(self, localClient)
  connectToClient(self, remoteClient)
Called when client connects to world, forwards necessary data.
  disconnectFromClient(self)
Called when client discconnects from world.
  notifyOfEvents(self, events)
Forwards event messages.
  startWorld(self, simTime)
Forwards start call from world.
  stopWorld(self, simTime)
Forwards stop call from world.
  updateWorld(self, simTime)
Forwards update call from world.
    Inherited from ProcessHandler
  addComponent(self, component)
Adds new component to process making sure that it is not already present.
  addToWorld(self, world)
Called when added to simulation world.
  decode(self, data)
Applies encoded data to self.
  encode(self)
Returns encoded representation of self.
  getChanges(self)
Return changes that have occurred during last update.
  postEvent(self, event)
Receives change event from component.
  setup(self, name)

Method Details

connectToClient(self, remoteClient)

Called when client connects to world, forwards necessary data.

disconnectFromClient(self)

Called when client discconnects from world.

notifyOfEvents(self, events)

Forwards event messages.
Overrides:
svs_simulation.world.processes.ProcessHandler.notifyOfEvents

startWorld(self, simTime)

Forwards start call from world.
Overrides:
svs_simulation.world.processes.ProcessHandler.startWorld

stopWorld(self, simTime)

Forwards stop call from world.
Overrides:
svs_simulation.world.processes.ProcessHandler.stopWorld

updateWorld(self, simTime)

Forwards update call from world.
Overrides:
svs_simulation.world.processes.ProcessHandler.updateWorld

Generated by Epydoc 2.1 on Thu Oct 20 15:30:29 2005 http://epydoc.sf.net