Learn how to evaluate and integrate the VNC SDK
DataStore.Callback¶
-
class DataStore.Callback
¶ Callback providing custom storage of data used by the SDK.
For more information, see
vnc_DataStore_Callback
in the C API documentation.
Nested classes¶
Constructor summary
Modifier and Type | Method and Description |
---|---|
Initializes a new Callback class instance. |
Method summary
Modifier and Type | Method and Description |
---|---|
void |
Handles the Put event.
By default, calls the |
DataBuffer |
Handles the Get event.
By default, calls the |
Constructors¶
-
DataStore.Callback
(DataStore.Callback.PutType put = null, DataStore.Callback.GetType get = null)¶ Initializes a new Callback class instance.
For more information, see
vnc_DataStore_Callback()
in the C API documentation.
Methods¶
-
void
DataStore.Callback.OnPut
(String key, ImmutableDataBuffer value)¶ Handles the Put event. By default, calls the
DataStore.Callback.Put
delegate.
-
DataBuffer
DataStore.Callback.OnGet
(String key)¶ Handles the Get event. By default, calls the
DataStore.Callback.Get
delegate.
Fields¶
-
DataStore.Callback.Put
¶ Requests storing data in your custom data store.
For more information, see
vnc_DataStore_Callback::put
in the C API documentation.
-
DataStore.Callback.Get
¶ Requests data stored in your custom data store.
For more information, see
vnc_DataStore_Callback::get
in the C API documentation.