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.gsm
Class GsmMessage

java.lang.Object
  extended by ie.ncl.msg.Message
      extended by ie.ncl.msg.BinaryMessage
          extended by ie.ncl.sms.gsm.GsmMessage
All Implemented Interfaces:
AttributeNames, MessageAttributeNames, java.io.Serializable

public class GsmMessage
extends BinaryMessage
implements MessageAttributeNames

GSM message adds a Protocol Id (PID), a data coding scheme (DCS) and a user data header indicator (UDHI) to the message object.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface ie.ncl.sms.MessageAttributeNames
CC, DCS, EOT_GSM_ESCAPE_CHARACTER, PID, PRIORITY, RECEIPT, RECEIPT_BYTES, RECEIPT_STATUS, RECEIPT_TEXT, REGISTERED, REPLACE, REPLY_PATH, SCA, SCHEDULE, SUBMIT_ERROR, TIMESTAMP, UDH, UDHI, VALIDITY
 
Constructor Summary
GsmMessage(GsmAddress address, byte[] bytes)
          Construct a new GSM (binary) message.
 
Method Summary
 DataCodingScheme getDcs()
          Get the data coding scheme.
 ProtocolIdentifier getPid()
          Set the protocol identifier.
 boolean getUdhi()
          Get the user data header indicator.
 void setDcs(ProtocolIdentifier dcs)
          Set the data coding scheme.
 void setPid(ProtocolIdentifier pid)
          Set the protocol identifier.
 void setUdhi(boolean udhi)
          Set the user data header indicator.
 
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

GsmMessage

public GsmMessage(GsmAddress address,
                  byte[] bytes)
Construct a new GSM (binary) message.

Method Detail

setPid

public void setPid(ProtocolIdentifier pid)
Set the protocol identifier.


getPid

public ProtocolIdentifier getPid()
Set the protocol identifier.


setDcs

public void setDcs(ProtocolIdentifier dcs)
Set the data coding scheme.


getDcs

public DataCodingScheme getDcs()
Get the data coding scheme.


setUdhi

public void setUdhi(boolean udhi)
Set the user data header indicator.


getUdhi

public boolean getUdhi()
Get the user data header indicator.


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