org.alicebot.server.net
Interface AliceCompatibleHttpServer

All Superinterfaces:
BotProcess, java.lang.Runnable
All Known Implementing Classes:
JettyWrapper

public interface AliceCompatibleHttpServer
extends BotProcess

Specifies the methods that an http server must implement in order to be compatible with Program D.

Author:
Noel Bush

Method Summary
 void configure(java.lang.String configFilePath)
          Configures the http server given the path or URL to a configuration file.
 void run()
          Starts the http server.
 
Methods inherited from interface org.alicebot.server.core.BotProcess
shutdown
 

Method Detail

configure

void configure(java.lang.String configFilePath)
               throws java.io.IOException
Configures the http server given the path or URL to a configuration file.

Parameters:
configFilePath - path or URL for a configuration file
Throws:
java.io.IOException - if the configuration file cannot be read

run

void run()
Starts the http server.

Specified by:
run in interface java.lang.Runnable