lib/src/main/java/edu/berkeley/boinc/rpc/RpcClient.java
public synchronized boolean projectAttach(String url, String authenticator, String name) {
		try {
			mRequest.setLength(0);
			mRequest.append("<project_attach>\n   <project_url>");
			mRequest.append(url);
			mRequest.append("</project_url>\n   <authenticator>");
			mRequest.append(authenticator);
			mRequest.append("</authenticator>\n   <project_name>");
			mRequest.append(name);
			mRequest.append("</project_name>\n</project_attach>\n");
			
			sendRequest(mRequest.toString());
			SimpleReplyParser parser = SimpleReplyParser.parse(receiveReply());
			if (parser == null)
				return false;
			mLastErrorMessage = parser.getErrorMessage();
			return parser.result();
		} catch (IOException e) {
			if(Logging.WARNING) Log.w(Logging.TAG, "error in projectAttach()", e);
			return false;
		}
	}
/**
	 * Attach to project 
	 * @param url project url
	 * @param authenticator account key
	 * @param name project name
	 * @return
	 */
Attach to project
@param url project url
@param authenticator account key
@param name project name
@return
Attach to project @param url project url @param authenticator account key @param name project name @return
public synchronized boolean projectAttach(String url, String authenticator, String name) {
		try {
			mRequest.setLength(0);
			mRequest.append("<project_attach>\n   <project_url>");
			mRequest.append(url);
			mRequest.append("</project_url>\n   <authenticator>");
			mRequest.append(authenticator);
			mRequest.append("</authenticator>\n   <project_name>");
			mRequest.append(name);
			mRequest.append("</project_name>\n</project_attach>\n");
			sendRequest(mRequest.toString());
			SimpleReplyParser parser = SimpleReplyParser.parse(receiveReply());
			if (parser == null)
				return false;
			mLastErrorMessage = parser.getErrorMessage();
			return parser.result();
		} catch (IOException e) {
			if(Logging.WARNING) Log.w(Logging.TAG, "error in projectAttach()", e);
			return false;
		}
	}
public synchronized boolean projectAttach ( String url , String authenticator , String name ) { try { mRequest . setLength ( 0 ) ; mRequest . append ( "<project_attach>\n   <project_url>" ) ; mRequest . append ( url ) ; mRequest . append ( "</project_url>\n   <authenticator>" ) ; mRequest . append ( authenticator ) ; mRequest . append ( "</authenticator>\n   <project_name>" ) ; mRequest . append ( name ) ; mRequest . append ( "</project_name>\n</project_attach>\n" ) ; sendRequest ( mRequest . toString ( ) ) ; SimpleReplyParser parser = SimpleReplyParser . parse ( receiveReply ( ) ) ; if ( parser == null ) return false ; mLastErrorMessage = parser . getErrorMessage ( ) ; return parser . result ( ) ; } catch ( IOException e ) { if ( Logging . WARNING ) Log . w ( Logging . TAG , "error in projectAttach()" , e ) ; return false ; } }
Attach to project
 @param url project url
 @param authenticator account key
 @param name project name
 @return
Attach to project @param url project url @param authenticator account key @param name project name @return