|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.web_visage.ichatserv.fwk.IChatServerFwk
public class IChatServerFwk
IChat server framework.
Constructor Summary | |
---|---|
IChatServerFwk(IChatServConfig aConfig,
UpdatableStringFileList aBanList)
Constructor. |
Method Summary | |
---|---|
void |
clientConnected(java.nio.channels.SocketChannel aSocket)
Notifies subscriber about client connection. |
boolean |
isOnline()
Checks whether the server is ONLINE. |
boolean |
isShuttingDown()
Checks whether the server is being shutting down. |
void |
shutdown()
Shuts server down. |
void |
start()
Starts the server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IChatServerFwk(IChatServConfig aConfig, UpdatableStringFileList aBanList)
aConfig
- -
configuration beanaBanList
- Method Detail |
---|
public void start() throws java.lang.InterruptedException
java.lang.InterruptedException
public void shutdown()
public boolean isOnline()
public boolean isShuttingDown()
public void clientConnected(java.nio.channels.SocketChannel aSocket)
ClientConnectionListener
clientConnected
in interface ClientConnectionListener
com.web_visage.ichatserv.fwk.ClientConnectionListener#clientConnected(java.net.Socket)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |