KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > joram > client > jms > admin > Server


1 /*
2  * JORAM: Java(TM) Open Reliable Asynchronous Messaging
3  * Copyright (C) 2004 - Bull SA
4  * Copyright (C) 2004 - ScalAgent Distributed Technologies
5  * Copyright (C) 1996 - Dyade
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20  * USA.
21  *
22  * Initial developer(s): ScalAgent DT
23  */

24 package org.objectweb.joram.client.jms.admin;
25
26 public class Server {
27   
28   private int id;
29
30   private String JavaDoc name;
31
32   private String JavaDoc hostName;
33
34   public Server(int id,
35                 String JavaDoc name,
36                 String JavaDoc hostName) {
37     this.id = id;
38     this.name = name;
39     this.hostName = hostName;
40   }
41
42   public final int getId() {
43     return id;
44   }
45
46   public final String JavaDoc getName() {
47     return name;
48   }
49
50   public final String JavaDoc getHostName() {
51     return hostName;
52   }
53 }
54
Popular Tags