Learn how to evaluate and integrate the VNC SDK
MessagingManager¶
-
public abstract class
MessagingManager
¶ Enables a Viewer or Server to send custom messages.
Nested Classes¶
- interface
MessagingManager.Callback
Method Summary¶
Modifier and Type | Method and Description |
---|---|
void |
Sends a message. |
void |
Registers a callback notifying when messages are received. |
Methods¶
-
public void
sendMessage
(byte[] buffer, Connection connection) throws Library.VncException¶ Sends a message.
For more information, see
vnc_MessagingManager_sendMessage()
.
-
public void
setCallback
(MessagingManager.Callback callback) throws Library.VncException¶ Registers a callback notifying when messages are received.
For more information, see
vnc_MessagingManager_setCallback()
.