/******************************************************************************* * Copyright (c) 2014 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 API and implementation ******************************************************************************/ package uk.ac.imperial.lsds.seep.operator.compose; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import uk.ac.imperial.lsds.seep.comm.serialization.DataTuple; public interface SubOperatorAPI extends Serializable{ public boolean isMostLocalDownstream(); public boolean isMostLocalUpstream(); public void connectSubOperatorTo(int localStreamId, SubOperator so); public void setUp(); public void processData(DataTuple data); public void processData(List<DataTuple> dataList); }