Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit

ie.ncl.wap.push
Class ServiceLoading

java.lang.Object
  extended by ie.ncl.wap.push.WSPRequest
      extended by ie.ncl.wap.push.ServiceLoading

public class ServiceLoading
extends WSPRequest

Service Loading is used to send a URL to a mobile phone for the purposes of initiating an Internet session on the phone. The user may be prompted to retrieve the page/data as specified by the URL depending on the optional 'action' set in the Service Loading.

Service Loading is supported by phones that are WAP 1.2 compliant (e.g. Ericsson T68)

Service Loading requests are sent to mobile phones using the WAPPush object.

See Also:
WAPPush

Field Summary
static int ACTION_CACHE
          A Service Loading sent to a mobile with an cache action will cause the URL in the request to be loaded on the phone.
static int ACTION_EXECUTE_HIGH
          A Service Loading sent to a mobile with an execute high action will cause the URL in the request to be loaded on the phone.
static int ACTION_EXECUTE_LOW
          A Service Loading sent to a mobile with an 'execute low' action will cause the URL in the request to be loaded on the phone.
 
Fields inherited from class ie.ncl.wap.push.WSPRequest
SECURITY_METHOD_NETWPIN, SECURITY_METHOD_USERNETWPIN, SECURITY_METHOD_USERPIN, SECURITY_METHOD_USERPINMAC
 
Constructor Summary
ServiceLoading(java.net.URL url)
          Create a Service Loading object specifying the URL of the page to be retrieved.
 
Method Summary
 int getAction()
          Get the action of the Service Loading.
 java.net.URL getHref()
          Alias for getURL.
 java.net.URL getURL()
          Get the URL of the Service Loading.
 java.lang.String getXml()
           
 void setAction(int action)
          Set the action of the Service Loading.
 
Methods inherited from class ie.ncl.wap.push.WSPRequest
encode, encodeToSms, encodeToSms, encodeToSms, encodeToSms, entityEncode, generateMac, getAttributes, getContentType, getEncoding, getHeader, getHeaderNames, getNetworkPin, getTransactionID, getUserPin, main, setAttributes, setEncoding, setHeader, setNetworkPin, setTransactionID, setUserPin, toSmartMessage, toSmartMessage, toSmartMessage, toSmartMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_EXECUTE_LOW

public static int ACTION_EXECUTE_LOW
A Service Loading sent to a mobile with an 'execute low' action will cause the URL in the request to be loaded on the phone. The content is fetched from the server or from the mobile phone's cache, if available, and displayed on the phone. This is usually done in a non-user-intrusive manner i.e. no user interaction is required.


ACTION_EXECUTE_HIGH

public static int ACTION_EXECUTE_HIGH
A Service Loading sent to a mobile with an execute high action will cause the URL in the request to be loaded on the phone. The content is fetched from the server or from the mobile phone's cache, if available, and displayed on the phone. This is usually done in a user-intrusive manner i.e. user interaction is required.


ACTION_CACHE

public static int ACTION_CACHE
A Service Loading sent to a mobile with an cache action will cause the URL in the request to be loaded on the phone. The content is fetched from the server and stored in the mobile phone's cache. This is usually done in a non-user-intrusive manner i.e. no user interaction is required.

Constructor Detail

ServiceLoading

public ServiceLoading(java.net.URL url)
Create a Service Loading object specifying the URL of the page to be retrieved.

Method Detail

getXml

public java.lang.String getXml()
Specified by:
getXml in class WSPRequest

getURL

public java.net.URL getURL()
Get the URL of the Service Loading.


getHref

public java.net.URL getHref()
Alias for getURL.


getAction

public int getAction()
Get the action of the Service Loading.

See Also:
ACTION_EXECUTE_HIGH, ACTION_EXECUTE_LOW, ACTION_CACHE

setAction

public void setAction(int action)
Set the action of the Service Loading.

See Also:
ACTION_EXECUTE_HIGH, ACTION_EXECUTE_LOW, ACTION_CACHE

Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit