HTML Application SDK
A0.101
|
import"Rs232LanCommand.idl";
Classes | |
interface | executionResultEvent |
Public Member Functions | |
void | addEventListener ([in] String event_name, [in] EventListener listener) |
void | execute ([in] String command) |
void | removeEventListener ([in] String event_name, [in] EventListener listener) |
void | removeEventListener ([in] String event_name) |
This is a class which implements global RS232LANCommand object.
void Rs232LanCommand.addEventListener | ( | [in] String | event_name, |
[in] EventListener | listener | ||
) |
Adds DOM2 event listener for specified event.
Possible values are: event_name: "executionResultEvent", listener: function that has arguments similar to the executionResultEvent interface properties.
event_name | Name of the event. |
listener | javascript function that has arguments like the properties listed in the listener's interface. |
void Rs232LanCommand.execute | ( | [in] String | command | ) |
Sends RS232/LAN command to the platform.
command | Command to execute. |
void Rs232LanCommand.removeEventListener | ( | [in] String | event_name, |
[in] EventListener | listener | ||
) |
Removes single DOM2 event listener for specified event
Possible values are: event_name: "executionResultEvent", listener: function that has arguments similar to the executionResultEvent interface properties.
event_name | Name of the event |
listener | named javascript function that has arguments like the properties listed in the listener's interface. |
void Rs232LanCommand.removeEventListener | ( | [in] String | event_name | ) |
Removes all DOM2 event listeners for specified event
event_name | Name of the event |