|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jetrix.services.AbstractService
net.jetrix.listeners.HttpListener
public class HttpListener
Web administration console.
Field Summary |
---|
Fields inherited from class net.jetrix.services.AbstractService |
---|
autoStart |
Constructor Summary | |
---|---|
HttpListener()
|
Method Summary | |
---|---|
String |
getName()
Return the name of the listener. |
int |
getPort()
Return the listening port. |
boolean |
isRunning()
Tell if the service is currently running. |
void |
run()
|
void |
setPort(int port)
Set the port used the next time the listener is started. |
void |
start()
Start the listener. |
void |
stop()
Stop the listener. |
Methods inherited from class net.jetrix.services.AbstractService |
---|
isAutoStart, setAutoStart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.jetrix.Service |
---|
isAutoStart, setAutoStart |
Constructor Detail |
---|
public HttpListener()
Method Detail |
---|
public String getName()
Listener
getName
in interface Listener
getName
in interface Service
public int getPort()
Listener
getPort
in interface Listener
public void setPort(int port)
Listener
setPort
in interface Listener
public void start()
Listener
start
in interface Listener
start
in interface Service
public void stop()
Listener
stop
in interface Listener
stop
in interface Service
public void run()
run
in interface Runnable
public boolean isRunning()
Service
isRunning
in interface Service
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |