|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisidia.simulation.process.messages.Message
visidia.simulation.process.messages.VectorMessage
public class VectorMessage
This class represents a message containing a set of information which can be of different type.
Constructor Summary | |
---|---|
VectorMessage(java.util.Vector v)
Instantiates a new vector message. |
|
VectorMessage(java.util.Vector v,
MessageType type)
Instantiates a new vector message. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Gives a copy (a clone) of this object. |
java.util.Vector |
data()
Gets the data. |
java.lang.Object |
getData()
Each message has a data which can be accessed by the getData() method. |
java.lang.String |
toString()
The Vector Message representation is : "< + element0 + element1 + ... + elementN + >" |
Methods inherited from class visidia.simulation.process.messages.Message |
---|
getMsgClock, getType, getVisualization, setMsgClock, setType, setVisualization |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VectorMessage(java.util.Vector v)
v
- the vectorpublic VectorMessage(java.util.Vector v, MessageType type)
v
- the vectortype
- the typeMethod Detail |
---|
public java.util.Vector data()
public java.lang.Object getData()
Message
getData
in class Message
public java.lang.Object clone()
Message
clone
in class Message
public java.lang.String toString()
toString
in class Message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |