|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectreport.Report
report.DeliveredMessagesProfileCastReport
public class DeliveredMessagesProfileCastReport
Report information about all delivered messages with profilecast. Messages created during
the warm up period are ignored.
For output syntax, see HEADER
.
Field Summary | |
---|---|
static java.lang.String |
HEADER
|
static int |
TotalCopies
|
Fields inherited from class report.Report |
---|
DEF_PRECISION, INTERVAL_SETTING, INTERVALLED_FORMAT, NAN, OUT_SUFFIX, OUTPUT_SETTING, PRECISION_SETTING, REPORT_NS, REPORTDIR_SETTING, WARMUP_S |
Constructor Summary | |
---|---|
DeliveredMessagesProfileCastReport()
Constructor. |
Method Summary | |
---|---|
void |
init()
Initializes the report output. |
void |
messageDeleted(core.Message m,
DTNHost where,
boolean dropped)
Method is called when a message is deleted |
void |
messageTransferAborted(core.Message m,
DTNHost from,
DTNHost to)
Method is called when a message's transfer was aborted before it finished |
void |
messageTransferred(core.Message m,
DTNHost from,
DTNHost to,
boolean firstDelivery)
Method is called when a message is successfully transferred from a node to another. |
void |
messageTransferStarted(core.Message m,
DTNHost from,
DTNHost to)
Method is called when a message's transfer is started |
void |
newMessage(core.Message m)
Method is called when a new message is created |
Methods inherited from class report.Report |
---|
done, getAverage, getIntAverage, getIntMedian, getMedian, getVariance |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String HEADER
public static int TotalCopies
Constructor Detail |
---|
public DeliveredMessagesProfileCastReport()
Method Detail |
---|
public void init()
report.Report
init
in class report.Report
public void messageTransferred(core.Message m, DTNHost from, DTNHost to, boolean firstDelivery)
core.MessageListener
messageTransferred
in interface core.MessageListener
m
- The message that was transferredfrom
- Node where the message was transferred fromto
- Node where the message was transferred tofirstDelivery
- Was the target node final destination of the message
and received this message for the first time.public void newMessage(core.Message m)
core.MessageListener
newMessage
in interface core.MessageListener
m
- Message that was createdpublic void messageDeleted(core.Message m, DTNHost where, boolean dropped)
core.MessageListener
messageDeleted
in interface core.MessageListener
m
- The message that was deletedwhere
- The host where the message was deleteddropped
- True if the message was dropped, false if removedpublic void messageTransferAborted(core.Message m, DTNHost from, DTNHost to)
core.MessageListener
messageTransferAborted
in interface core.MessageListener
m
- The message that was being transferredfrom
- Node where the message was being transferred fromto
- Node where the message was being transferred topublic void messageTransferStarted(core.Message m, DTNHost from, DTNHost to)
core.MessageListener
messageTransferStarted
in interface core.MessageListener
m
- The message that is going to be transferredfrom
- Node where the message is transferred fromto
- Node where the message is transferred to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |