Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Public Member Functions
javascript::IlsMvComponent Class Reference

IlsMvComponent JavaScript proxy. More...

#include <javascript/clientside.h>

Public Member Functions

void execGlobalCallback (String callbackName,...)
 Calls a user-defined global callback on the server. More...
 

Detailed Description

IlsMvComponent JavaScript proxy.

It represents a connection to a specific server. You can retrieve this object through the script method IlsRepresentation::getComponent().

Warning
This class is a JavaScript class, not a C++ one.
See also
IlsMvComponent (C++).

Member Function Documentation

◆ execGlobalCallback()

void javascript::IlsMvComponent::execGlobalCallback ( String  callbackName,
  ... 
)

Calls a user-defined global callback on the server.

Parameters
callbackNamecallback name.
...The arguments callbackArg1 to callbackArg10 are optional. If they are supplied, they are converted into an array of IlsMvValue objects and passed to the user-defined callback on the server. All optional callback arguments must be entered as strings, which will be converted to the correct type when used.