view src/main/java/suikwasha/distributedalgorithm/framework/Port.java @ 2:8e1f63faa2fd default tip

added Franklin's Algorithm
author suikwasha
date Tue, 23 Oct 2012 16:49:26 +0900
parents d24bcb819032
children
line wrap: on
line source

package suikwasha.distributedalgorithm.framework;

public interface Port
{
	public void send(Message _mes);
	public boolean isReady();
	public Message blockingReceive() throws InterruptedException;
	public Message tryReceive();
}