|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisidia.simulation.process.messages.Door
public class Door
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 |
---|
public Door()
public Door(int num)
num
- the door numberMethod Detail |
---|
public int getNum()
public void setNum(int num)
num
- the new door number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |