mirror of https://github.com/zlatinb/muwire
add constructor
parent
2614cfbe5f
commit
26207ffd1b
|
@ -11,8 +11,9 @@ class Host {
|
|||
int failures,successes
|
||||
long lastAttempt
|
||||
|
||||
public Host(Destination destination) {
|
||||
public Host(Destination destination, int clearInterval) {
|
||||
this.destination = destination
|
||||
this.clearInterval = clearInterval
|
||||
}
|
||||
|
||||
synchronized void onConnect() {
|
||||
|
|
Loading…
Reference in New Issue