View Javadoc

1   //////////////////////////////////////////////////////////////////////////////
2   // dexterIM - Instant Messaging Framework
3   // Copyright (C) 2003  Christoph Walcher
4   //
5   // This program is free software; you can redistribute it and/or modify
6   // it under the terms of the GNU General Public License as published by
7   // the Free Software Foundation; either version 2 of the License, or
8   // (at your option) any later version.
9   //
10  // This program is distributed in the hope that it will be useful,
11  // but WITHOUT ANY WARRANTY; without even the implied warranty of
12  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  // GNU General Public License for more details.
14  //
15  // You should have received a copy of the GNU General Public License
16  // along with this program; if not, write to the Free Software
17  // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  //////////////////////////////////////////////////////////////////////////////
19  package net.sf.dexterim.msn.entity;
20  
21  /***
22   *@author     christoph
23   */
24  public class SwitchBoardServer {
25    private String ip;
26    private int port;
27    private String cki;
28  
29    /***
30     *  Creates a new instance of SwitchBoardServer
31     */
32    public SwitchBoardServer() {
33    }
34  
35    public SwitchBoardServer(String ip, int port, String cki) {
36      this.ip = ip;
37      this.port = port;
38      this.cki = cki;
39    }
40  
41    /***
42     *  Getter for property ip.
43     *
44     *@return    Value of property ip.
45     */
46    public java.lang.String getIP() {
47      return ip;
48    }
49  
50    /***
51     *  Setter for property ip.
52     *
53     *@param  ip  New value of property ip.
54     */
55    public void setIP(java.lang.String ip) {
56      this.ip = ip;
57    }
58  
59    /***
60     *  Getter for property port.
61     *
62     *@return    Value of property port.
63     */
64    public int getPort() {
65      return port;
66    }
67  
68    /***
69     *  Setter for property port.
70     *
71     *@param  port  New value of property port.
72     */
73    public void setPort(int port) {
74      this.port = port;
75    }
76  
77    /***
78     *  Getter for property cki.
79     *
80     *@return    Value of property cki.
81     */
82    public java.lang.String getCKI() {
83      return cki;
84    }
85  
86    /***
87     *  Setter for property cki.
88     *
89     *@param  cki  New value of property cki.
90     */
91    public void setCKI(java.lang.String cki) {
92      this.cki = cki;
93    }
94  }