ServerInterpreter.ServerInterpreter Class Reference


Detailed Description

ServerInterpreter is activated when the session becomes a host of a multiuser session.

It starts a server and through this server broadcasts messages to all connected clients.

#include <class_server_interpreter_1_1_server_interpreter.h>

Inheritance diagram for ServerInterpreter.ServerInterpreter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  __del__ ()
  enableClockSync ()
  activate ()
  Start the server.
  deactivate ()
  Kill the server.
  wantsMessage ()
  If processMessage were to be called at this point would this interpreter handle it?
  processMessage ()
  The message is processed only if it is broadcastable.
  DOCUMENT_LOADED ()
  APPLICATION_CLOSE_SCENE ()
  NEW_CLIENT_CONNECTED ()
  CLIENT_DISCONNECTED ()
  CLIENT_LOADING ()
  CLIENT_LOADED ()
  MODEL_IMPORT_REQUESTED ()
  MODEL_IMPORT_DISPLAYED_ALL ()
  DISPLAY_ENABLE_SYNC_SWAP ()
  FRAME_SYNCHRONIZE_BARRIER ()
  FRAME_SYNCHRONIZE_START ()
  FRAME_SYNCHRONIZE_END ()

Member Function Documentation

ServerInterpreter.ServerInterpreter.__init__ ( )
ServerInterpreter.ServerInterpreter.__del__ ( )
ServerInterpreter.ServerInterpreter.enableClockSync ( )
ServerInterpreter.ServerInterpreter.activate ( )
ServerInterpreter.ServerInterpreter.deactivate ( )

Kill the server.

All clients of this server will be disconnected.

Reimplemented from MessageInterpreter.MessageInterpreter.

ServerInterpreter.ServerInterpreter.wantsMessage ( )

If processMessage were to be called at this point would this interpreter handle it?

Reimplemented from MessageInterpreter.MessageInterpreter.

ServerInterpreter.ServerInterpreter.processMessage ( )

The message is processed only if it is broadcastable.

Broadcastable messages are sent to all the clients of the server.

Reimplemented from MessageInterpreter.MessageInterpreter.

ServerInterpreter.ServerInterpreter.DOCUMENT_LOADED ( )
ServerInterpreter.ServerInterpreter.APPLICATION_CLOSE_SCENE ( )
ServerInterpreter.ServerInterpreter.NEW_CLIENT_CONNECTED ( )
ServerInterpreter.ServerInterpreter.CLIENT_DISCONNECTED ( )
ServerInterpreter.ServerInterpreter.CLIENT_LOADING ( )
ServerInterpreter.ServerInterpreter.CLIENT_LOADED ( )
ServerInterpreter.ServerInterpreter.MODEL_IMPORT_REQUESTED ( )
ServerInterpreter.ServerInterpreter.MODEL_IMPORT_DISPLAYED_ALL ( )
ServerInterpreter.ServerInterpreter.DISPLAY_ENABLE_SYNC_SWAP ( )
ServerInterpreter.ServerInterpreter.FRAME_SYNCHRONIZE_BARRIER ( )
ServerInterpreter.ServerInterpreter.FRAME_SYNCHRONIZE_START ( )
ServerInterpreter.ServerInterpreter.FRAME_SYNCHRONIZE_END ( )

ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter
ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter ServerInterpreter.ServerInterpreter