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

net.hycube.MultipleNodeService Maven / Gradle / Ivy

Go to download

HyCube is a distributed hash table based on a hierarchical hypercube geometry, employing a novel variable metric adopting the Steinhaus transform.

There is a newer version: 1.0.5
Show newest version
package net.hycube;

import java.util.Map;
import java.util.concurrent.LinkedBlockingQueue;

import net.hycube.core.InitializationException;
import net.hycube.core.NodeId;
import net.hycube.eventprocessing.Event;
import net.hycube.eventprocessing.EventType;
import net.hycube.join.JoinCallback;
import net.hycube.transport.MessageReceiver;
import net.hycube.transport.MessageReceiverException;

public interface MultipleNodeService {

	public Map> getEventQueues();

	public MessageReceiver initializeMessageReceiver()
			throws InitializationException;

	public NodeService initializeNode(String networkAddress,
			String bootstrapNodeAddress, JoinCallback joinCallback,
			Object callbackArg, MessageReceiver messageReceiver)
			throws InitializationException;

	public NodeService initializeNode(NodeId nodeId, String networkAddress,
			String bootstrapNodeAddress, JoinCallback joinCallback,
			Object callbackArg, MessageReceiver messageReceiver)
			throws InitializationException;

	public NodeService initializeNode(String nodeIdString,
			String networkAddress, String bootstrapNodeAddress,
			JoinCallback joinCallback, Object callbackArg,
			MessageReceiver messageReceiver) throws InitializationException;

	public NodeService initializeNode(NodeId nodeId, String nodeIdString,
			String networkAddress, String bootstrapNodeAddress,
			JoinCallback joinCallback, Object callbackArg,
			MessageReceiver messageReceiver) throws InitializationException;

	public void discardMessageReceiver(MessageReceiver messageReceiver)
			throws MessageReceiverException;

	public void discardNode(NodeService nodeService);

	public void discard();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy