Source code: Freenet/ProtocolAddress.java
1 package Freenet;
2
3 import java.io.Serializable;
4
5 /*
6 This code is part of the Java Adaptive Network Client by Ian Clarke.
7 It is distributed under the GNU Public Licence (GPL) version 2. See
8 http://www.gnu.org/ for further details of the GPL.
9
10 Explanation of Code Versions:
11 0.0.0 = Initial Description
12 0.0.1 = API Specified
13 0.x (x>0) = Partial Implementation
14 x.0 (x>0) = Operational
15
16 Requires Classes:
17
18 */
19
20 /**
21 * ProtocolAddress.java
22 *
23 * A class representing the address of an Adaptive Network client in the
24 network
25 *
26 * @version 0.1
27 * @author Brandon Wiley (blanu@uts.cc.utexas.edu)
28 * @author Ian Clarke (I.Clarke@strs.co.uk)
29 **/
30
31 public abstract class ProtocolAddress implements Serializable
32 {
33 abstract public ProtocolListeningAddress listenPart();
34 abstract public String toString();
35 abstract public boolean equals(Object o);
36 abstract public boolean equalsHost(Object o);
37 }