class DatabusServerCoordinates implements Comparable<DatabusServerCoordinates> {

	@Override
	public boolean equals(Object o)
	{
		if ( this == o)
			return true;
		if ( o == null)
			return false;
		if (getClass() != o.getClass())
			return false;

		final DatabusServerCoordinates castedObj = (DatabusServerCoordinates) o;
		if ( _address.equals(castedObj.getAddress()) && _state.equals(castedObj.getState()) )
			return true;
		else
			return false;
	}

	public  DatabusServerCoordinates(String name, InetSocketAddress address, String state);
	public  DatabusServerCoordinates(String name, InetSocketAddress address, StateId state);
	public  DatabusServerCoordinates(String name, InetSocketAddress address);
	public  DatabusServerCoordinates(InetSocketAddress address, String state);

}