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 additoinal stack trace that indicates an error that was recovered.
|
public final MainDialog frame
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 © 2014. All rights reserved.