Package org.jboss.netty.example.qotm
Class QuoteOfTheMomentServer
java.lang.Object
org.jboss.netty.example.qotm.QuoteOfTheMomentServer
A UDP server that responds to the QOTM (quote of the moment) request to a
QuoteOfTheMomentClient
.
Inspired by the official
Java tutorial.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PORT
private static final int PORT
-
-
Constructor Details
-
QuoteOfTheMomentServer
public QuoteOfTheMomentServer()
-
-
Method Details
-
main
- Throws:
Exception
-