2013-08-27 00:49:32 +02:00
|
|
|
package mekanism.api.transmitters;
|
2013-08-04 02:18:43 +02:00
|
|
|
|
2013-12-16 21:00:57 +01:00
|
|
|
import java.util.List;
|
2013-08-18 22:51:47 +02:00
|
|
|
import java.util.Set;
|
|
|
|
|
2013-12-06 13:57:26 +01:00
|
|
|
public interface ITransmitterNetwork<A, N extends DynamicNetwork<A, N>>
|
2013-08-04 02:18:43 +02:00
|
|
|
{
|
|
|
|
public void tick();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-04 02:18:43 +02:00
|
|
|
public int getSize();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-23 20:23:08 +02:00
|
|
|
public int getAcceptorSize();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-23 20:23:08 +02:00
|
|
|
public String getNeeded();
|
2014-01-07 04:17:59 +01:00
|
|
|
|
|
|
|
public String getStored();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-23 20:23:08 +02:00
|
|
|
public String getFlow();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-18 22:51:47 +02:00
|
|
|
public Set<A> getAcceptors(Object... data);
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-12-21 01:12:33 +01:00
|
|
|
public void removeTransmitter(IGridTransmitter<N> transmitter);
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-18 22:51:47 +02:00
|
|
|
public void refresh();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-12-21 01:12:33 +01:00
|
|
|
public void split(IGridTransmitter<N> splitPoint);
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-18 22:51:47 +02:00
|
|
|
public void merge(N network);
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-12-21 01:12:33 +01:00
|
|
|
public void fixMessedUpNetwork(IGridTransmitter<N> transmitter);
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-18 22:51:47 +02:00
|
|
|
public void register();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-18 22:51:47 +02:00
|
|
|
public void deregister();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-22 17:36:31 +02:00
|
|
|
public void setFixed(boolean value);
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-08-22 20:07:28 +02:00
|
|
|
public TransmissionType getTransmissionType();
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-12-18 02:28:25 +01:00
|
|
|
public boolean canMerge(List<ITransmitterNetwork<?, ?>> networks);
|
2014-03-08 02:00:25 +01:00
|
|
|
|
2013-12-16 23:54:27 +01:00
|
|
|
public void onNetworksCreated(List<N> networks);
|
2013-08-04 02:18:43 +02:00
|
|
|
}
|