Code example for LocalServerSocket

Methods: close

0
		 
		if (localSender != null)
			localSender.close();
		 
		if (localLoop != null)
			localLoop.close();
		 
		localSender = null;
		localLoop = null;
		 
	} 
	 
	public void setPreviewSurface(Surface s){
		previewSurface = s;
	} 
	 
	 
	public void setCamera(Camera id){
		camera = id;
	}