|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ingenotech.lavalamp.ConnectionHandler
public class ConnectionHandler
Handle an incoming network connection. Parse the request message, send a response.
| Constructor Summary | |
|---|---|
ConnectionHandler(LavaLampServer controller)
|
|
| Method Summary | |
|---|---|
java.lang.String |
handleConnection(java.net.DatagramPacket packet)
|
void |
handleConnection(java.net.Socket socket)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionHandler(LavaLampServer controller)
| Method Detail |
|---|
public java.lang.String handleConnection(java.net.DatagramPacket packet)
public void handleConnection(java.net.Socket socket)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||