NetworkManager r2811 - in trunk: . src



Author: dcbw
Date: 2007-09-14 20:43:28 +0100 (Fri, 14 Sep 2007)
New Revision: 2811
ViewCVS link: http://svn.gnome.org/viewcvs/NetworkManager?rev=2811&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/nm-activation-request.c
   trunk/src/nm-activation-request.h
Log:
2007-09-14  Dan Williams  <dcbw redhat com>

	Implement deferred activation handling in the NMActRequest class.  When a
	client wants to activate a device but must create the NMConnection details
	on the fly, there likely hasn't been enough time yet for NM to receive the
	new connection signal and grab all the connection details.  So the
	activation is deferred (and bounded by a timer) for a while, and if the
	connection appears within the window, it is activated.

	* src/nm-activation-request.c
	  src/nm-activation-request.h
		- (nm_act_request_class_init): two new signals to support deferred
			activation, to allow the listener to handle both timeout and success
		- (nm_act_request_new_deferred): new function, starts the deferred
			activation timeout handler and listens to the NMManager for
			new-connection signals to notice when the connection comes in






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]