|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexperiment.event.Event
experiment.event.capability.ValueEvent
experiment.event.capability.LinkValueEvent
public class LinkValueEvent
Created by IntelliJ IDEA. User: andy Date: Mar 26, 2010 Includes the data update information for a single Link in a single time.
Field Summary |
---|
Fields inherited from class experiment.event.capability.ValueEvent |
---|
directiveList |
Fields inherited from class experiment.event.Event |
---|
timestamp |
Constructor Summary | |
---|---|
LinkValueEvent(double timestamp,
java.lang.String source,
java.lang.String target,
Rssi rssi)
Default Constructor. |
Method Summary | |
---|---|
boolean |
apply(ExperimentState state)
Applies this event to the experiment. |
Methods inherited from class experiment.event.capability.ValueEvent |
---|
addData |
Methods inherited from class experiment.event.Event |
---|
getTimestamp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkValueEvent(double timestamp, java.lang.String source, java.lang.String target, Rssi rssi)
timestamp
- the exact experiment moment that this event occured.source
- the source node's id.target
- the target node's id.rssi
- the new Rssi value. Can be null.Method Detail |
---|
public boolean apply(ExperimentState state) throws badSyntaxException
apply
in class ValueEvent
state
- the experiment state where this event belong to.
badSyntaxException
- in case of a mistake in the wiseml syntax.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |