package edu.govschool.govchat.socket;

// For IOExceptions
import java.io.IOException;
// For socket classes
import java.net.*;
// For Platform
import javafx.application.Platform;

/**
 *
 * @author Mr. Davis
 */
public class GCClientSocket 
{

}
@@ -184,63 +184,1309 @@
 *%0A *
-%0A * @author Mr. Davis%0A */%0Apublic class GCClientSocket %0A%7B%0A
+ Client socket implementation for GovChat.%0A * Based on Oracle documentation.%0A * Each of the client GUI applications will create an instance of this class to%0A * use to connect to the %3Ccode%3EGCServerSocket%3C/code%3E created by the server.%0A * @author Mr. Davis%0A */%0Apublic class GCClientSocket extends GCGenericSocket%0Aimplements GCSocketListener%0A%7B%0A    /**%0A     * The default host for testing purposes.%0A     * %3Ccode%3Elocalhost%3C/code%3E refers to the same computer a program runs on.%0A     */%0A    public static final String DEFAULT_HOST = %22localhost%22;%0A    %0A    /**%0A     * The host this client is connected to.%0A     */%0A    public String host;%0A    // This instance of our interface will talk to JavaFX for us%0A    private GCSocketListener fxListener;%0A    %0A    public GCClientSocket(GCSocketListener fxListener,%0A                          String host,%0A                          int port)%0A    %7B%0A        super(port);%0A        this.host = host;%0A        this.fxListener = fxListener;%0A    %7D%0A    %0A    @Override%0A    public void onMessage(final String line)%0A    %7B%0A        %0A    %7D%0A    %0A    @Override%0A    public void onCloseUpdate(final Boolean isClosed)%0A    %7B%0A        %0A    %7D%0A    %0A    @Override%0A    public void initConnection() throws SocketException%0A    %7B%0A        %0A    %7D%0A    %0A    @Override%0A    public void closeAdditionalSockets() %7B%7D
 %0A%7D

Add overridden method stubs, properties, and basic constructor to GCClientSocket