|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.event.EventProducer
org.gscg.common.interactionlayer.messaging.SocialMessaging
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 | |
static nl.tudelft.simulation.event.EventType |
RECEIVE_SOCIAL_MESSAGE
event for social messages received by a human controlled actor |
static nl.tudelft.simulation.event.EventType |
SOCIAL_MESSAGE_SENT
event for social messages sent by a human controlled actor |
static nl.tudelft.simulation.event.EventType |
UPDATE_RECEIVED_SOCIAL_MESSAGE
event fired when a user interface needs to be updated |
static nl.tudelft.simulation.event.EventType |
UPDATE_RECEIVED_SOCIAL_MESSAGES
event fired when a user interface needs to be updated |
static nl.tudelft.simulation.event.EventType |
UPDATE_SENT_SOCIAL_MESSAGE
event fired when a user interface needs to be updated |
static nl.tudelft.simulation.event.EventType |
UPDATE_SENT_SOCIAL_MESSAGES
event fired when a user interface needs to be updated |
Fields inherited from class nl.tudelft.simulation.event.EventProducer |
listeners |
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
Constructor Summary | |
SocialMessaging(GlobalInteractionLayerInterface owner,
YellowPage yellowPage)
constructs a new SocialMessaging |
Method Summary | |
void |
announce(nl.tudelft.simulation.event.EventType eventType,
boolean announce)
Method announce. |
java.util.ArrayList |
getReceivedSocialMessages()
|
java.util.ArrayList |
getSentSocialMessages()
|
void |
notify(nl.tudelft.simulation.event.EventInterface event)
|
Methods inherited from class nl.tudelft.simulation.event.EventProducer |
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final nl.tudelft.simulation.event.EventType SOCIAL_MESSAGE_SENT
public static final nl.tudelft.simulation.event.EventType RECEIVE_SOCIAL_MESSAGE
public static final nl.tudelft.simulation.event.EventType UPDATE_RECEIVED_SOCIAL_MESSAGES
public static final nl.tudelft.simulation.event.EventType UPDATE_SENT_SOCIAL_MESSAGES
public static final nl.tudelft.simulation.event.EventType UPDATE_RECEIVED_SOCIAL_MESSAGE
public static final nl.tudelft.simulation.event.EventType UPDATE_SENT_SOCIAL_MESSAGE
Constructor Detail |
public SocialMessaging(GlobalInteractionLayerInterface owner, YellowPage yellowPage)
owner
- the single user interacion layeryellowPage
- the yellow pageMethod Detail |
public void announce(nl.tudelft.simulation.event.EventType eventType, boolean announce)
AnnounceInterface
announce
in interface AnnounceInterface
eventType
- the eventTypeannounce
- indicates whether this is an announceAnnounceInterface.announce(nl.tudelft.simulation.event.EventType,
boolean)
public java.util.ArrayList getReceivedSocialMessages()
public java.util.ArrayList getSentSocialMessages()
public void notify(nl.tudelft.simulation.event.EventInterface event) throws java.rmi.RemoteException
notify
in interface nl.tudelft.simulation.event.EventListenerInterface
java.rmi.RemoteException
EventListenerInterface.notify(nl.tudelft.simulation.event.EventInterface)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |