nl.tudelft.simulation.event.remote
Class RemoteEventListener

java.lang.Object
  extended by nl.tudelft.simulation.event.remote.RemoteEventListener
All Implemented Interfaces:
Remote, EventListener, EventListenerInterface, RemoteEventListenerInterface

public class RemoteEventListener
extends Object
implements RemoteEventListenerInterface

The RemoteEventListener class embodies a remoteEventListener.

(c) copyright 2002-2005 Delft University of Technology , the Netherlands.

See for project information www.simulation.tudelft.nl/event
License of use: Lesser General Public License (LGPL) , no warranty

Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:24:36 $
Author:
Stijn-Pieter van Houten

Constructor Summary
RemoteEventListener(EventListenerInterface owner)
          Constructs a new RemoteListener.
 
Method Summary
 void notify(EventInterface event)
          notifies the eventlistener of an event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteEventListener

public RemoteEventListener(EventListenerInterface owner)
Constructs a new RemoteListener.

Parameters:
owner - The owner of the listener.
Method Detail

notify

public void notify(EventInterface event)
            throws RemoteException
Description copied from interface: EventListenerInterface
notifies the eventlistener of an event. This operation forms the callback method of the asynchronous communication prototcol expressed in the event package.

Specified by:
notify in interface EventListenerInterface
Parameters:
event - the event which is sent to the listener.
Throws:
RemoteException - If a network connection failure occurs.
See Also:
EventListenerInterface.notify(nl.tudelft.simulation.event.EventInterface)


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.