edu.stanford.hci.r3.flash
Class FlashClient

java.lang.Object
  extended by edu.stanford.hci.r3.flash.FlashClient

public class FlashClient
extends java.lang.Object

Handles one Flash GUI client, that will communicate with our local Java server.

This software is distributed under the BSD License.


Constructor Summary
FlashClient(FlashCommunicationServer flashCommServer, int id, java.net.Socket clientSock, java.io.BufferedReader readerIn, java.io.PrintStream writerOut)
           
 
Method Summary
 void exitClient()
           
 void sendMessage(java.lang.String message)
          Prints to both the console and to the client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlashClient

public FlashClient(FlashCommunicationServer flashCommServer,
                   int id,
                   java.net.Socket clientSock,
                   java.io.BufferedReader readerIn,
                   java.io.PrintStream writerOut)
Method Detail

exitClient

public void exitClient()

sendMessage

public void sendMessage(java.lang.String message)
Prints to both the console and to the client.

Parameters:
message - the string to print.

Copyright 2006 Stanford University