»
         Symbian OS v9.3 »
         Symbian OS reference »
         C++ component reference »
         Narrow Band Protocols SMSSTACK »
         CSmsDeliver
      
      
      	   
      
      	   
      
         	   
         
         Location: 
            gsmupdu.h
            
Link against: gsmu.lib
            
         
         
       
      
      
         class CSmsDeliver : public CSmsPDU;
         Description
         
         SMS-DELIVER PDU - SC to MS 
         
         Derivation
         
         
         
            CBase - Base class for all classes to be instantiated on the heap
             
         
         
            CSmsPDU - A generic interface to a GSM SMS PDU
             
         
         
            CSmsDeliver - SMS-DELIVER PDU - SC to MS
             
         
         Members
         
         Defined in CSmsDeliver:
            
ConstructL(), DataCodingScheme(), DecodeL(), EncodeL(), ExternalizeMessagePDUL(), InternalizeMessagePDUL(), MoreMessagesToSend(), ProtocolIdentifier(), ReplyPath(), ServiceCenterTimeStamp(), SetMoreMessagesToSend(), SetReplyPath(), SetServiceCenterTimeStamp(), SetStatusReportIndication(), StatusReportIndication(), ToFromAddressPtr(), UserDataPtr()
            
         
         
         Inherited from CBase:
            
Delete(),
            Extension_(),
            operator new()
         
         Inherited from CSmsPDU:
            
Alphabet(),
            ApplicationPortAddressing(),
            Bits7To4(),
            Class(),
            ConcatenatedMessagePDUIndex(),
            ConcatenatedMessageReference(),
            DataCodingSchemePresent(),
            ESmsCommand,
            ESmsDeliver,
            ESmsDeliverReport,
            ESmsStatusReport,
            ESmsSubmit,
            ESmsSubmitReport,
            EncodeMessagePDUL(),
            ExternalizeL(),
            IndicationState(),
            IndicationType(),
            NewL(),
            NumConcatenatedMessagePDUs(),
            PIDType(),
            ParameterIndicator(),
            ParsedServiceCenterAddress(),
            ParsedToFromAddress(),
            ProtocolIdentifierPresent(),
            ServiceCenterAddress(),
            SetAlphabet(),
            SetApplicationPortAddressingL(),
            SetBits7To4(),
            SetClass(),
            SetConcatenatedMessagePDUIndex(),
            SetConcatenatedMessageReference(),
            SetDataCodingSchemePresent(),
            SetIndicationState(),
            SetIndicationType(),
            SetNumConcatenatedMessagePDUs(),
            SetPIDType(),
            SetParsedServiceCenterAddressL(),
            SetParsedToFromAddressL(),
            SetProtocolIdentifierPresent(),
            SetServiceCenterAddressL(),
            SetShortMessageType(),
            SetTelematicDeviceIndicator(),
            SetTelematicDeviceType(),
            SetTextCompressed(),
            SetTextConcatenatedL(),
            SetToFromAddressL(),
            SetUserDataPresent(),
            ShortMessageType(),
            TSmsPDUType,
            TelematicDeviceIndicator(),
            TelematicDeviceType(),
            TextCompressed(),
            TextConcatenated(),
            ToFromAddress(),
            Type(),
            UserData(),
            UserDataPresent(),
            iServiceCenterAddress
         
         
       
      
         
         
         
         Construction and destruction
         
      
      
      
      
         protected: virtual void ConstructL(CCnvCharacterSetConverter &aCharacterSetConverter, RFs &aFs);
         Description
         
         
         
         Parameters
         
         
         
         
       
      
      
      
      
         
         IMPORT_C TBool MoreMessagesToSend() const;
         Description
         
         Gets More Messages to Send flag.
         
         Return value
         
         
            
               
                  
                     
                        TBool
                               | 
                        
                            True if More Messages to Send flag set  
                         | 
                      
                   
                | 
            
         
          
      
      
         
         IMPORT_C void SetMoreMessagesToSend(TBool aMore);
         Description
         
         Sets More Messages to Send flag.
         
         Parameters
         
         
            
               
                  
                     
                        
                              TBool aMore | 
                        
                            True if More Messages to Send  
                         | 
                      
                   
                | 
            
         
          
      
      
         
         IMPORT_C TBool ReplyPath() const;
         Description
         
         Gets Reply Path flag.
         
         If a reply path exists, the service center encoded in the DELIVER can be used to construct a SUBMIT reply.
         
         Return value
         
         
            
               
                  
                     
                        TBool
                               | 
                        
                            True if Reply Path exists  
                         | 
                      
                   
                | 
            
         
          
      
      
         
         IMPORT_C void SetReplyPath(TBool aReplyPath);
         Description
         
         Sets Reply Path flag.
         
         Parameters
         
         
            
               
                  
                     
                        
                              TBool aReplyPath | 
                        
                            True to set Reply Path  
                         | 
                      
                   
                | 
            
         
          
      
      
         
         IMPORT_C TBool StatusReportIndication() const;
         Description
         
         Gets Status Report flag.
         
         Return value
         
         
            
               
                  
                     
                        TBool
                               | 
                        
                            True if Status Report to be returned.  
                         | 
                      
                   
                | 
            
         
          
      
         
         
         
         
         SetStatusReportIndication()
         
       
      
         
         IMPORT_C void SetStatusReportIndication(TBool aIndication);
         Description
         
         Sets Status Report flag.
         
         Parameters
         
         
            
               
                  
                     
                        
                              TBool aIndication | 
                        
                            Set True to request Status Report  
                         | 
                      
                   
                | 
            
         
          
      
      
         
         IMPORT_C void ServiceCenterTimeStamp(TTime &aTime, TInt &aNumQuarterHours);
         Description
         
         Gets Service Center Time Stamp.
         
         
         Parameters
         
         
            
               
                  
                     
                        
                              TTime &aTime | 
                        
                            Service Center Time Stamp represented in Universal Time
                              
                            
                         | 
                      
                     
                        
                              TInt &aNumQuarterHours | 
                        
                            +/- Time Zone difference to GMT in quarter hours 
                            
                         | 
                      
                   
                | 
            
         
          
      
         
         
         
         
         SetServiceCenterTimeStamp()
         
       
      
         
         IMPORT_C void SetServiceCenterTimeStamp(const TTime &aTime, TInt aNumQuarterHours=0);
         Description
         
         Sets Service Center Time Stamp.
         
         
         Parameters
         
         
            
               
                  
                     
                        const TTime &aTime | 
                        
                            Service Center Time Stamp represented in Universal Time
                              
                            
                         | 
                      
                     
                        
                              TInt aNumQuarterHours | 
                        
                            +/- Time Zone difference to GMT in quarter hours 
                            
                         | 
                      
                   
                | 
            
         
          
      
      
         
         virtual IMPORT_C const TSmsProtocolIdentifier *ProtocolIdentifier() const;
         Description
         
         Gets the Deliver PID field.
         
         Return value
         
         
          
      
      
         protected: virtual const TSmsDataCodingScheme *DataCodingScheme() const;
         Description
         
         
         
         Return value
         
         
          
      
      
         protected: virtual const CSmsUserData *UserDataPtr() const;
         Description
         
         
         
         Return value
         
         
          
      
      
         protected: virtual const CSmsAddress *ToFromAddressPtr() const;
         Description
         
         
         
         Return value
         
         
          
      
      
         protected: virtual TUint8 *EncodeL(TUint8 *aPtr) const;
         Description
         
         
         
         Parameters
         
         
         
         Return value
         
         
          
      
      
         protected: virtual void DecodeL(TGsmuLex8 &aPdu);
         Description
         
         
         
         Parameters
         
         
          
      
      
         protected: virtual void InternalizeMessagePDUL(RReadStream &aStream);
         Description
         
         
         
         Parameters
         
         
          
      
      
         protected: virtual void ExternalizeMessagePDUL(RWriteStream &aStream) const;
         Description
         
         
         
         Parameters