add constructor

pull/5/head
Zlatin Balevsky 2019-06-25 07:53:24 +01:00
parent 2614cfbe5f
commit 26207ffd1b
1 changed files with 2 additions and 1 deletions

View File

@ -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() {