|Manuals

JSObject Class

Overview

The JSObject class represents a custom remotable object within the Thinfinity Virtual UI framework. It enables developers to establish a mirrored object model between server and client, facilitating seamless communication between web browser applications and remoted Windows environments.

Class Hierarchy

Class Information

Attribute Value
Header File Thinfinity.VirtualUI.h
Language C++

Key Capabilities

JSObject supports multiple components for building interactive applications:

  • Properties (IJSProperties): Data elements that synchronize bidirectionally between server and client
  • Methods (IJSMethods): Operations invoked on the client that execute server-side
  • Events (IJSEvents): Actions triggered server-side that propagate to the client interface
  • Child Objects: Hierarchical object composition for complex models

Functionality

The class automatically maintains data consistency across the client-server boundary. Property modifications propagate in both directions, ensuring the application state remains synchronized. This architecture provides an easy, powerful and straight-forward way to connect the web browser client application and the remoted Windows application.

Category

Listed under C++ Classes in the documentation structure.

Members

Type Link
Constructor JSObject()
Destructor ~JSObject()
Methods Methods
Properties Properties

Methods

Method Description
JSObject() Constructor
~JSObject() Destructor
Id() Gets the object identifier
QueryInterface() Queries for interface support
ApplyChanges() Applies pending changes
ApplyModel() Applies the object model
FireEvent() (BSTR) Fires an event with BSTR parameters
FireEvent() (wstring) Fires an event with wstring parameters
Properties() Gets the properties collection
Methods() Gets the methods collection
Events() Gets the events collection
Objects() Gets the child objects collection

Properties

Property Description
Id Object identifier
Properties Properties collection
Methods Methods collection
Events Events collection
Objects Child objects collection