package org.jcon.test.comm;

import java.net.Socket;

/**
 * The interface for CommServer callbacks.
 *
 * @author Jack Harich
 */
public interface CommServerUser {


/**
 * This method is called when the CommServer creates a 
 * new Socket as the result of ServerSocket.accept(). 
 * The implementer should save the socket reference and
 * start a thread to handle it, returning as soon as possible.
 */
public void socketAccepted(Socket socket);



} // End interface
