1
2
3
4
5
6
7
8
9
10
11 package nl.tudelft.simulation.event.remote;
12
13 import java.rmi.RemoteException;
14 import java.rmi.server.UnicastRemoteObject;
15 import java.util.logging.Logger;
16
17 import nl.tudelft.simulation.event.EventProducer;
18
19 /***
20 * The RemoteEventProducer provides a remote implementation of the
21 * eventProducer.
22 * <p>
23 * See for project information <a href="http://www.simulation.tudelft.nl">
24 * www.simulation.tudelft.nl </a>
25 * <p>
26 * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
27 * License (GPL) </a>, no warranty
28 *
29 * @version 1.0 Dec 4, 2003
30 *
31 * @author <a
32 * href="http://www.tbm.tudelft.nl/webstaf/stijnh/index.htm">Stijn-Pieter
33 * van Houten </a>
34 */
35 public class RemoteEventProducer extends EventProducer implements
36 RemoteEventProducerInterface
37 {
38 /***
39 * Constructs a new RemoteEventProducer.
40 */
41 public RemoteEventProducer()
42 {
43 super();
44 try
45 {
46 UnicastRemoteObject.exportObject(this);
47 } catch (RemoteException remoteException)
48 {
49 Logger.getLogger("nl.tudelft.simulation.event").severe(
50 remoteException.getMessage());
51
52 }
53 }
54 }