|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNPTLab.MessageWrapperMap
public class MessageWrapperMap
Class that contains a map to mantain the one to one realtionship between a Message and his MessageWrapper implemented with a singleton pattern
Method Summary | |
---|---|
static MessageWrapperMap |
getInstance()
Returns the instance of the map. |
java.util.Map<core.Message,MessageWrapper> |
returnMap()
Returns the Map |
void |
set(core.Message m,
Trace MessageDestTrace)
Adds to the map an entrance matching a Message and his MessageWrapper from the Map or a new one if it didn't exist. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MessageWrapperMap getInstance()
public void set(core.Message m, Trace MessageDestTrace)
m
- Message the messageMessageDestTrace
- the destination mobility trace choosen for this message.public java.util.Map<core.Message,MessageWrapper> returnMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |