001/** 002 * This file is part of the Kompics P2P Framework. 003 * 004 * Copyright (C) 2009 Swedish Institute of Computer Science (SICS) Copyright (C) 005 * 2009 Royal Institute of Technology (KTH) 006 * 007 * Kompics is free software; you can redistribute it and/or modify it under the 008 * terms of the GNU General Public License as published by the Free Software 009 * Foundation; either version 2 of the License, or (at your option) any later 010 * version. 011 * 012 * This program is distributed in the hope that it will be useful, but WITHOUT 013 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 014 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 015 * details. 016 * 017 * You should have received a copy of the GNU General Public License along with 018 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple 019 * Place - Suite 330, Boston, MA 02111-1307, USA. 020 */ 021package se.sics.kompics.simulator.adaptor; 022 023import java.io.Serializable; 024 025import se.sics.kompics.KompicsEvent; 026 027/** 028 * The <code>Operation2</code> class. 029 * 030 * @author Cosmin Arad {@literal <[email protected]>} 031 * @version $Id$ 032 */ 033public interface Operation2<E extends KompicsEvent, P1 extends Number, P2 extends Number> extends Serializable { 034 035 public E generate(P1 parameter1, P2 parameter2); 036}