Class User

java.lang.Object
  extended byUser
All Implemented Interfaces:
Actions

public class User
extends Object
implements Actions

This class prints on the resource once its NIC a token

Version:
1.1
Author:
Adeel Hashmi

Field Summary
 
Fields inherited from interface Actions
EXIT, GET_SIGNAL, PASS, PASS_SIGNAL, READ, UNDEFINED
 
Constructor Summary
User(Channel PrintChan, ChannelInt UserandNIC, String msg)
          Constructor for channel assignment and message
 
Method Summary
 void run()
          Defines action of processes
protected  void setReader()
          Set the user to take input
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

User

public User(Channel PrintChan,
            ChannelInt UserandNIC,
            String msg)
Constructor for channel assignment and message

Method Detail

run

public void run()
Defines action of processes

See Also:
CSProcess

setReader

protected void setReader()
Set the user to take input