Package ons
Class FlowArrivalEvent
java.lang.Object
ons.Event
ons.FlowArrivalEvent
public class FlowArrivalEvent extends Event
Methods to treat the incoming of a Flow object.
-
Constructor Summary
Constructors Constructor Description FlowArrivalEvent(Flow flow)
Creates a new FlowArrivalEvent object. -
Method Summary
-
Constructor Details
-
FlowArrivalEvent
Creates a new FlowArrivalEvent object.- Parameters:
flow
- the arriving flow
-
-
Method Details
-
getFlow
Retrives the flow attribute of the FlowArrivalEvent object.- Returns:
- the FlowArrivalEvent's flow attribute
-
toString
public java.lang.String toString()Prints all information related to the arriving flow.- Overrides:
toString
in classjava.lang.Object
- Returns:
- string containing all the values of the flow's parameters
-