01: /*
02: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
03: *
04: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
05: * and Distribution License (the License). You may not use this file except in
06: * compliance with the License.
07: *
08: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
09: * or http://www.netbeans.org/cddl.txt.
10: *
11: * The Original Software is NetBeans. The Initial Developer of the Original
12: * Software is Sun Microsystems, Inc. Portions Copyright 2007 Sun
13: * Microsystems, Inc. All Rights Reserved.
14: *
15: * If you wish your version of this file to be governed by only the CDDL
16: * or only the GPL Version 2, indicate your decision by adding
17: * "[Contributor] elects to include this software in this distribution
18: * under the [CDDL or GPL Version 2] license." If you do not indicate a
19: * single choice of license, a recipient has the option to distribute
20: * your version of this file under either the CDDL, the GPL Version 2 or
21: * to extend the choice of license to its licensees as provided above.
22: * However, if you add GPL Version 2 code and therefore, elected the GPL
23: * Version 2 license, then the option applies only if the new code is
24: * made subject to such option by the copyright holder.
25: */
26:
27: package org.netbeans.lib.collab;
28:
29: /**
30: *
31: * @author jerry
32: */
33: public interface P2PServiceBase {
34: public void addTransport(P2PTransport transport);
35:
36: public void enable();
37:
38: public void disable();
39:
40: }
|