/******************************************************************************* * Copyright (c) 2004, 2007 Boeing. * 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: * Boeing - initial API and implementation *******************************************************************************/ package org.eclipse.osee.ote.message.interfaces; import java.util.Collection; import org.eclipse.osee.ote.core.TestException; import org.eclipse.osee.ote.message.Message; import org.eclipse.osee.ote.message.data.MessageData; import org.eclipse.osee.ote.message.enums.DataType; /** * @author Andrew M. Finkbeiner */ public interface IMessageManager> { void destroy(); CLASSTYPE createMessage(Class messageClass) throws TestException; int getReferenceCount(CLASSTYPE classtype); CLASSTYPE findInstance(Class clazz, boolean writer); Collection getAllMessages(); Collection getAllReaders(); Collection getAllWriters(); Collection getAllReaders(DataType type); Collection getAllWriters(DataType type); void init() throws Exception; void publishMessages(boolean publish); boolean isPhysicalTypeAvailable(DataType physicalType); IMessageRequestor createMessageRequestor(String name); }