visidia.simulation.process.messages
Class Door

java.lang.Object
  extended by visidia.simulation.process.messages.Door

public class Door
extends java.lang.Object

This class represents a node's door. A door can be a reception door or a sending door. This class is used in the MessagePacket class.


Constructor Summary
Door()
          Instantiates a new door.
Door(int num)
          Instantiates a new door.
 
Method Summary
 int getNum()
          Gets the door number.
 void setNum(int num)
          Sets the door number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Door

public Door()
Instantiates a new door.


Door

public Door(int num)
Instantiates a new door.

Parameters:
num - the door number
Method Detail

getNum

public int getNum()
Gets the door number.

Returns:
the door number

setNum

public void setNum(int num)
Sets the door number.

Parameters:
num - the new door number