View Javadoc
1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   
6   package net.sf.atmodem4j.core.gsm;
7   
8   /*
9    * #%L
10   * ATModem4J Core
11   * %%
12   * Copyright (C) 2009 - 2014 atmodem4j
13   * %%
14   * atmodem4j - Drivers for the AT modem - http://atmodem4j.sourceforge.net/
15   * Copyright (C) 2009-2014, atmodem4j.sf.net, and individual contributors as indicated
16   * by the @authors tag. See the copyright.txt in the distribution for a
17   * full listing of individual contributors.
18   * 
19   * This is free software; you can redistribute it and/or modify it
20   * under the terms of the GNU General Public License as
21   * published by the Free Software Foundation; either version 3 of
22   * the License, or (at your option) any later version.
23   * 
24   * This software is distributed in the hope that it will be useful,
25   * but WITHOUT ANY WARRANTY; without even the implied warranty of
26   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27   * Lesser General Public License for more details.
28   * 
29   * You should have received a copy of the GNU Lesser General Public
30   * License along with this software; if not, write to the Free
31   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
32   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
33   * #L%
34   */
35  
36  import java.util.Date;
37  
38  
39  /**
40   *
41   * @author aploese
42   */
43  public class PduDeliver extends Pdu {
44  
45      private String orginatorAddress;
46      private Date smscTimestamp;
47  
48      void setOrginatorAddress(String orginatorAddress) {
49          this.orginatorAddress = orginatorAddress;
50      }
51  
52      /**
53       * @return the orginatorAddress
54       */
55      public String getOrginatorAddress() {
56          return orginatorAddress;
57      }
58  
59      /**
60       * @param smscTimestamp the smscTimestamp to set
61       */
62      void setSmscTimestamp(Date smscTimestamp) {
63          this.smscTimestamp = smscTimestamp;
64      }
65  
66      /**
67       * @return the smscTimestamp
68       */
69      public Date getSmscTimestamp() {
70          return smscTimestamp;
71      }
72  
73  }