package edu.govschool.govchat.socket;

/**
 * Listener interface for sockets used in GovChat.
 * Based on Oracle documentation. While our two sockets will be inheriting from
 * <code>GCGenericSocket</code> to share setup code, this interface will define
 * a few methods that the sockets will use differently depending on what they
 * are listening for.
 * @author Mr. Davis
 */
public interface GCSocketListener 
{
    // Fired when a message is received.
    public void onMessage(String line);
    // Fired when a close update is received.
    public void onCloseUpdate(Boolean closed);
}
@@ -346,16 +346,160 @@
 ing for.
+ Additionally, these messages will interact somehow with%0A * the JavaFX aspect of our application, so we have to deal with them %0A * individually.
 %0A * @aut

Update GCSocketListener comments to better explain necessities for JavaFX thread-safety