ChatApp
Class ChatServer

java.lang.Object
  |
  +--ChatApp.ChatServer

public class ChatServer
extends java.lang.Object

The main program of the Chat Server. The class has one main method that initializes the ORB object and constructs a ChatRegistryServant that will manage registration and messaging. After that it will wait for remote method invokations by clients.


Constructor Summary
ChatServer()
           
 
Method Summary
static void main(java.lang.String[] args)
          The one and only entry to the Chat Server program
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatServer

public ChatServer()
Method Detail

main

public static void main(java.lang.String[] args)
The one and only entry to the Chat Server program
Parameters:
args - The program argumetns. Should include the option -ORBInitialPort and might also include the option -ORBInitialHost if the name service is running on a deferent machine. to run the Chat Server type: java -classpath . ChatApp.ChatServer -ORBInitialPort [-ORBInitialHost ]