Class NIC
java.lang.Object
NIC
- All Implemented Interfaces:
- Actions
- public class NIC
- extends Object
- implements Actions
The class creates token then Passes token to neighbour NIC and holds token while the resource in use bu user
- Version:
- Version 1.1
- Author:
- Adeel Hashmi
|
Constructor Summary |
NIC(ChannelInt UserandNIC,
ChannelOutput TokenChanGive,
ChannelInput TokenChanTake)
constuctor to assign channel to NIC |
|
Method Summary |
void |
run()
Defines action of processes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NIC
public NIC(ChannelInt UserandNIC,
ChannelOutput TokenChanGive,
ChannelInput TokenChanTake)
- constuctor to assign channel to NIC
run
public void run()
- Defines action of processes
- See Also:
- CSProcess