Class Ring

java.lang.Object
  extended byRing

class Ring
extends Object

Startup class that creates channel and assign to Users, NIC and Resource

Version:
Version 1.1
Author:
Adeel Hashmi

Field Summary
(package private)  One2OneChannel U1andU2
          Channel for User1 and User2 communication
(package private)  One2OneChannel U2andU3
          Channel for User2 and User3 communication
(package private)  One2OneChannel U3andU1
          Channel for User3 and User1 communication
(package private)  One2OneChannelInt UsertoNICchanInt1
          Channel for User1 and its NIC communication
(package private)  One2OneChannelInt UsertoNICchanInt2
          Channel for User2 and its NIC communication
(package private)  One2OneChannelInt UsertoNICchanInt3
          Channel for User3 and its NIC communication
 
Constructor Summary
Ring()
          Constructor to initialize channels
 
Method Summary
protected  void initialize()
          create process and simulate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

U1andU2

One2OneChannel U1andU2
Channel for User1 and User2 communication


U2andU3

One2OneChannel U2andU3
Channel for User2 and User3 communication


U3andU1

One2OneChannel U3andU1
Channel for User3 and User1 communication


UsertoNICchanInt1

One2OneChannelInt UsertoNICchanInt1
Channel for User1 and its NIC communication


UsertoNICchanInt2

One2OneChannelInt UsertoNICchanInt2
Channel for User2 and its NIC communication


UsertoNICchanInt3

One2OneChannelInt UsertoNICchanInt3
Channel for User3 and its NIC communication

Constructor Detail

Ring

public Ring()
Constructor to initialize channels

Method Detail

initialize

protected void initialize()
create process and simulate