net.i2p.i2ptunnel.streamr
Class Pinger

java.lang.Object
  extended by net.i2p.i2ptunnel.streamr.Pinger
All Implemented Interfaces:
java.lang.Runnable, Source

public class Pinger
extends java.lang.Object
implements Source, java.lang.Runnable

Author:
welterde/zzz

Field Summary
protected  boolean running
           
protected  Sink sink
           
protected  java.lang.Thread thread
           
 
Constructor Summary
Pinger()
           
 
Method Summary
 void run()
           
 void setSink(Sink sink)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sink

protected Sink sink

thread

protected java.lang.Thread thread

running

protected boolean running
Constructor Detail

Pinger

public Pinger()
Method Detail

setSink

public void setSink(Sink sink)
Specified by:
setSink in interface Source

start

public void start()
Specified by:
start in interface Source

stop

public void stop()

run

public void run()
Specified by:
run in interface java.lang.Runnable