Code example for ServerSocket

Methods: close

0
 
			mThreadPool = null;
			mThread = null;
 
			try { 
				mServer.close();
				mServer = null;
				return true; 
			} catch (IOException e) {
				Log.w(LOG_TAG, "Could not close the view server");
			} 
		} 
 
		mWindowsLock.writeLock().lock();
		try { 
			mWindows.clear();
		} finally { 
			mWindowsLock.writeLock().unlock();
		} 
 
		mFocusLock.writeLock().lock();