Class RunningNode

java.lang.Object
  |
  +--Node
        |
        +--RunningNode
Direct Known Subclasses:
RecvDrv, SendDrv

public class RunningNode
extends Node


Constructor Summary
RunningNode()
          Default Constructor
RunningNode(int i, Link link)
          Creates new RunningNode
 
Method Summary
 Link getLinkAccess()
          Provides the access to the link
 java.lang.String getNodeDescription()
          Provides the general information about node
 int getNodeID()
          Provides the Node ID
 void receivers()
          Initializes ReceiveMail simulation
 void senders()
          Initializes SendMail simulation
 void setNodeID(int nodeID)
          Sets the Node ID
 
Methods inherited from class Node
setNodeLink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunningNode

public RunningNode()
Default Constructor

RunningNode

public RunningNode(int i,
                   Link link)
Creates new RunningNode
Method Detail

getNodeDescription

public java.lang.String getNodeDescription()
Provides the general information about node
Overrides:
getNodeDescription in class Node
Returns:
String General description of the node

getLinkAccess

public Link getLinkAccess()
Provides the access to the link
Overrides:
getLinkAccess in class Node
Returns:
Link Link Access

senders

public void senders()
Initializes SendMail simulation

receivers

public void receivers()
Initializes ReceiveMail simulation

getNodeID

public int getNodeID()
Provides the Node ID
Returns:
int Node ID

setNodeID

public void setNodeID(int nodeID)
Sets the Node ID