lib/src/main/java/edu/berkeley/boinc/rpc/RpcClient.java
public synchronized boolean acctMgrRPC(String url, String name, String passwd) {
		try {
			mRequest.setLength(0);
			mRequest.append("<acct_mgr_rpc>\n   <url>");
			mRequest.append(url);
			mRequest.append("</url>\n   <name>");
			mRequest.append(name);
			mRequest.append("</name>\n   <password>");
			mRequest.append(passwd);
			mRequest.append("</password>\n</acct_mgr_rpc>\n");

			sendRequest(mRequest.toString());
			SimpleReplyParser parser = SimpleReplyParser.parse(receiveReply());
			mLastErrorMessage = parser.getErrorMessage();
			return parser.result();
		} catch (IOException e) {
			if(Logging.WARNING) Log.w(Logging.TAG, "error in acctMgrRPC()", e);
			return false;
		}
	}
/**
	 * performs acct_mgr_rpc towards client
	 * attaches account manager to client
	 * requires polling of status
	 * @param url
	 * @param name
	 * @param passwd
	 * @return success
	 */
performs acct_mgr_rpc towards client
attaches account manager to client
requires polling of status
@param url
@param name
@param passwd
@return success
performs acct_mgr_rpc towards client attaches account manager to client requires polling of status @param url @param name @param passwd @return success
public synchronized boolean acctMgrRPC(String url, String name, String passwd) {
		try {
			mRequest.setLength(0);
			mRequest.append("<acct_mgr_rpc>\n   <url>");
			mRequest.append(url);
			mRequest.append("</url>\n   <name>");
			mRequest.append(name);
			mRequest.append("</name>\n   <password>");
			mRequest.append(passwd);
			mRequest.append("</password>\n</acct_mgr_rpc>\n");
			sendRequest(mRequest.toString());
			SimpleReplyParser parser = SimpleReplyParser.parse(receiveReply());
			mLastErrorMessage = parser.getErrorMessage();
			return parser.result();
		} catch (IOException e) {
			if(Logging.WARNING) Log.w(Logging.TAG, "error in acctMgrRPC()", e);
			return false;
		}
	}
public synchronized boolean acctMgrRPC ( String url , String name , String passwd ) { try { mRequest . setLength ( 0 ) ; mRequest . append ( "<acct_mgr_rpc>\n   <url>" ) ; mRequest . append ( url ) ; mRequest . append ( "</url>\n   <name>" ) ; mRequest . append ( name ) ; mRequest . append ( "</name>\n   <password>" ) ; mRequest . append ( passwd ) ; mRequest . append ( "</password>\n</acct_mgr_rpc>\n" ) ; sendRequest ( mRequest . toString ( ) ) ; SimpleReplyParser parser = SimpleReplyParser . parse ( receiveReply ( ) ) ; mLastErrorMessage = parser . getErrorMessage ( ) ; return parser . result ( ) ; } catch ( IOException e ) { if ( Logging . WARNING ) Log . w ( Logging . TAG , "error in acctMgrRPC()" , e ) ; return false ; } }
performs acct_mgr_rpc towards client
 attaches account manager to client
 requires polling of status
 @param url
 @param name
 @param passwd
 @return success
performs acct_mgr_rpc towards client attaches account manager to client requires polling of status @param url @param name @param passwd @return success