git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@813 6c8d7289-2bf4-0310-a012-ef5d649a1542pull/1/head
parent
138d218d5b
commit
9e1485c13b
@ -0,0 +1,22 @@
|
|||||||
|
import java.net.InetAddress;
|
||||||
|
|
||||||
|
public final class httpdProxyAccount {
|
||||||
|
String username;
|
||||||
|
InetAddress ip;
|
||||||
|
int timeLimit; //max. Time for this user
|
||||||
|
int timeUsed;
|
||||||
|
boolean timeBlock; //count linear or only activity?
|
||||||
|
|
||||||
|
public httpdProxyAccount(InetAddress myip){
|
||||||
|
ip=myip;
|
||||||
|
timeLimit=0;
|
||||||
|
timeUsed=0;
|
||||||
|
timeBlock=false;
|
||||||
|
}
|
||||||
|
public httpdProxyAccount(InetAddress myip, int mytimeLimit){
|
||||||
|
ip=myip;
|
||||||
|
timeLimit=mytimeLimit;
|
||||||
|
timeUsed=0;
|
||||||
|
timeBlock=false;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue