IJSObject Interface
Overview
The IJSObject Interface represents a custom remotable object within the Thinfinity framework. As described in the documentation, it enables developers to “define an object model that is mirrored on the client side.”
Key Characteristics
Purpose: This interface facilitates communication between web browser clients and remote Windows applications by providing a synchronized object model.
Composition: An IJSObject can contain:
- Properties (via IJSProperties)
- Methods (via IJSMethods)
- Events (via IJSEvents)
- Child objects
Data Synchronization
The interface maintains bidirectional data flow: “Changes to properties values are propagated in from server to client and viceversa, keeping the data synchronized.”
Execution Model
- Methods: Called on the client side but execute on the server side
- Events: Triggered on the server side but raised on the client side
- Properties: Automatically synchronized across the network
Technical Details
- Interface ID: uuid(59342310-79A7-4B14-8B63-6DF05609AE30)
- Attributes: dual, oleautomation
- Base Class: IDispatch
- Definition File: VirtualUIX.ridl
- Library: Thinfinity Library
This design pattern provides a streamlined approach for connecting distributed application components while maintaining a consistent object model across both client and server environments.
Members
| Type | Link |
|---|---|
| Methods | Methods |
| Properties | Properties |