public final class GuiListener extends Object implements EngineListener
EngineListener implementation that shows GUI.| Modifier and Type | Field and Description |
|---|---|
MainDialog |
frame |
| Constructor and Description |
|---|
GuiListener() |
| 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 additional stack trace that indicates an error that was recovered.
|
public final MainDialog frame
public void status(String msg)
EngineListenerstatus in interface EngineListenerpublic void status(String msg, Throwable t)
EngineListenerstatus in interface EngineListenerpublic void error(Throwable t)
EngineListenererror in interface EngineListenerpublic void onDisconnect()
EngineListeneronDisconnect in interface EngineListenerpublic void onReconnect()
EngineListeneronReconnect in interface EngineListenerCopyright © 2004–2018. All rights reserved.