|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines the methods for all the interaction layers present in a distributed interactive simulation, i.e. the single user and game leader interaction layers..
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 is proprietary information of Delft University of Technology.
| Field Summary |
| Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
| Method Summary | |
void |
addEventTypeSentByClient(nl.tudelft.simulation.event.EventType eventType)
Method addEventTypeSentByClient. |
void |
addEventTypeToAnnounceList(nl.tudelft.simulation.event.EventType eventType,
AnnounceInterface announceObject)
Method addEventTypeToAnnounceList. |
void |
getCache(java.lang.Object object,
nl.tudelft.simulation.event.EventType eventType,
boolean announce)
this method is used by a remote client to indicate that it is 'online' the server side object is then able to subscribe to client side events and to send cached data |
nl.tudelft.simulation.event.EventType[] |
getStatisticEventTypes()
|
int |
getTotalNumberOfDays()
|
boolean |
login(nl.tudelft.simulation.event.remote.RemoteEventListenerInterface client)
|
| 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 |
| Method Detail |
public void addEventTypeSentByClient(nl.tudelft.simulation.event.EventType eventType)
throws java.rmi.RemoteException
eventType - the event type to add
java.rmi.RemoteException - thrown in case of a network error
public void addEventTypeToAnnounceList(nl.tudelft.simulation.event.EventType eventType,
AnnounceInterface announceObject)
throws java.rmi.RemoteException
eventType - the event typeannounceObject - the object to announce
java.rmi.RemoteException - thrown in case of a network error
public void getCache(java.lang.Object object,
nl.tudelft.simulation.event.EventType eventType,
boolean announce)
throws java.rmi.RemoteException
object - the remote event producer or the remote event listener, may
be nulleventType - the event type given as an argument for the announce
method, may not be nullannounce - true if this method is called during initialization of a
client user interface; false in case of announcing for a statistic
java.rmi.RemoteException - thrown in case of a network error
public nl.tudelft.simulation.event.EventType[] getStatisticEventTypes()
throws java.rmi.RemoteException
java.rmi.RemoteException - thrown in case of network failure
public int getTotalNumberOfDays()
throws java.rmi.RemoteException
java.rmi.RemoteException - thrown in case of network failure
public boolean login(nl.tudelft.simulation.event.remote.RemoteEventListenerInterface client)
throws java.rmi.RemoteException
client - The client to login
java.rmi.RemoteException - thrown in case of network failure
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||