blob: 93bd8e736ae2572aa94ad57ed232591d0fc5028b [file] [log] [blame]
Alexander Afanasyevfce5bbd2013-08-07 18:50:00 -07001## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2#
3# Copyright (c) 2011-2013, Regents of the University of California
4# Alexander Afanasyev
5#
6# GNU 3.0 license, See the LICENSE file for more information
7#
8# Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
9#
10
11#
12# Based on PyCCN code, copyrighted and licensed as follows
13#
14# Copyright (c) 2011-2013, Regents of the University of California
15# BSD license, See the COPYING file for more information
16# Written by: Derek Kulinski <takeda@takeda.tk>
17# Jeff Burke <jburke@ucla.edu>
18#
19
20import ns.core
21
22class EventLoop (object):
23 """
24 Class to provide compatibility with real PyNDN implementation.
25 """
26
27 def __init__ (self, *handlers):
28 pass
29
30 def execute (self, event):
31 ns.core.Simulator.ScheduleNow (event)
32
33 def run (self):
34 pass
35
36 def stop (self):
37 pass