Class DataSMResp

  • All Implemented Interfaces:
    Demarshaller, Marshaller, java.io.Serializable

    public class DataSMResp
    extends Response
    implements Marshaller, Demarshaller
    DataSMResp Copyright (C) Selenium Software Ltd 2006 This file is part of SMPPSim. SMPPSim is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. SMPPSim is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with SMPPSim; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    See Also:
    Serialized Form
    • Field Detail

      • smsc

        private Smsc smsc
      • message_id

        java.lang.String message_id
      • optionalsByTag

        private java.util.HashMap<java.lang.Short,​Tlv> optionalsByTag
    • Constructor Detail

      • DataSMResp

        public DataSMResp()
      • DataSMResp

        public DataSMResp​(DataSM requestMsg)
    • Method Detail

      • marshall

        public byte[] marshall()
                        throws java.lang.Exception
        Specified by:
        marshall in interface Marshaller
        Throws:
        java.lang.Exception
      • demarshall

        public void demarshall​(byte[] request)
                        throws java.lang.Exception
        Specified by:
        demarshall in interface Demarshaller
        Throws:
        java.lang.Exception
      • getMessage_id

        public java.lang.String getMessage_id()
        Returns:
      • hasOptionnal

        public boolean hasOptionnal​(short aTag)
      • getOptionnal

        public Tlv getOptionnal​(short aTag)
      • getOptionnalTags

        public java.util.List<java.lang.Short> getOptionnalTags()
      • setMessage_id

        public void setMessage_id​(java.lang.String string)
        Parameters:
        string -
      • setOptionnal

        public void setOptionnal​(Tlv opt)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Response