org.tranche
Class LocalDataServer
java.lang.Object
org.tranche.LocalDataServer
public class LocalDataServer
- extends java.lang.Object
There can be only one local data server.
- Author:
- James "Augie" Hill - augman85@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getFlatFileTrancheServer
public static FlatFileTrancheServer getFlatFileTrancheServer()
- Returns:
getServer
public static Server getServer()
- Returns:
isServerRunning
public static boolean isServerRunning()
- Returns:
getRootDirectory
public static java.io.File getRootDirectory()
- Returns:
setRootDirectory
public static void setRootDirectory(java.io.File rootDir)
- Parameters:
rootDir -
getPort
public static int getPort()
- Returns:
setPort
public static void setPort(int port)
- Parameters:
port -
isSSL
public static boolean isSSL()
- Returns:
setSSL
public static void setSSL(boolean ssl)
- Parameters:
ssl -
getUserZipFile
public static UserZipFile getUserZipFile()
- Returns:
setUserZipFile
public static void setUserZipFile(UserZipFile userZipFile)
- Parameters:
userZipFile -
start
public static void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public static void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception
printUsage
public static void printUsage()
main
public static void main(java.lang.String[] args)
- Parameters:
args -
This code is free for use both commercially and non-commercially as stated in the project's license