au.com.solidsoftware.multimahjong.mms
Class MultiMahjongServer

java.lang.Object
  |
  +--au.com.solidsoftware.multimahjong.mms.MultiMahjongServer

public class MultiMahjongServer
extends java.lang.Object

The MultiMahjongServer class is the entry point for the MultiMahjongServer program. It contains the main method of the program.

Author:
Michael Hart

Constructor Summary
MultiMahjongServer()
           
 
Method Summary
static void main(java.lang.String[] args)
          Begins the MultiMahjongServer program.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

MultiMahjongServer

public MultiMahjongServer()
Method Detail

main

public static void main(java.lang.String[] args)
Begins the MultiMahjongServer program. Initially, it creates an RMISecurityManager to prepare for creation of the Registrar. Then it tries to create a new Registrar with a reference to a new GamesList. Finally, it binds the Registrar to the localhost. If it fails in the creation of the Registrar, the exception is caught and the program exits.
See Also:
GamesList, Registrar