package apz.pirichat.client;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.net.Socket;
import apz.pirichat.shared.PiriSocket;
import apz.pirichat.shared.ChatMessage;

/*
    PiriChat.java

    The PiriSale client executable - this is the file that is run
    This file creates an instance of the output object and an instance of the
    client.java object
*/

public class PiriChat
{
    private PiriChatxx;

    public static void main(String[] args) throws Exception
    {
        // Check we have a valid output interface on command line
        if (args.length == 0)
        {
            System.out.println("Syntax: "
                                + "java PiriChat cmd"
                                + "java PiriChat gui");
            return;
        }


        if (args[0].equals("cmd"))
            Object client = new apz.pirichat.client.iCmd.PiriClient();
    }
}
