lib/src/main/java/edu/berkeley/boinc/rpc/RpcClient.java
public synchronized void close() {
		if (!isConnected()) {
			// Not connected - just return (can be cleanup "for sure")
			return;
		}
		try {
			mInput.close();
		}
		catch (IOException e) {
			if(Logging.WARNING) Log.w(Logging.TAG, "input close failure", e);
		}
		try {
			mOutput.close();
		}
		catch (IOException e) {
			if(Logging.WARNING) Log.w(Logging.TAG, "output close failure", e);
		}
		try {
			mSocket.close();
			if(Logging.DEBUG) Log.d(Logging.TAG, "close() - Socket closed");
		}
		catch (IOException e) {
			if(Logging.WARNING) Log.w(Logging.TAG, "socket close failure", e);
		}
		mSocket = null;
	}
/**
	 * Closes the currently opened connection to BOINC core client
	 */
Closes the currently opened connection to BOINC core client
Closes the currently opened connection to BOINC core client
public synchronized void close() {
		if (!isConnected()) {
			return;
		}
		try {
			mInput.close();
		}
		catch (IOException e) {
			if(Logging.WARNING) Log.w(Logging.TAG, "input close failure", e);
		}
		try {
			mOutput.close();
		}
		catch (IOException e) {
			if(Logging.WARNING) Log.w(Logging.TAG, "output close failure", e);
		}
		try {
			mSocket.close();
			if(Logging.DEBUG) Log.d(Logging.TAG, "close() - Socket closed");
		}
		catch (IOException e) {
			if(Logging.WARNING) Log.w(Logging.TAG, "socket close failure", e);
		}
		mSocket = null;
	}
public synchronized void close ( ) { if ( ! isConnected ( ) ) { return ; } try { mInput . close ( ) ; } catch ( IOException e ) { if ( Logging . WARNING ) Log . w ( Logging . TAG , "input close failure" , e ) ; } try { mOutput . close ( ) ; } catch ( IOException e ) { if ( Logging . WARNING ) Log . w ( Logging . TAG , "output close failure" , e ) ; } try { mSocket . close ( ) ; if ( Logging . DEBUG ) Log . d ( Logging . TAG , "close() - Socket closed" ) ; } catch ( IOException e ) { if ( Logging . WARNING ) Log . w ( Logging . TAG , "socket close failure" , e ) ; } mSocket = null ; }
Closes the currently opened connection to BOINC core client
Closes the currently opened connection to BOINC core client
// Not connected - just return (can be cleanup "for sure")