Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

MessagingManager

public abstract class MessagingManager

Enables a Viewer or Server to send custom messages.

Nested Classes

Method Summary

Modifier and Type Method and Description
void

sendMessage(byte[] buffer, Connection connection)

Sends a message.

void

setCallback(MessagingManager.Callback callback)

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().

×