public class InputEvent extends AbstractEvent
isLinking
field)Constructor and Description |
---|
InputEvent(IId source,
AbstractTupleCentreOperation op,
TupleCentreId tc,
long time) |
InputEvent(IId source,
AbstractTupleCentreOperation op,
TupleCentreId tc,
long time,
java.util.Map<java.lang.String,java.lang.String> prop) |
Modifier and Type | Method and Description |
---|---|
boolean |
isInput()
Tests if it is an input event
|
boolean |
isInternal()
Tests if it is an internal event
|
boolean |
isLinking() |
boolean |
isOutput()
Tests if it is an output event
|
void |
setIsLinking(boolean flag) |
java.lang.String |
toString() |
getEventProp, getReactingTC, getSimpleTCEvent, getSource, getTarget, getTime, getTuple, setReactingTC, setSimpleTCEvent, setSource, setTarget
public InputEvent(IId source, AbstractTupleCentreOperation op, TupleCentreId tc, long time)
source
- the identifier of the source of this eventop
- the operation which caused this eventtc
- the tuple centre target of this eventtime
- the time at which this event occurredpublic InputEvent(IId source, AbstractTupleCentreOperation op, TupleCentreId tc, long time, java.util.Map<java.lang.String,java.lang.String> prop)
source
- the identifier of the source of this eventop
- the operation which caused this eventtc
- the tuple centre target of this eventtime
- the time at which this event occurredprop
- some properties related to the eventpublic boolean isInput()
AbstractEvent
isInput
in class AbstractEvent
public boolean isInternal()
AbstractEvent
isInternal
in class AbstractEvent
public boolean isLinking()
public boolean isOutput()
AbstractEvent
isOutput
in class AbstractEvent
public void setIsLinking(boolean flag)
flag
- wether this event is a linking eventpublic java.lang.String toString()
toString
in class AbstractEvent