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.sms.nbs
Class MenuMessage

java.lang.Object
  extended by ie.ncl.msg.Message
      extended by ie.ncl.msg.BinaryMessage
          extended by ie.ncl.sms.nbs.SmartMessage
              extended by ie.ncl.sms.nbs.MenuMessage
All Implemented Interfaces:
java.io.Serializable

public class MenuMessage
extends SmartMessage

This is used to send a menu message to the mobile handset.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ie.ncl.sms.nbs.SmartMessage
CR, LF, PORT_COMPACT_BUSINESS_CARD, PORT_DYNAMIC_MENU_CONTROL_PROTOCOL, PORT_ICON_READER, PORT_INTERNET_ACCESS_CONFIGURATION, PORT_JAVA, PORT_OPERATOR_LOGO, PORT_PICTURE_MESSAGE, PORT_RING_TONE, PORT_SERVICE_CARD, PORT_SIMPLE_EMAIL_NOTIFICATION, PORT_TTML, PORT_UP_BROWSER, PORT_UP_LINK, PORT_UP_MAIL, PORT_VCALENDAR, PORT_VCARD, PORT_WINK, TRANSFER_MODE_BINARY, TRANSFER_MODE_TEXT
 
Constructor Summary
MenuMessage(Address addr, MenuItem m)
          This is used to add a menu to a handset.
MenuMessage(Address addr, java.lang.String key)
          This is used to remove the menu from the handset.
 
Method Summary
 
Methods inherited from class ie.ncl.sms.nbs.SmartMessage
encodeToSms, getDestinationPort, getMaximumFragmentLength, getNbsHeader, getPreferredTransferMode, getSourcePort, isForCdmaNetwork, isMaximumFragmentLengthSet, isPortNumberInEachFragment, setForCdmaNetwork, setMaximumFragmentLength, setPreferredTransferMode
 
Methods inherited from class ie.ncl.msg.BinaryMessage
getBody, getBytes, setBody, setBytes, size
 
Methods inherited from class ie.ncl.msg.Message
getAttribute, getAttributes, getCorrelationID, getDestination, getID, getSource, getType, putAttribute, removeAttribute, setAttributes, setCorrelationID, setDestination, setID, setSource, setType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuMessage

public MenuMessage(Address addr,
                   MenuItem m)
This is used to add a menu to a handset. Messages are sent using the NarrowBandSocket object.

See Also:
NarrowBandSocket

MenuMessage

public MenuMessage(Address addr,
                   java.lang.String key)
This is used to remove the menu from the handset. The menu item to be removed is specified by the menu item's key.

See Also:
MenuItem.getKey()

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