Class ChatSession

java.lang.Object
edu.pdx.cs410J.net.ChatSession

public class ChatSession extends Object
This class allows two people to chat.
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args)
      Main program that reads lines of text from the console, composes messages from them, and receives messages from the the listener. The owner, host, and port numbers for the ChatSession are read from the command line.