All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.distributeme.support.eventservice.EventServiceRMIBridgeService Maven / Gradle / Ivy

There is a newer version: 4.0.2
Show newest version
package org.distributeme.support.eventservice;

import net.anotheria.anoprise.eventservice.EventTransportShell;
import net.anotheria.anoprise.metafactory.Service;
import org.distributeme.annotation.DistributeMe;
import org.distributeme.annotation.SupportService;
import org.distributeme.core.ServiceDescriptor;


@DistributeMe( factoryClazz=EventServiceRMIBridgeServiceFactory.class)
@SupportService
public interface EventServiceRMIBridgeService extends Service {
	public void deliverEvent(EventTransportShell shell) throws EventServiceRMIBridgeServiceException;
	public void registerRemoteConsumer(String channelName, ServiceDescriptor myReference) throws EventServiceRMIBridgeServiceException;
	public void registerRemoteSupplier(String channelName, ServiceDescriptor myReference) throws EventServiceRMIBridgeServiceException;
	
	/**
	 * Returns the instanceid of this instance. This is needed to separate between crashed/ended and restarted services on same port.
	 * @return
	 * @throws EventServiceRMIBridgeServiceException
	 */
	public String getInstanceId() throws EventServiceRMIBridgeServiceException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy