KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ve > luz > ica > jackass > daemon > group > GroupNode


1 /*
2  * Copyright (c) 2003 by The Jackass Team
3  * Licensed under the Open Software License version 2.0
4  */

5 package ve.luz.ica.jackass.daemon.group;
6
7 /**
8  * A GroupNode represents a node in a deployment group.
9  * It handles all the communication with other members of the group
10  *
11  * At the moment this is a dummy class. It does not join any group.
12  * It should use a group communication library to manage group communication.
13  *
14  * @author Carlos Arévalo
15  */

16 public class GroupNode
17 {
18     private String JavaDoc name = null;
19
20     /**
21      * Class constructor.
22      * @param theName the group name
23      */

24     public GroupNode(String JavaDoc theName)
25     {
26         this.name = theName;
27     }
28
29     /**
30      * Returns the group name
31      * @return the group name
32      */

33     public String JavaDoc getName()
34     {
35         return this.name;
36     }
37 }
38
Popular Tags