Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Freenet.client
Class DotCounter  view DotCounter download DotCounter.java

java.lang.Object
  extended byFreenet.client.DotCounter
All Implemented Interfaces:
Freenet.support.ByteCounter

public class DotCounter
extends java.lang.Object
implements Freenet.support.ByteCounter


Field Summary
(package private)  long bytes
           
(package private)  long perdot
           
(package private)  long started
           
(package private)  long total
           
 
Constructor Summary
DotCounter(long perdot)
           
 
Method Summary
 void count(int n)
           
 void finished()
           
 long getTotal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

perdot

long perdot

bytes

long bytes

total

long total

started

long started
Constructor Detail

DotCounter

public DotCounter(long perdot)
Method Detail

getTotal

public long getTotal()

count

public void count(int n)
Specified by:
count in interface Freenet.support.ByteCounter

finished

public void finished()
Specified by:
finished in interface Freenet.support.ByteCounter