pox/pox/misc/coding_switch.py
def launch():
	"""
	Starts the component. This is automatically invoked when the application starts.
	"""
	def start_switch(event):
		log.debug("Controlling %s" % (event.connection,))
		CodingController(event.connection)
	core.openflow.addListenerByName("ConnectionUp", start_switch)

	Starts the component. This is automatically invoked when the application starts.
	
Starts the component. This is automatically invoked when the application starts.
Starts the component . This is automatically invoked when the application starts .
def launch():
	def start_switch(event):
		log.debug("Controlling %s" % (event.connection,))
		CodingController(event.connection)
	core.openflow.addListenerByName("ConnectionUp", start_switch)
def launch ( ) : def start_switch ( event ) : log . debug ( "Controlling %s" % ( event . connection , ) ) CodingController ( event . connection ) core . openflow . addListenerByName ( "ConnectionUp" , start_switch )
Starts the component.
Starts the component .
"""
	Starts the component. This is automatically invoked when the application starts.
	"""