001/* 002 * Copyright (C) 2009 Swedish Institute of Computer Science (SICS) Copyright (C) 003 * 2009 Royal Institute of Technology (KTH) 004 * 005 * GVoD is free software; you can redistribute it and/or 006 * modify it under the terms of the GNU General Public License 007 * as published by the Free Software Foundation; either version 2 008 * of the License, or (at your option) any later version. 009 * 010 * This program is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 013 * GNU General Public License for more details. 014 * 015 * You should have received a copy of the GNU General Public License 016 * along with this program; if not, write to the Free Software 017 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 018 */ 019 020package se.sics.kompics.simulator.events.system; 021 022import se.sics.kompics.simulator.events.SimulationEvent; 023import se.sics.kompics.simulator.network.identifier.IdentifierExtractor; 024import se.sics.kompics.simulator.network.identifier.impl.SocketIdExtractor; 025import se.sics.kompics.simulator.util.GlobalView; 026 027/** 028 * @author Alex Ormenisan {@literal <[email protected]>} 029 */ 030public abstract class SetupEvent extends SimulationEvent { 031 public SetupEvent() { 032 super(); 033 } 034 035 public void setupSystemContext() { 036 } 037 038 public void setupGlobalView(GlobalView gv) { 039 } 040 041 public IdentifierExtractor getIdentifierExtractor() { 042 return new SocketIdExtractor(); 043 } 044}