equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * CDDL HEADER START |
2 * CDDL HEADER START |
3 * |
3 * |
4 * The contents of this file are subject to the terms of the |
4 * The contents of this file are subject to the terms of the |
5 * Common Development and Distribution License, Version 1.0 only |
5 * Common Development and Distribution License (the "License"). |
6 * (the "License"). You may not use this file except in compliance |
6 * You may not use this file except in compliance with the License. |
7 * with the License. |
|
8 * |
7 * |
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
10 * or http://www.opensolaris.org/os/licensing. |
9 * or http://www.opensolaris.org/os/licensing. |
11 * See the License for the specific language governing permissions |
10 * See the License for the specific language governing permissions |
12 * and limitations under the License. |
11 * and limitations under the License. |
18 * information: Portions Copyright [yyyy] [name of copyright owner] |
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
19 * |
18 * |
20 * CDDL HEADER END |
19 * CDDL HEADER END |
21 */ |
20 */ |
22 /* |
21 /* |
23 * ident "%Z%%M% %I% %E% SMI" |
|
24 * |
|
25 * Copyright 2001,2003 Sun Microsystems, Inc. All rights reserved. |
22 * Copyright 2001,2003 Sun Microsystems, Inc. All rights reserved. |
26 * Use is subject to license terms. |
23 * Use is subject to license terms. |
27 * |
24 * |
28 */ |
25 */ |
29 |
26 |
30 // SCCS Status: %W% %G% |
|
31 // DATable.java: Interface for DATables. |
27 // DATable.java: Interface for DATables. |
32 // Author: James Kempf |
28 // Author: James Kempf |
33 // Created On: Mon May 11 13:46:02 1998 |
29 // Created On: Mon May 11 13:46:02 1998 |
34 // Last Modified By: James Kempf |
30 // Last Modified By: James Kempf |
35 // Last Modified On: Mon Feb 22 15:47:37 1999 |
31 // Last Modified On: Mon Feb 22 15:47:37 1999 |
42 /** |
38 /** |
43 * DATable is an abstract class that provides the interface for DA |
39 * DATable is an abstract class that provides the interface for DA |
44 * and scope discovery. A variety of implementations are possible. |
40 * and scope discovery. A variety of implementations are possible. |
45 * The getDATable() method creates the right one from a subclass. |
41 * The getDATable() method creates the right one from a subclass. |
46 * |
42 * |
47 * @version %R%.%L% %D% |
|
48 * @author James Kempf |
43 * @author James Kempf |
49 */ |
44 */ |
50 |
45 |
51 import java.util.*; |
46 import java.util.*; |
52 import java.net.*; |
47 import java.net.*; |
73 final static String UNICAST_KEY = "&&**^^UNICASTxxxKEY^^**&&"; |
68 final static String UNICAST_KEY = "&&**^^UNICASTxxxKEY^^**&&"; |
74 |
69 |
75 /** |
70 /** |
76 * A record for all DAs supporting exactly the same set of scopes. |
71 * A record for all DAs supporting exactly the same set of scopes. |
77 * |
72 * |
78 * @version %R%.%L% %D% |
|
79 * @author James Kempf |
73 * @author James Kempf |
80 */ |
74 */ |
81 |
75 |
82 |
76 |
83 public static class DARecord extends Object { |
77 public static class DARecord extends Object { |