blob: 78df305e87ceac8d97726f762dc90cf813cf4a9c [file] [log] [blame]
/*******************************************************************************
* 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.event;
import java.util.Map;
/**
* @author Roberto E. Escobar
*/
public interface EventService {
/**
* Initiate asynchronous, ordered delivery of an event. This method returns to the caller before delivery of the
* event is completed.
*/
void postEvent(String topic, Map<String, ?> data);
/**
* Initiate synchronous delivery of an event. This method does not return to the caller until delivery of the event
* is completed.
*/
void sendEvent(String topic, Map<String, ?> data);
}