webserver.jettywebserver
Class JettyWebServer

java.lang.Object
  extended by java.util.Observable
      extended by webserver.jettywebserver.JettyWebServer
All Implemented Interfaces:
BrisaWebServer

public class JettyWebServer
extends java.util.Observable
implements BrisaWebServer


Constructor Summary
JettyWebServer()
           
 
Method Summary
 void addNewObserver(java.util.Observer o)
           
 int getPort()
           
 boolean isRunning()
           
 void setBrisaDevice(BrisaDevice brisaDevice)
           
 void setPort(int port)
           
 void start()
          Start JBRisa Web Server
 void stop()
          Stop JBrisa Web Server
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyWebServer

public JettyWebServer()
Method Detail

addNewObserver

public void addNewObserver(java.util.Observer o)
Specified by:
addNewObserver in interface BrisaWebServer

setPort

public void setPort(int port)
Specified by:
setPort in interface BrisaWebServer

getPort

public int getPort()
Specified by:
getPort in interface BrisaWebServer

setBrisaDevice

public void setBrisaDevice(BrisaDevice brisaDevice)
Specified by:
setBrisaDevice in interface BrisaWebServer

start

public void start()
Start JBRisa Web Server

Specified by:
start in interface BrisaWebServer

stop

public void stop()
Stop JBrisa Web Server

Specified by:
stop in interface BrisaWebServer

isRunning

public boolean isRunning()
Specified by:
isRunning in interface BrisaWebServer
Returns:
is Running