add logic to start and stop filter timers

This commit is contained in:
zab2
2019-03-29 16:27:10 +00:00
parent fc9ad32878
commit c0c95827ef
4 changed files with 57 additions and 20 deletions

View File

@@ -0,0 +1,19 @@
package net.i2p.client.streaming;
/**
* A ConnectionFilter that may hold state, can be started and stopped
* @since 0.9.40
*/
public interface StatefulConnectionFilter extends IncomingConnectionFilter {
/**
* Tells this filter to start
*/
public void start();
/**
* Tells this filter to stop and release any resources
*/
public void stop();
}