|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.database.dbserver.DBServerMain
public class DBServerMain
Title: DBServerMain
Description: The main class for the data model server
Company: Altair Engineering, Inc.
Constructor Summary | |
---|---|
DBServerMain(java.lang.String[] arrstrArgs)
Constructor |
Method Summary | |
---|---|
void |
ExtractArgs(java.lang.String[] arrstrArgs)
Parses the cmd line args to extract the port number and if the args is incorrect - prints out the usage |
static void |
main(java.lang.String[] arrstrArgs)
The main method for the server |
void |
PrintUsage()
Prints out the usage |
void |
StartServer()
Creates and starts the thread that accepts clients |
void |
StopServer()
Creates a socket cxn to a given server with given port # and sends the "stop" signal to end the server |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBServerMain(java.lang.String[] arrstrArgs)
arrstrArgs
- The cmd line argsMethod Detail |
---|
public void PrintUsage()
public void ExtractArgs(java.lang.String[] arrstrArgs) throws java.lang.Exception
arrstrArgs
- The cmd line args
java.lang.Exception
public void StartServer()
java.io.IOException
public void StopServer()
public static void main(java.lang.String[] arrstrArgs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |