com.planet_ink.coffee_mud.core.intermud.i3.server
Class I3Server

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.intermud.i3.server.I3Server

public class I3Server
extends java.lang.Object

The Server class is the mudlib's interface to the Imaginary Mud Server. It is responsible with knowing all internal information about the server. Last Update: 960921


Constructor Summary
I3Server()
           
 
Method Summary
static ServerObject copyObject(java.lang.String file)
          Returns a distinct copy of the class identified.
static ServerObject findObject(java.lang.String file)
          Returns original of the class identified.
static ServerUser[] getInteractives()
           
static java.lang.String getMudName()
           
static int getPort()
           
static void removeObject(ServerObject ob)
           
static void shutdown()
           
static void start(java.lang.String mud, int port, ImudServices imud)
          Creates a server thread if one has not yet been created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I3Server

public I3Server()
Method Detail

start

public static void start(java.lang.String mud,
                         int port,
                         ImudServices imud)
                  throws ServerSecurityException
Creates a server thread if one has not yet been created.

Parameters:
mud - the name of the mud being started
port - the port of the server
imud - a library for interaction with base system
Throws:
ServerSecurityException - thrown if an attempt to call start() is made once the server is running.

copyObject

public static ServerObject copyObject(java.lang.String file)
                               throws ObjectLoadException
Returns a distinct copy of the class identified.

Parameters:
file - the name of the class being loaded
Returns:
a distinct copy of the class identified
Throws:
ObjectLoadException - thrown when a problem occurs loading the object

findObject

public static ServerObject findObject(java.lang.String file)
                               throws ObjectLoadException
Returns original of the class identified.

Parameters:
file - the name of the class being loaded
Returns:
original of the class identified
Throws:
ObjectLoadException - thrown when a problem occurs loading the object

getInteractives

public static ServerUser[] getInteractives()

getMudName

public static java.lang.String getMudName()

getPort

public static int getPort()

shutdown

public static void shutdown()

removeObject

public static void removeObject(ServerObject ob)