|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sape.smfw.message.Message
The base class representing any message between a source and a sink. This class is part of the Message "Composite" pattern.
Field Summary | |
protected Message |
parent
Reference to my parent |
Constructor Summary | |
Message()
Constructor for Message. |
Method Summary | |
void |
addChild(Message message)
Adds the supplied message as a child of this message. |
Message |
getParent()
Returns the parent. |
Iterator |
iterator()
Returns an iterator on the child messages. |
void |
setParent(Message parent)
Sets the parent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Message parent
Constructor Detail |
public Message()
Method Detail |
public Message getParent()
public void setParent(Message parent)
parent
- The parent to setpublic void addChild(Message message)
message
- the message to be added as a childpublic Iterator iterator()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |