Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Coding a Mobile Application : Mobile Designer-Provided Run-Time Classes : Run-Time Comms Classes
Run-Time Comms Classes
com.softwareag.mobile.runtime.comms.HttpConnectionHandler
Use the HttpConnectionHandler class to initiate HTTP connections and manage sending and downloading data in separate threads.
Mobile Designer sets the default value for a device based on the device’s capabilities. The default value is set in the device’s profile in the Mobile Designer device database. For more information about the device profiles and the device database, see Devices that a Mobile Application Supports.
You can override the value Mobile Designer sets using the mobiledesigner.runtime.core.class.comms.httpconnection project property.
com.softwareag.mobile.runtime.comms.MessageConnectionHandler
Use the MessageConnectionHandler class to control the detection of incoming SMS messages using the Wireless Messaging API, to send SMS messages to other phones and to handle Push Notifications.
Mobile Designer sets the default value for each device. You can override the value Mobile Designer sets setting the mobiledesigner.runtime.core.class.comms.messageconnection project property to none or wma.
Note:  
The MessageConnectionHandler implements the MessageListener class.
Note:  
The httpstream variant of HttpConnectionHandler allows HTTP DELETE messages to specify an optional POST body.
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback