public class Test extends Object implements DesktopStateListener
| Constructor and Description |
|---|
Test() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
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.
|
public void onReady()
DesktopStateListeneronReady in interface DesktopStateListenerpublic void onClose(String error)
DesktopStateListeneronClose in interface DesktopStateListenererror - Error message. null for normal closepublic void onError(String reason)
DesktopStateListeneronError in interface DesktopStateListenerreason - Error messagepublic void onMessage(String message)
DesktopStateListeneronMessage in interface DesktopStateListenermessage - Message textpublic void onOutgoingMessage(String message)
DesktopStateListeneronOutgoingMessage in interface DesktopStateListenermessage - Message textpublic static void main(String[] args)
Copyright © 2022. All rights reserved.