forked from I2P_Developers/i2p.i2p
add logic to start and stop filter timers
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
Reference in New Issue
Block a user