Servoy Methods Details |
---|
connect
Boolean connect( String, String )
Connect to a Service and Topic.Parameters
String service the service
String topic the topic
Returns
Boolean result boolean
Supported Clients
SmartClient, WebClient, NGClient
disconnect
void disconnect( )
Terminate the connection.Returns
void
Supported Clients
SmartClient, WebClient, NGClient
execute
void execute( Object, Number )
Execute a DDE transaction on an item.Parameters
Object item the item
Number timeout the timeout
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
execute
void execute( Object )
Execute a DDE transaction on an item.Parameters
Object item the item
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
get
String get( String, Number )
Retrieve (wait) for data from the DDE server for an item.Parameters
String name the name
Number format the format
Returns
String data String
Supported Clients
SmartClient, WebClient, NGClient
get
String get( String, Number, Number )
Retrieve (wait) for data from the DDE server for an item.Parameters
String name the name
Number format the format
Number timeout the timeout
Returns
String data String
Supported Clients
SmartClient, WebClient, NGClient
get
String get( String )
Retrieve (wait) for data from the DDE server for an item.Parameters
String name the name
Returns
String data String
Supported Clients
SmartClient, WebClient, NGClient
getAsync
void getAsync( String, Number, JSFunction, Array<Object> )
Retrieve data from the DDE server for an item and return results into a method.Parameters
String name:String the name
Number format:int the format
JSFunction method:JSFunction the method
Array<Object> arguments:Object[] the arguments
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
send
void send( String, Object, Object, Number )
Send values to the DDE server for an item.Parameters
String name the name
Object format the format
Object data the data
Number timeout the timeout
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
send
void send( String, Object )
Send values to the DDE server for an item.Parameters
String name the name
Object data the data
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
send
void send( String, Object, Object )
Send values to the DDE server for an item.Parameters
String name the name
Object value1 format:int or data:Object
Object value2 data:Object or timeout:int
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
startAdviseLoop
void startAdviseLoop( String, Number, JSFunction, Array<Object>, Number )
Start/create an advise loop and return results into a method.Parameters
String name:String the name
Number format:int the format
JSFunction method:JSFunction the method
Array<Object> arguments:Object[] the arguments
Number timeout:int the timeout
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
startApplication
Number startApplication( String )
Start a DDE server (returns process id or -1 on failure).Parameters
String service the service
Returns
Number result long
Supported Clients
SmartClient, WebClient, NGClient
startApplication
Number startApplication( String, Boolean )
Start a DDE server (returns process id or -1 on failure).Parameters
String service the service
Boolean show the show window
Returns
Number result long
Supported Clients
SmartClient, WebClient, NGClient
stopAdviseLoop
void stopAdviseLoop( String )
Set stopAdviseLoop value(s).Parameters
String name the name
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
stopAdviseLoop
void stopAdviseLoop( String, Number )
Set stopAdviseLoop value(s).Parameters
String name the name
Number format the format
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
stopAdviseLoop
void stopAdviseLoop( String, Number, Number )
Set stopAdviseLoop value(s).Parameters
String name the name
Number format the format
Number timeout the timeout
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
stopApplication
void stopApplication( Number )
Stop a DDE server.Parameters
Number identifier the id
Returns
void
Supported Clients
SmartClient, WebClient, NGClient
stopApplication
void stopApplication( )
Stop a DDE server.Returns
void
Supported Clients
SmartClient, WebClient, NGClient