You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
484 B
25 lines
484 B
package de.anomic.http;
|
|
|
|
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;
|
|
}
|
|
}
|