2013-08-04 02:18:43 +02:00
|
|
|
package mekanism.api;
|
|
|
|
|
2013-08-18 22:51:47 +02:00
|
|
|
import java.util.Set;
|
|
|
|
|
2013-08-19 03:32:47 +02:00
|
|
|
public interface ITransmitterNetwork<A, N>
|
2013-08-04 02:18:43 +02:00
|
|
|
{
|
|
|
|
public void tick();
|
|
|
|
|
|
|
|
public int getSize();
|
2013-08-18 22:51:47 +02:00
|
|
|
|
|
|
|
public Set<A> getAcceptors(Object... data);
|
|
|
|
|
2013-08-19 03:32:47 +02:00
|
|
|
public void removeTransmitter(ITransmitter<N> transmitter);
|
2013-08-18 22:51:47 +02:00
|
|
|
|
|
|
|
public void refresh();
|
|
|
|
|
2013-08-19 03:32:47 +02:00
|
|
|
public void split(ITransmitter<N> splitPoint);
|
2013-08-18 22:51:47 +02:00
|
|
|
|
|
|
|
public void merge(N network);
|
|
|
|
|
2013-08-19 03:32:47 +02:00
|
|
|
public void fixMessedUpNetwork(ITransmitter<N> transmitter);
|
2013-08-18 22:51:47 +02:00
|
|
|
|
|
|
|
public void register();
|
|
|
|
|
|
|
|
public void deregister();
|
2013-08-04 02:18:43 +02:00
|
|
|
}
|