server
Class NetCalendarServer

java.lang.Object
  extended byjava.lang.Thread
      extended byserver.NetCalendarServer
All Implemented Interfaces:
java.lang.Runnable

public class NetCalendarServer
extends java.lang.Thread

This is the main class of the server part of the netcalendar suite. It contains the server socket part and hold a references to the calendar database.

Author:
buetow

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
NetCalendarServer(int iPort, java.lang.String sWorkdir)
          Creates a NetCalendarServer instance and runs it as a thread.
 
Method Summary
 void run()
          This method specifies the start method of the Thread.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetCalendarServer

public NetCalendarServer(int iPort,
                         java.lang.String sWorkdir)
Creates a NetCalendarServer instance and runs it as a thread.

Parameters:
iPort - Specifies the server port of the server to be used.
sWorkdir - Specifies the working directory of the server.
Method Detail

run

public void run()
This method specifies the start method of the Thread. Its setting up the server port.