Class SocketServer
In: daimoku-server/matrix-extensions.rb
Parent: Object

Referenced into the Simulation

The SocketServer class is the high level class that allows the Player to create a line-oriented TCP server.

The SocketServer will only listen on ports 2010 to 2260

Methods

new   randid   sandbox=   servers   start   stop  

Public Class methods

Initalize with an initialized SocketServerHandler

port offset should be from 0 to 255

 ssh = SocketServerHandler.new IOjoe3845T23N
 ss = SocketServer.new(ssh, 2010, 0)
 ss.start

 To stop the SocketServer:
 ss.stop

The sandbox is the simulation

Read access to the servers

Public Instance methods

Starts the socket server

Stops the Socket Server

[Validate]