uba.db.sql.server
Class Server

java.lang.Object
  extended by uba.db.sql.server.Server

public class Server
extends java.lang.Object

Version:
$Revision$

Constructor Summary
Server(java.net.InetSocketAddress serverAddress, java.io.File databaseDirectory)
           
 
Method Summary
 boolean isRunning()
           
 void start()
           
protected  void startWhenStopped()
           
 void stop()
           
protected  void stopWhenRunning()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Server

public Server(java.net.InetSocketAddress serverAddress,
              java.io.File databaseDirectory)
Method Detail

isRunning

public boolean isRunning()

start

public void start()
           throws ServerStartUpException,
                  ServerAlreadyRunningException
Throws:
ServerStartUpException
ServerAlreadyRunningException

stop

public void stop()
          throws ServerAlreadyStoppedException
Throws:
ServerAlreadyStoppedException

startWhenStopped

protected void startWhenStopped()
                         throws ServerStartUpException
Throws:
ServerStartUpException

stopWhenRunning

protected void stopWhenRunning()


Copyright © -2005 . All Rights Reserved.