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>
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 () |
ServerInterpreter.ServerInterpreter.__init__ | ( | ) |
Reimplemented from MessageInterpreter.MessageInterpreter.
ServerInterpreter.ServerInterpreter.__del__ | ( | ) |
Reimplemented from MessageInterpreter.MessageInterpreter.
ServerInterpreter.ServerInterpreter.enableClockSync | ( | ) |
ServerInterpreter.ServerInterpreter.activate | ( | ) |
Start the server.
Reimplemented from MessageInterpreter.MessageInterpreter.
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 | ( | ) |