- No category
advertisement
Preliminary Reference Information
PRI Name
Access
Since revision
PRI Number
Mod date
eWON Java interface user guide
OEM, DIST
5.2
PRI-0006-0
17. Aug 2007
Build
70
●
Clear pending actions in the scheduled action manager queue.
Test class
The Test class for the StorageControl class is: com.ewon.ewontest.TestStorageControl
Example
All the StorageControl function are described in the Test class and in the javadoc, please refer to this material.
NetManager: Close PPP connection, get interface information
Class: com.ewon.ewonitf.NetManager
This class provides the following features:
●
Close the PPP connection
●
Manager transparent forwarding
●
Get PPP, WAN, VPN IP address
●
Test class
The Test class for the NetManager class is: com.ewon.ewontest. TestNetManager
Example
All the NetManager function are described in the Test class and in the javadoc, please refer to this material.
The example bellow show a few calls to the class methods.
PRI-0006-0-EN-(eWON Java interface user guide)_1_3 Page 27/30
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 3 Intoduction: JAVA & eWON interactions
- 4 Know which JavaETK version you are running
- 4 In your Java application
- 4 In the eWON Web interface
- 4 In the Java documentation
- 5 SysControlBlock: Reading and writing configuration
- 5 Class: com.ewon.ewonitf.SysControlBlock
- 5 Test class
- 5 Example
- 6 IOManager: Read/Write tags IO. Manage led and button
- 6 Class: com.ewon.ewonitf.IOManager
- 6 Test class
- 6 Example:
- 7 TagControl: Map eWON Tag to monitor and manage tags
- 7 Class: com.ewon.ewonitf.TagControl
- 8 Test class
- 8 Example:
- 10 DefaultEventHandler: Manage eWON events form Java
- 10 Class: com.ewon.ewonitf.DefaultEventHandler
- 12 Create Web forms
- 15 Manage Tag events (value change and alarm)
- 17 Receive SMS using
- 18 Check eWON Button events
- 18 Check PPP, VPN, WAN connect/disconnect events
- 18 Test class
- 19 Loader: Load data in the eWON (configuration for ex.)
- 19 Class: com.ewon.ewonitf.Loader
- 19 Test class
- 19 Example
- 20 Exporter: Transfer an Export Block Descriptor to an output stream
- 20 Class: com.ewon.ewonitf.Exporter
- 20 Test class
- 20 Example
- 21 ModemManager: Read SMS, reset modem, ...
- 21 Class: com.ewon.ewonitf.ModemManager
- 21 Test class
- 21 Example
- 23 ScheduledActionManager: Sendmail, PutFTP etc...
- 23 Class: com.ewon.ewonitf.ScheduledActionManager
- 23 Test class
- 23 Example:
- 25 RuntimeControl: Java watchdog, reseet and reboot
- 25 Class: com.ewon.ewonitf.RuntimeControl
- 25 Test class
- 25 Example
- 25 EventManager: log events in events.txt and in “real time log”.
- 25 Class: com.ewon.ewonitf.EventManager
- 25 Test class
- 26 Example
- 26 EwonSystem: Get “system up time” and set the clock
- 26 Class: com.ewon.ewonitf.EwonSystem
- 26 Test class
- 26 Example
- 26 StorageControl: Erase system data, config and files, or save config
- 26 Class: com.ewon.ewonitf.StorageControl
- 27 Test class
- 27 Example
- 27 NetManager: Close PPP connection, get interface information
- 27 Class: com.ewon.ewonitf.NetManager
- 27 Test class
- 27 Example
- 28 CommConnection: Working with serial port.
- 28 Class: javax.microedition.io.CommConnection
- 28 Test Class
- 28 Example
- 29 Flash File System
- 29 Class: javax.microedition.io.FileConnection
- 29 Example
- 30 Using IP sockets
- 30 Asynchronous events