com.ingenotech.lavalamp
Class ConnectionHandler

java.lang.Object
  extended by com.ingenotech.lavalamp.ConnectionHandler

public class ConnectionHandler
extends java.lang.Object

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

ConnectionHandler

public ConnectionHandler(LavaLampServer controller)
Method Detail

handleConnection

public java.lang.String handleConnection(java.net.DatagramPacket packet)

handleConnection

public void handleConnection(java.net.Socket socket)
                      throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.