|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.mlw.gfw.server.impl.DefaultServerDecorator | +--net.mlw.gfw.server.impl.ServerSocketDecorator
Constructor Summary | |
ServerSocketDecorator(net.mlw.gfw.server.Server server)
|
Method Summary | |
void |
accept()
|
void |
close()
|
boolean |
isListening()
|
void |
setPort(int port)
|
Methods inherited from class net.mlw.gfw.server.impl.DefaultServerDecorator |
addClient, getServer, onEvent, removeClient, setServer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServerSocketDecorator(net.mlw.gfw.server.Server server)
server
- Method Detail |
public void setPort(int port)
port
- the port the server will listen on.public boolean isListening()
public void accept() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |