|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to represent an object that produces Msg's
Method Summary | |
---|---|
void |
addReceiver(MsgReceiver receiver)
Adds a MsgReceiver to receive any Msg's that this MsgSource produces |
MsgReceiver[] |
getReceivers()
Accessor for all of the MsgReceivers currently receiving Msg's from this MsgSource |
void |
removeReceiver(MsgReceiver receiver)
Removes a MsgReceiver from receiving Msg's from this MsgSource |
void |
send()
Method to request that the MsgSource send any queued Msg's to its receivers. |
void |
setReceivers(MsgReceiver[] receivers)
Mutator for all of the MsgReceivers to receive Msg's from this MsgSource |
Methods inherited from interface net.sourceforge.mflow.api.MsgFlowComponent |
---|
getName, setName |
Methods inherited from interface net.sourceforge.mflow.api.Configurable |
---|
configure |
Methods inherited from interface net.sourceforge.mflow.api.Iconable |
---|
getIcon |
Method Detail |
---|
void addReceiver(MsgReceiver receiver)
receiver
- the receiver to addvoid removeReceiver(MsgReceiver receiver)
receiver
- the receiver to removevoid setReceivers(MsgReceiver[] receivers)
receivers
- the array of new MsgReceiversMsgReceiver[] getReceivers()
void send()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |