/** * A protocal for Java to connect to a server at a specified port * * @author Ben Kaiser * @author Josh Vickery * @version 1.0 of October 1999 */ public interface NetworkConnection { /** * Connect to the server at the port * @exception ConnectionException * when the server is unreachable */ public void connect(String serverName, int port) throws ConnectionException; } // interface NetworkConnection