socket
Class DialogueServerHandler

java.lang.Object
  extended by socket.DialogueServerHandler

public class DialogueServerHandler
extends java.lang.Object


Field Summary
private  ApplicationState appState
           
private  CalendarConfiguration calendarConf
           
private static OSProcess dialogServerProcess
           
private static java.util.logging.Logger logger
           
 
Constructor Summary
DialogueServerHandler(CalendarConfiguration calendarConf, ApplicationState appState)
          Constructor
 
Method Summary
 ApplicationState getAppState()
           
protected  void reconfigure(ApplicationState newAppState)
           
 boolean shutdown()
           
 void startup()
          Runs the external command that starts dialogue server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static java.util.logging.Logger logger

calendarConf

private final CalendarConfiguration calendarConf

appState

private ApplicationState appState

dialogServerProcess

private static OSProcess dialogServerProcess
Constructor Detail

DialogueServerHandler

public DialogueServerHandler(CalendarConfiguration calendarConf,
                             ApplicationState appState)
Constructor

Parameters:
calendarRootComponent -
calendarConf -
appState -
Method Detail

getAppState

public ApplicationState getAppState()

startup

public void startup()
             throws java.lang.Exception
Runs the external command that starts dialogue server.

Throws:
java.lang.Exception

shutdown

public boolean shutdown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

reconfigure

protected void reconfigure(ApplicationState newAppState)
                    throws java.lang.Exception
Parameters:
newAppState -
Throws:
java.lang.Exception