Home | History | Annotate | Download | only in p2p

Lines Matching defs:timeout

17 	print "  %s -i <interface_name> [-t <timeout>] \ " \
22 print " -t = timeout = 0s (infinite)"
41 global timeout
50 def __init__(self,interface_name,wpas_dbus_interface,timeout):
52 self.timeout = int(timeout)
104 self.p2p_interface.Listen(int(self.timeout))
107 # Required for timeout implementation
115 timeout = 0
138 # Timeout
141 timeout = value
143 print "Error:\n Timeout cannot be negative"
160 p2p_listen_test = P2P_Listen(interface_name, wpas_dbus_interface, timeout)
171 # If timeout is 0, then run forever
172 if (int(p2p_listen_test.timeout) == 0):
175 # Else sleep for (timeout)
177 time.sleep(int(p2p_listen_test.timeout))