Class SimulationServer
In: daimoku-server/matrixserver.rb
Parent: Sandbox::IRBServer

A socket server that accepts socket connections and assigns them to a SimulationClient on a per Thread basis. Uses a simple timer system to kill any SimulationClient that may be taking too long.

Methods

new   process_client   run  

Constants

CONFIG = YAML.load_file '/usr/local/daimoku-server/npc.yaml'

Public Class methods

Initialize the Simulation, especially the Sandbox and the supporting classes that make up the Daimoku system.

Public Instance methods

Processes each socket connection. Normal clients are assigned the SimulationIRB. The special ‘architect’ account is assigned the ArchitectIRB which has more functionality for managing the Gameworld and system.

Runs the thing. It returns the thread used so you can "join" it. You can also access the HttpServer::acceptor attribute to get the thread later.

[Validate]