|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.example.gettingstarted.timeserver.MinaTimeServer
public class MinaTimeServer
A minimal 'time' server, returning the current date. Opening a telnet server, you will get the current date by typing any string followed by a new line. In order to quit, just send the 'quit' message.
Constructor Summary | |
---|---|
MinaTimeServer()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
The server implementation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MinaTimeServer()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |