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