public abstract class EngineListenerAdapter extends Object implements EngineListener
EngineListener
to shield subtypes from future callback additions.Constructor and Description |
---|
EngineListenerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
error(Throwable t)
Fatal error that's non recoverable.
|
void |
onDisconnect()
Called when a connection is terminated.
|
void |
onReconnect()
Called when a re-connection is about to be attempted.
|
void |
status(String msg)
Status message that indicates the progress of the operation.
|
void |
status(String msg,
Throwable t)
Status message, with additoinal stack trace that indicates an error that was recovered.
|
public void status(String msg)
EngineListener
status
in interface EngineListener
public void status(String msg, Throwable t)
EngineListener
status
in interface EngineListener
public void error(Throwable t)
EngineListener
error
in interface EngineListener
public void onDisconnect()
EngineListener
onDisconnect
in interface EngineListener
public void onReconnect()
EngineListener
onReconnect
in interface EngineListener
Copyright © 2016. All rights reserved.