summaryrefslogtreecommitdiff
path: root/tags/host/0.8.1/src/org/reprap/comms/Address.java
blob: 0ddeeeee7c2820fe7209dfa0c6ad2e54ed4ed378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package org.reprap.comms;


/**
 * Interface that handles some of the Address
 */
public interface Address {
	
	/**
	 * @param arg address to compare with
	 * @return true if the addresses are identical
	 */
	public boolean equals(Object arg);
	
	/**
	 * @return binary array representation of the address
	 */
	public byte [] getBinary();

	/**
	 * @return ???
	 */
	public Address getNullAddress();
	
	/**
	 * @return string representation of the adress
	 */
	public String toString();
}