Client
Class UserSend

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--Client.UserSend
All Implemented Interfaces:
java.lang.Runnable

public class UserSend
extends java.lang.Thread

A thread that sits and wait for messages and sends them over the network


Field Summary
private  java.io.BufferedWriter out
          The socket output to send messages to
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ
 
Constructor Summary
(package private) UserSend(java.io.BufferedWriter out)
           
 
Method Summary
 void run()
          Infinitely send messages from StaticFifos.getUserInput over the network
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

out

private final java.io.BufferedWriter out
The socket output to send messages to
Constructor Detail

UserSend

UserSend(java.io.BufferedWriter out)
Method Detail

run

public void run()
Infinitely send messages from StaticFifos.getUserInput over the network
Overrides:
run in class java.lang.Thread