KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > mobilitools > util > corba > NSbinding


1 /*
2 * MobiliTools: an implementation of the Object Management Group's
3 * Mobile Agent Facility specification.
4 * Copyright (C) 2003 France Telecom R&D
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 * MobiliTools $Name: $
21 *
22 * Contact: mobilitools-smi@lists.debian-sf.objectweb.org
23 *
24 * Authors: Bruno Dillenseger
25 */

26
27
28 package org.objectweb.mobilitools.util.corba;
29
30
31 import org.omg.CORBA.*;
32 import org.omg.CosNaming.*;
33 import org.omg.CosNaming.NamingContextPackage.*;
34 import java.util.*;
35
36
37 public class NSbinding
38 {
39     static public final int CONTEXT = 0;
40     static public final int OBJECT = 1;
41     public org.omg.CORBA.Object JavaDoc object;
42     public String JavaDoc name;
43     public String JavaDoc kind;
44     public int type;
45
46     public NSbinding(String JavaDoc the_name,
47                      String JavaDoc the_kind,
48                      int the_type,
49                      org.omg.CORBA.Object JavaDoc the_object)
50     {
51         name = the_name;
52         kind = the_kind;
53         type = the_type;
54         object = the_object;
55     }
56 }
57
Popular Tags