org.mates.sim.event.agent
Class AgentArrivalEvent
java.lang.Object
org.mates.sim.event.Event
org.mates.sim.event.agent.AgentEvent
org.mates.sim.event.agent.AgentArrivalEvent
- public class AgentArrivalEvent
- extends AgentEvent
An event that is raised whenever an agent arrives at a host.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AgentArrivalEvent
public AgentArrivalEvent(Agent agent,
Host arrived_at,
Host from)
getSourceHost
public Host getSourceHost()
- Returns the host from which the agent was sent.
getDestinationHost
public Host getDestinationHost()
- Returns the host to which the agent arrived.
toString
public java.lang.String toString()
- Description copied from class:
Event
- Returns a string representation of this event.
- Specified by:
toString
in class Event
Submit a bug or request a feature
http://mates.sourceforge.net/
Copyright 2004 Evan Sultanik