diff options
Diffstat (limited to 'src/main/java/kekztech/IConduit.java')
-rw-r--r-- | src/main/java/kekztech/IConduit.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/kekztech/IConduit.java b/src/main/java/kekztech/IConduit.java new file mode 100644 index 0000000000..d36c590a63 --- /dev/null +++ b/src/main/java/kekztech/IConduit.java @@ -0,0 +1,23 @@ +package kekztech; + +public interface IConduit { + + public void setNetwork(ConduitNetworkController network); + public ConduitNetworkController getNetwork(); + + /** + * Returns the conduit's throughput capacity. + * + * @return + * The conduit's throughput capacity. + */ + public Number getCapacity(); + + /** + * Call when the throughput capacity was exceeded while traversing this conduit. + */ + public void onOverload(); + + public boolean testForInputFilter(Object o); + public boolean testForOutputFilter(Object o); +} |