public void setAddress(String address){
		
		if(address == null){
			throw new PeerAddressException("Cannot process null addres. Please specify address in the format dd:dd:dd:dd:dd:dd.");
		}
		
		String[] hex = address.split("(\\:|\\-)");

		if (hex.length != this.address.length) {
			throw new PeerAddressException("Invalid address [" + address + "], length = " + hex.length);
		}
		
		try {
			
			for (int i = 0; i < this.address.length; i++) {				
				this.address[i] = (byte) Integer.parseInt(hex[i], 16);
			}
		}
		catch (NumberFormatException e) {
			throw new PeerAddressException("Invalid hex digit in address: " + address, e);
		}
	}