public interface DesktopStateListener
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(String error)
Callback when connection is closed
|
void |
onError(String reason)
Callback when client cannot start or connect to the Desktop.
|
void |
onMessage(String message)
Callback when a message is sent to this client
|
void |
onOutgoingMessage(String message)
Callback when a message is sent from this client
|
void |
onReady()
Callback when Desktop is successfully connected and ready to
accept commands.
|
void onReady()
void onClose(String error)
error - Error message. null for normal closevoid onError(String reason)
reason - Error messagevoid onMessage(String message)
message - Message textvoid onOutgoingMessage(String message)
message - Message textCopyright © 2022. All rights reserved.