org.littleshoot.util
Interface SocketListener


public interface SocketListener

General interface for classes that handle sockets.


Method Summary
 void onSocket(Socket sock)
          Notifies the listener of the socket.
 

Method Detail

onSocket

void onSocket(Socket sock)
              throws IOException
Notifies the listener of the socket.

Parameters:
sock - The Socket.
Throws:
IOException - If there's an IO error reading the socket data or writing a response.


Copyright © 2011-2013 LittleShoot. All Rights Reserved.