/******************************************************************************* * Copyright (c) 2013 Imperial College London. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Raul Castro Fernandez - initial design and implementation ******************************************************************************/ package uk.ac.imperial.lsds.seep.operator; import java.io.Serializable; import java.util.List; import uk.ac.imperial.lsds.seep.comm.serialization.DataTuple; public interface OperatorCode extends Serializable{ public DistributedApi api = DistributedApi.getInstance(); public void setUp(); public void processData(DataTuple data); public void processData(List<DataTuple> dataList); }