org.gscg.singleuser.interactionlayer
Interface SingleUserInteractionLayerInterface
- All Superinterfaces:
- java.util.EventListener, nl.tudelft.simulation.event.EventListenerInterface, nl.tudelft.simulation.event.EventProducerInterface, GlobalInteractionLayerInterface, java.rmi.Remote, nl.tudelft.simulation.event.remote.RemoteEventProducerInterface
- All Known Implementing Classes:
- DistributorSingleUserInteractionLayer, ManufacturerSingleUserInteractionLayer
- public interface SingleUserInteractionLayerInterface
- extends nl.tudelft.simulation.event.EventListenerInterface, GlobalInteractionLayerInterface
The interface for single user interaction layers.
(c) copyright 2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software are proprietary information
of Delft University of Technology.
- Since:
- 1.1.12
- Version:
- $Revision: 1.1 $ $Date: 2005/08/09 15:43:41 $
- Author:
- Stijn-Pieter
van Houten
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
Method Summary |
void |
addEventType(nl.tudelft.simulation.event.EventType eventType)
Method addEventType Before an event is fired by the interaction layer, a
check is performed whether the interaction layer should fire the event.
|
void |
addStatisticEventType(nl.tudelft.simulation.event.EventType eventType)
Method addStatisticEventType adds an event to a set with event types only
used for statistical updates. |
GameGlobalData |
getGlobalSupplyChainData()
|
nl.tudelft.simulation.supplychain.actor.SupplyChainActor |
getOwner()
|
nl.tudelft.simulation.dsol.simulators.SimulatorInterface |
getSimulator()
|
void |
notifyAnnounced(nl.tudelft.simulation.event.EventInterface event)
Method notifyAnnounced. |
Methods inherited from interface nl.tudelft.simulation.event.EventListenerInterface |
notify |
Methods inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
addListener, addListener, addListener, addListener, getEventTypes, removeListener |
addEventType
public void addEventType(nl.tudelft.simulation.event.EventType eventType)
throws java.rmi.RemoteException
- Method addEventType Before an event is fired by the interaction layer, a
check is performed whether the interaction layer should fire the event.
The check is based upon a set with events which is filled by invoking
this method.
- Parameters:
eventType
- the event type to add
- Throws:
java.rmi.RemoteException
- thrown in case of network failure
addStatisticEventType
public void addStatisticEventType(nl.tudelft.simulation.event.EventType eventType)
throws java.rmi.RemoteException
- Method addStatisticEventType adds an event to a set with event types only
used for statistical updates. Upon initialization, a remote game leader
graphical user interface asks for this set. EventTypes which are added to
this set should follow the following convention ACTORROLE_ + description
of eventtype. E.g. CUSTOMER_DEMAND_CHANGED_EVENT.
- Parameters:
eventType
- the event type to add
- Throws:
java.rmi.RemoteException
- thrown in case of network failure
getGlobalSupplyChainData
public GameGlobalData getGlobalSupplyChainData()
throws java.rmi.RemoteException
- Returns:
- Returns the globalSupplyChainData.
- Throws:
java.rmi.RemoteException
- thrown in case of network failure
getOwner
public nl.tudelft.simulation.supplychain.actor.SupplyChainActor getOwner()
throws java.rmi.RemoteException
- Returns:
- Returns the owner.
- Throws:
java.rmi.RemoteException
- thrown in case of network failure
getSimulator
public nl.tudelft.simulation.dsol.simulators.SimulatorInterface getSimulator()
throws java.rmi.RemoteException
- Returns:
- Returns the simulator.
- Throws:
java.rmi.RemoteException
- thrown in case of network failure
notifyAnnounced
public void notifyAnnounced(nl.tudelft.simulation.event.EventInterface event)
throws java.rmi.RemoteException
- Method notifyAnnounced.
- Parameters:
event
- the event for the announce method
- Throws:
java.rmi.RemoteException
- thrown in case of network failure
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.