|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Listener
A service bound to a port.
Method Summary | |
---|---|
String |
getName()
Return the name of the listener. |
int |
getPort()
Return the listening port. |
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 interface java.lang.Runnable |
---|
run |
Methods inherited from interface net.jetrix.Service |
---|
isAutoStart, isRunning, setAutoStart |
Method Detail |
---|
String getName()
getName
in interface Service
int getPort()
void setPort(int port)
void start()
start
in interface Service
void stop()
stop
in interface Service
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |