public interface Observer
Modifier and Type | Method and Description |
---|---|
void |
error(java.lang.Throwable throwable)
Error
|
void |
fail()
Connection failed
|
void |
other(int code)
Other mistakes
|
void |
success()
Successful connection
|