WDMSim

wdmsim
Class FlowArrivalEvent

java.lang.Object
  extended by wdmsim.Event
      extended by wdmsim.FlowArrivalEvent

public class FlowArrivalEvent
extends Event

Methods to treat the incoming of a Flow object.

Author:
andred

Constructor Summary
FlowArrivalEvent(Flow flow)
          Creates a new FlowArrivalEvent object.
 
Method Summary
 Flow getFlow()
          Retrives the flow attribute of the FlowArrivalEvent object.
 java.lang.String toString()
          Prints all information related to the arriving flow.
 
Methods inherited from class wdmsim.Event
getTime, setTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlowArrivalEvent

public FlowArrivalEvent(Flow flow)
Creates a new FlowArrivalEvent object.

Parameters:
flow - the arriving flow
Method Detail

getFlow

public Flow 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 class java.lang.Object
Returns:
string containing all the values of the flow's parameters

WDMSim