public interface ConnectionListener extends EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
connected()
Called after a successful connection to Yamcs has been established.
|
void |
connecting()
Called right before the initial connection to Yamcs is being made.
|
void |
connectionFailed(ClientException exception)
Called when the initial connection to Yamcs has failed, e.g. the maximum number of retry attempts has exceeded.
|
void |
disconnected()
Called when the connection to Yamcs is closed.
|
default void |
log(String message)
Used to log messages.
|
void connecting()
void connected()
void connectionFailed(ClientException exception)
exception - Optional cause of the connection failure, may be null.void disconnected()
default void log(String message)
message - the messages to be loggedCopyright © 2022 Space Applications Services. All rights reserved.